views:

30

answers:

1

`I have this requests that i have to send with windows xp

GET https://website.com/index.aspx?typeoflink=**[HERE-VARIABLE-FROM-FILE]**&min=1 HTTP/1.1
Accept: */*
Referer: https://website.com/index.aspx?chknumbertypeoflink&min=1
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Host: website.com
Connection: Keep-Alive
Cookie: cookieverrylongstringD%FG^&N*MJ( CVV%^B&N*&*(NHN*B*&BH*&H

and this curl code here

   set TYPEOFLINK=foo
    curl https://website.com/index.aspx?typeoflink=%TYPEOFLINK%&min=1 > savedfile

how can i get curl to send cookies and referer and all the others?

Thanks in advance Adam

A: 

I'm just learning about cURL and the tutorial has been a big help. I think it covers most of what you're looking for:

http://curl.haxx.se/docs/httpscripting.html

DevNull