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

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
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.

Forum statistics

Threads
62,013
Messages
673,483
Members
5,607
Latest member
jonazop