http post

Y

yqyq22

Hy, i would like to create a little script to reproduce this one
below:
Do you have suggestion?

POST /folder/path/upload.exe?/dir HTTP/1.1
Host: 192.168.100.1:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
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
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://192.168.1.100:8080/dir1
Content-Type: multipart/form-data;
boundary=---------------------------7075104567331
Content-Length: 539
Connection: close

-----------------------------7075104567331
Content-Disposition: form-data; name="F1"; filename="file.txt"
Content-Type: application/octet-stream


-----------------------------7075104567331
Content-Disposition: form-data; name="p4"


-----------------------------7075104567331--


THANKS A LOT
 
Y

yqyq22

Just send it via a socket? Or use urllib, afair you can send custom
HTTP headers.- Hide quoted text -

- Show quoted text -

If i understood right i would use only socket.. is it possible?
thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top