mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 05:24:22 +01:00
extend FB access token discovery (#1407)
* extend FB access token discovery * validate config * set upper 40 * set upper 40
This commit is contained in:
1 parent
79cac73f72
commit
39947b0b0d
2 files changed
+2
-2
No files matched your search
@@ -396,7 +396,7 @@ keywords = [
|
||||
[[rules]]
|
||||
id = "facebook-access-token"
|
||||
description = "Discovered a Facebook Access Token, posing a risk of unauthorized access to Facebook accounts and personal data exposure."
|
||||
regex = '''(?i)\b(\d{15,16}\|[0-9a-z\-_]{27})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
||||
regex = '''(?i)\b(\d{15,16}(\||%)[0-9a-z\-_]{27,40})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
||||
|
||||
[[rules]]
|
||||
id = "facebook-page-access-token"
|
||||
|
||||
Reference in new issue
Block a user