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 :p
 

Geffy

OSNN Veteran Addict
Joined
18 Mar 2002
Messages
7,805
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:

kcnychief

??? ??? ?
Political Access
Joined
8 Apr 2005
Messages
16,950
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 :eek:

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

Members online

No members online now.

Latest profile posts

hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
62,000
Messages
673,425
Members
5,593
Latest member
moussa021