1 liners

This 1 liner that asks the user to input a URL.

IFS= read -r -p "Enter The URL or File To Pull Down: " input; wget -m "https://www.${input}"

Run an nmap scan on any IP address!

IFS= read -r -p "Enter An IP Address: " input; nmap -v -Pn "${input}"

Pull down an entire website, but EXCLUDE specific filetypes like PDF,JS,JPG,PNG,JS or anything else!

IFS= read -r -p "Enter The URL To Download: " input; wget -m --reject=pdf,jpg,png,js,html "https://www.${input}"

Extract all URLs from a webpage!

IFS= read -r -p "Get all URL Links From a Webpage: " input; wget -qO- "${input}" | grep -Eoi '<a [^>]+>' | grep -Eo 'href="[^\"]+"' | grep -Eo '(http|https)://[^/"]+' | sort -u

Run SQLMAP on any target EASILY!!!

IFS= read -r -p "Run SQL Map On a Target: " input; sqlmap "${input}" --forms --batch --crawl=10 --level=5 --risk=3 --threads=5 --dump-all --all

GET ALL SUBDOMAINS!!!

read -r -p "Get All Subdomains: " input; curl "https://crt.sh/?q=${input}" | tr '<BR>' '\n' | grep -E ".gov|.mil|.com|.us|.net|.biz|.io|.org" | sed '/href/d;/crt.sh/d;/Type:/d;/[A-Z]=/d;/ /d' | LC_ALL=C sort | LC_ALL=C uniq

GET All Subdomains and Status Codes

IFS= read -r -p "Stats:" input; curl "https://crt.sh/?q=${input}" | tr '<BR>' '\n' | grep -E ".com" | sed '/href/d;/crt.sh/d;/Type:/d;/[A-Z]=/d;/ /d' | sort | uniq | xargs -n1 -P 50 curl -o /dev/null --silent --head --write-out '%{url_effective}; %{http_code}\n'

GET ALL DNS TXT RECORDS TO FIND SPF BUGS

IFS= read -r -p "Get All DNS TXT Records: " input; dig -t txt "${input}"

GET ALL NAME SERVERS

IFS= read -r -p "Get All Name Servers: " input; dig "${input}" NS +noall +answer