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 😛
 

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 😱

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

Members online

No members online now.

Latest profile posts

Xie Electronic Punk 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 Sazar 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 Electronic Punk Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk Sazar Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,017
Messages
673,508
Members
5,636
Latest member
GLOCKTOR642
Back