Discussion:
Where is Firefox getting the revision from?
ToddAndMargo
2018-09-15 05:08:58 UTC
Permalink
Hi All,

When downloading ADWCleaner from

https://www.malwarebytes.com/adwcleaner/

Somehow Firefox (cliget) know what the revision is:

curl --header 'Host: download.toolslib.net' --user-agent 'Mozilla/5.0
(X11; Fedora; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0'
--header 'Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
--header 'Accept-Language: en-US,en;q=0.5' --referer
'https://www.malwarebytes.com/adwcleaner/' --header
'Upgrade-Insecure-Requests: 1'
'https://download.toolslib.net/download/direct/1/latest?channel=release'
--output 'adwcleaner_7.2.3.1.exe'


How did Firefox know the revision? And how can i get the
revision with Curl?

Many thanks,
-T



-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.ha
ToddAndMargo
2018-09-15 08:49:09 UTC
Permalink
Post by ToddAndMargo
Hi All,
When downloading ADWCleaner from
https://www.malwarebytes.com/adwcleaner/
curl --header 'Host: download.toolslib.net' --user-agent 'Mozilla/5.0
(X11; Fedora; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0'
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
--header 'Accept-Language: en-US,en;q=0.5' --referer
'https://www.malwarebytes.com/adwcleaner/' --header
'Upgrade-Insecure-Requests: 1'
'https://download.toolslib.net/download/direct/1/latest?channel=release'
--output 'adwcleaner_7.2.3.1.exe'
How did Firefox know the revision?  And how can i get the
revision with Curl?
Many thanks,
-T
Figured it out. I wasn't looking in the right place





-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.h

Loading...