Skip to content

Commit

Permalink
Merge pull request #397 from za/add-ed25519-pattern
Browse files Browse the repository at this point in the history
Added ed25519 private key pattern on regexs.json for secret finder functionality
  • Loading branch information
DaveYesland authored Jan 18, 2024
2 parents 1f3fc79 + 7c882d8 commit e342c64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pacu/core/secretfinder/regexs.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
"RSA private key": "-----BEGIN RSA PRIVATE KEY-----",
"SSH (DSA) private key": "-----BEGIN DSA PRIVATE KEY-----",
"SSH (EC) private key": "-----BEGIN EC PRIVATE KEY-----",
"SSH (ed25519) private key": "-----BEGIN OPENSSH PRIVATE KEY-----"
"PGP private key block": "-----BEGIN PGP PRIVATE KEY BLOCK-----",
"Twilio API Key": "SK[0-9a-fA-F]{32}",
"Twitter Access Token": "[t|T][w|W][i|I][t|T][t|T][e|E][r|R].*[1-9][0-9]+-[0-9a-zA-Z]{40}",
"Twitter OAuth": "[t|T][w|W][i|I][t|T][t|T][e|E][r|R].*['|\"][0-9a-zA-Z]{35,44}['|\"]"
}
}

0 comments on commit e342c64

Please sign in to comment.