Skip to content

Finds useful information in English/US strings using regex with a focus on PII.

License

Notifications You must be signed in to change notification settings

mns-llc/bitsnarf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitsnarf

Build Status

A fork of CommonRegex by Madison May which finds useful information in English/US strings using regular expressions. bitsnarf has an expanded set of regexes to work with, a more structured naming convention, and extremely limited support for common international formats.

Notably, this repository adds a number of low-confidence regular expressions to try to sniff out Personally Identifiable Information (PII) that would be wasteful in CommonRegex (ex. very approximate name detection).

Installation

Install via setup.py

python setup.py install

Supported Methods/Attributes

  • obj.dates, obj.dates()
  • obj.times, obj.times()
  • obj.phones, obj.phones()
  • obj.phones_with_exts, obj.phones_with_exts()
  • obj.links, obj.links()
  • obj.emails, obj.emails()
  • obj.ips, obj.ips()
  • obj.ipv6s, obj.ipv6s()
  • obj.prices, obj.prices()
  • obj.hex_colors, obj.hex_colors()
  • obj.credit_cards, obj.credit_cards()
  • obj.btc_addresses, obj.btc_addresses()
  • obj.street_addresses, obj.street_addresses()
  • obj.zip_codes, obj.zip_codes()
  • obj.po_boxes, obj.po_boxes()
  • obj.ssn_number, obj.ssn_number()

About

Finds useful information in English/US strings using regex with a focus on PII.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages