curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: Where is Firefox getting the revision from?

From: ToddAndMargo <ToddAndMargo_at_zoho.com>
Date: Sat, 15 Sep 2018 01:49:09 -0700

On 09/14/2018 10:08 PM, ToddAndMargo wrote:
> 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

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.html
Received on 2018-09-15