Best Way To Scan a Site for E-Mail

kcnychief

??? ??? ?
Political Access
Joined
8 Apr 2005
Messages
16,950
One of the sites I did recently, apparently still has my e-mail address embedded somewhere which after a little digging I can't find. Are there any programs that can scan entire sites, looking for forms or other links that may lead to e-mail addresses? I want to fix and point to the right direction, but I can't find 😛
 
As NetRyder mentioned something like this would work on a *nix machine

Code:
webhost$ cd /path/to/the/website
webhost$ grep -rin -E "[a-zA-Z0-9._%-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,4}" *

That will do a recursive (goes down the dir tree) and case insensitive search though the regexp is already case insensitive and will also tell you what line of the file the regex matches. The * at the end tells it to search all files and folders in the current directory.
 
Last edited:
Nah, I have a Microsoft Server 🙂

The site is relatively small, I guess I could do a CTRL + F through the code was just trying to be lazy 😱

Thanks though guys, I'll post back this weekend when I give it a shot.
 

Members online

No members online now.

Forum statistics

Threads
62,021
Messages
673,242
Members
5,640
Latest member
Kgkass
Back
Top