Skip to content

New RegexΒ #3

@mattulm

Description

@mattulm

Hi, I am very new to development, and no clue how I should probably really do this, but here are some regex that I added to this.
Hope this helps!!!

'slack_webhook' : r'https://hooks\.slack\.com/services/T[a-zA-Z0-9_]{8}/B[a-zA-Z0-9_]{8}/[a-zA-Z0-9_]{24}',
'mysql_uri'     : r'mysql:\/\/[a-zA-Z0-9]+:[\w\.\-]+@[\w\.\-]+:\d+\/[a-zA-Z0-9]+',
'github_pat'    : r'ghp_[a-zA-Z0-9]{36}',
'MySQL URI'     : r'mysql:\/\/[a-zA-Z0-9]+:[\w\.\-]+@[\w\.\-]+:\d+\/[a-zA-Z0-9]+',
'Generic Secret Key (Base64)'    : r'`(?i)secret[_-]?(key',
'API Key Generic'  : r'`(?i)(api',
'MD5 Hash (Potential Key)'   : r'[a-f0-9]{32}',
'NPM Access Token'  : r'npm_[a-zA-Z0-9]{36}',
'GitHub Personal Access Token (PAT)'  : r'ghp_[a-zA-Z0-9]{36}',
'Git Credential'  : r'https?:\/\/[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+@github\.com',
'JIRA Personal Access Token (PAT) Regex'  : r'ATATTAC[a-zA-Z0-9]{24,48}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions