Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Can server tell I'm using curl?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Gilles via curl-users <curl-users_at_cool.haxx.se>
Date: Tue, 6 Apr 2021 13:37:42 +0200
Hello,
(The site <https://curl.se/mail/list.cgi?list=curl-users> is missing a
search feature, so I can't tell if the question has — most likely — been
asked before.)
I'm using the following to try and download a picture from a site that
first requires logging on:
curl.exe -L -b cookies.firefox.txt -A "Mozilla/5.0 (X11; Linux x86_64;
rv:60.0) Gecko/20100101 Firefox/81.0" -o mypict.jpg
"https://www.acme.com/attachment.php?attachmentid=123&d=456"
As you can see, I first used Firefox to log on, and used an extension to
export the cookies.
Is the command wrong, or is the server somehow able to tell I'm using
curl to forbid its use? I'm having the same problem with wget (but it
might not understand the cookies file.)
Thank you.
PS: FWIW, here's what the cookies file looks like:
# Netscape HTTP Cookie File
.acme.com TRUE / TRUE 0 __cfduid
d79da270734bb7edbffe3aa0aa1617703540
www.acme.com FALSE / FALSE 0 BIGipServeracme-web_POOL
13264714.0.0000
www.acme.com FALSE / FALSE 0 IDstack %2C25801%2C
www.acme.com FALSE / TRUE 0 bblastvisit 16106268
www.acme.com FALSE / TRUE 0 bblastactivity 0
www.acme.com FALSE / FALSE 0 bbsessionhash
777e8c348e6085766c0333b83648
www.acme.com FALSE / FALSE 0 vbseo_loggedin yes
www.acme.com FALSE / TRUE 0 bbgsess
%2B21telUApnVbrpW4KHZMhQ4lWLDa4k4eg8YeQ0mA%3D%3D
www.acme.com FALSE / FALSE 0 _ibs
0:kn5ux65i:68e6708a-b31-4f9b-9151-0310a248ab
www.acme.com FALSE / FALSE 0 _ibp
0:kn5ux65h:31a75cbb-da2-4922-b34a-1b500a86aa
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-04-06
Date: Tue, 6 Apr 2021 13:37:42 +0200
Hello,
(The site <https://curl.se/mail/list.cgi?list=curl-users> is missing a
search feature, so I can't tell if the question has — most likely — been
asked before.)
I'm using the following to try and download a picture from a site that
first requires logging on:
curl.exe -L -b cookies.firefox.txt -A "Mozilla/5.0 (X11; Linux x86_64;
rv:60.0) Gecko/20100101 Firefox/81.0" -o mypict.jpg
"https://www.acme.com/attachment.php?attachmentid=123&d=456"
As you can see, I first used Firefox to log on, and used an extension to
export the cookies.
Is the command wrong, or is the server somehow able to tell I'm using
curl to forbid its use? I'm having the same problem with wget (but it
might not understand the cookies file.)
Thank you.
PS: FWIW, here's what the cookies file looks like:
# Netscape HTTP Cookie File
.acme.com TRUE / TRUE 0 __cfduid
d79da270734bb7edbffe3aa0aa1617703540
www.acme.com FALSE / FALSE 0 BIGipServeracme-web_POOL
13264714.0.0000
www.acme.com FALSE / FALSE 0 IDstack %2C25801%2C
www.acme.com FALSE / TRUE 0 bblastvisit 16106268
www.acme.com FALSE / TRUE 0 bblastactivity 0
www.acme.com FALSE / FALSE 0 bbsessionhash
777e8c348e6085766c0333b83648
www.acme.com FALSE / FALSE 0 vbseo_loggedin yes
www.acme.com FALSE / TRUE 0 bbgsess
%2B21telUApnVbrpW4KHZMhQ4lWLDa4k4eg8YeQ0mA%3D%3D
www.acme.com FALSE / FALSE 0 _ibs
0:kn5ux65i:68e6708a-b31-4f9b-9151-0310a248ab
www.acme.com FALSE / FALSE 0 _ibp
0:kn5ux65h:31a75cbb-da2-4922-b34a-1b500a86aa
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-04-06