Technotes

Technotes for future me

wget

Download

wget -O ./testssl.sh.zip https://github.com/drwetter/testssl.sh/archive/3.0.zip
wget --content-disposition https://github.com/mirror/wget/archive/v1.20.tar.gz

curl -LO https://github.com/mirror/wget/archive/v1.20.tar.gz

Download or scrape all files from a website

wget --user username --password password -m https://blaataap.com/
wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows --domains website.org --no-parent http://website.org

Download a file with wget and pass the username and password

wget --user=username --password=password http://example.com/file.zip

Use a ip addres and a hostname to download a file

wget --user username --password password --no-check-certificate --header="Host: blaataap.com" -m https://127.0.0.1/
Last updated on 21 Mar 2025
Published on 31 Jan 2020
Edit on GitHub