wget
wget is a utility for download of files from the Web. It supports HTTP, HTTPS, and FTP protocols.
┌──(kaliă‰¿kali-1)-[~]
└─$ cd Downloads
┌──(kaliă‰¿kali-1)-[~/Downloads]
└─$ ls
┌──(kaliă‰¿kali-1)-[~/Downloads]
└─$ wget https://www.iana.org/domains/idn-tables/tables/americanfamily_cans_2.5.txt
--2022-04-08 23:22:28-- https://www.iana.org/domains/idn-tables/tables/americanfamily_cans_2.5.txt
Resolving www.iana.org (www.iana.org)... 192.0.46.8, 2620:0:2830:200::b:8
Connecting to www.iana.org (www.iana.org)|192.0.46.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 41395 (40K) [text/plain]
Saving to: ‘americanfamily_cans_2.5.txt’
americanfamily_cans_2.5.txt 100%[==========================================================================================================>] 40.42K --.-KB/s in 0.03s
2022-04-08 23:22:28 (1.49 MB/s) - ‘americanfamily_cans_2.5.txt’ saved [41395/41395]
┌──(kaliă‰¿kali-1)-[~/Downloads]
└─$ ls
americanfamily_cans_2.5.txt
┌──(kaliă‰¿kali-1)-[~/Downloads]
└─$ head -n 5 americanfamily_cans_2.5.txt
# Info ##########################################################
#
# Registry: Verisign Inc.
# Contact: Registry Customer Service
# Email: info@verisign-grs.com
curl
curl is a tool for transferring data from or to a server. It supports these protocols. Switch -o along with a string saves the file under the name of that string.
┌──(kaliă‰¿kali-1)-[~/Downloads]
└─$ curl -o aarp_ku_2.5.txt https://www.iana.org/domains/idn-tables/tables/aarp_ku_2.5.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2219 100 2219 0 0 8594 0 --:--:-- --:--:-- --:--:-- 8634
┌──(kaliă‰¿kali-1)-[~/Downloads]
└─$ ls
aarp_ku_2.5.txt americanfamily_cans_2.5.txt
┌──(kaliă‰¿kali-1)-[~/Downloads]
└─$ head -n5 aarp_ku_2.5.txt
# Info ##########################################################
#
# Registry: Verisign Inc.
# Contact: Registry Customer Service
# Email: info@verisign-grs.com
As an exercise download an exploit from https://www.exploit-db.com