PaulDotCom mailing list archives
Re: RegEx and Grep for PII and Pentest Useful Info?
From: Jon Schipp <jonschipp () gmail com>
Date: Thu, 5 Jul 2012 13:40:12 -0400
Does it use GNU regex or PCRE or something else? On Wed, Jun 27, 2012 at 6:10 AM, Adrian Crenshaw <irongeek () irongeek com>wrote:
Yes, but for some reason many of the examples seemed to fail to work for me when I tested in grepwin using a test file. Adrian On Tuesday, June 26, 2012, Michael Allen wrote:Have you looked at http://regexlib.com ? Regards, Michael On Tue, Jun 26, 2012 at 8:15 AM, 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? 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-- Michael Allen Information Systems Security Officer GIAC Certified(GPEN, GWAPT) CEH - OSCP-- "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:
- Re: RegEx and Grep for PII and Pentest Useful Info? Jon Schipp (Jul 05)
- Re: RegEx and Grep for PII and Pentest Useful Info? Adrian Crenshaw (Jul 06)