Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some more regex #77

Open
GDATTACKER-RESEARCHER opened this issue Mar 10, 2024 · 1 comment
Open

some more regex #77

GDATTACKER-RESEARCHER opened this issue Mar 10, 2024 · 1 comment

Comments

@GDATTACKER-RESEARCHER
Copy link

add some more regex

"Encapsulation boundary for data such as keys and certificates","-----BEGIN"
"Generic API Key","(?i)api.{0,5}key[^&|;?,]{0,32}?['""][a-zA-Z0-9_-+=/\]{10,}['""]"
"Generic Secret","(?i)secret[^&|;?,]{0,32}?['""][a-zA-Z0-9_-+=/\]{10,}['""]"
"IP Address","(?<![.\da-zA-Z%-])(?<!/\s{0,8})((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(?![.\da-zA-Z-])"
"Environment configuration file",".env"
"Facebook Secret","(?i)(?<!https://)(?<!fa-)(facebook)([^;,]{0,32}?)['""][\w\d]{10,}?['""]"
"Facebook Page Access Token","EAACEdE\w+"
"Google OAuth Access Token","ya29.[0-9A-Za-z-]+"
"Google OAuth Client ID","\d+-\w{32}.apps.googleusercontent.com"
"Google OAuth Client Secret","GOCSPX-\w{28}"
"LinkedIn Secret Key","(?i)linkedin([^;]{0,32}?)['""][0-9a-zA-Z]{16}['""]"
"LinkedIn Client ID (API Key)","(?i)linkedin([^;]{0,32}?)(?-i)['""][0-9a-z]{14}['""]"
"MailChimp API Key","[0-9a-f]{32}-us[0-9]{1,2}(?!\d)"
"MailGun API Key","key-[0-9a-zA-Z]{32}(?!\w)"
"NuGet API Key","oy2[a-z0-9]{43}(?![a-z0-9])"
"Braintree SDK Token","(production|sandbox)
[a-z0-9]{8}[a-z0-9]{16}"
"SendGrid API Key","SG.[0-9A-Za-z-
]{22}.[0-9A-Za-z-]{43}"
"Slack Token","(xox[pboar]|xapp)(-[a-zA-Z0-9]+)+"
"Square Token","sq0[a-z]{3}-[0-9A-Za-z-
]{20,50}"
"StackHawk API Key","hawk(.[\w-]{20})+"
"Stripe Secret API Key","[sr]k_(live|test)[0-9a-zA-Z]+"
"Twilio API Key","(?<![a-zA-Z0-9])SK[0-9a-f]{32}(?![a-f0-9])"
"Twitter Access Token","(?i)twitter([^;,]{0,32}?)['""]\d+-[0-9a-zA-Z]{40}['""]"
"Twitter Secret Key","(?i)twitter([^;,]{0,32}?)['""][0-9a-zA-Z]{35,44}['""]"
"Github token","gh[pousr]
[A-Za-z0-9_]{35,255}"
"Slack Webhook","hooks.slack.com/services/T[a-zA-Z0-9_]{8}/B[a-zA-Z0-9_]{8}/[a-zA-Z0-9_]{24}"
"Outlook Teams 1","outlook.office.com/webhook/[\w-]+"
"Outlook Teams 2","\w+.webhook.office.com"
"Firebase URL","[0-9a-zA-Z.-]+.firebaseio.com"

@GDATTACKER-RESEARCHER
Copy link
Author

also "AWS Access Key ID","(?i)(?<![a-zA-Z0-9])(A3T[A-Z0-9]|AKIA|AGPA|AROA|AIPA|ANPA|ANVA|ASIA)[a-zA-Z0-9]{16}(?![a-zA-Z0-9])"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant