Here’s a little trick that allows you to retrieve all email addresses from a webpage in a single command line in Linux.
You should change the website address before running the command:
wget -q -O – http://website.tld | grep -oe ‘\w*.\w*@\w*.\w*.\w\+’ | sort -u
Example of use with this page:
wget -q -O – http://website.tld/page2 | grep -oe ‘\w*.\w*@\w*.\w*.\w\+’ | sort -u
Now we understand why spammers have no trouble finding the email addresses of potential victims.