PaulDotCom mailing list archives

Re: RegEx and Grep for PII and Pentest Useful Info?


From: Robin Wood <robin () digininja org>
Date: Tue, 26 Jun 2012 14:44:45 +0100

On 26 June 2012 14:15, Adrian Crenshaw <irongeek () irongeek com> wrote:
Hi all,
    I'm looking for good regular expressions to find PII and useful info for
a pentest. I've been using things like:

password|^(\d{3}-\d{2}-\d{4})|(\d{3}\d{2}\d{4})$

to search for passwords in notes and source code, as well as SSN#s. I'd like
to throw credit cards in there, but none of the regex I've seen for that
seem to work in grepwin. I want to "or" them all together to do it in one
sweep. Any other good strings to add?

Have you tried looking to see what opendlp uses for pattern matching?

Robin

Thanks,
Adrian

--
"The ability to quote is a serviceable substitute for wit." ~ W. Somerset
Maugham
"The ability to Google can be a serviceable substitute for technical
knowledge." ~ Adrian D. Crenshaw
Academic Freedom, Ignored Grievances, FERPA and Open Records Requests, Oh
My:
http://www.irongeek.com/i.php?page=reviews/ius-mba-program




--
"The ability to quote is a serviceable substitute for wit." ~ W. Somerset
Maugham
"The ability to Google can be a serviceable substitute for technical
knowledge." ~ Adrian D. Crenshaw


_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com
_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com


Current thread: