Skip to content

Commit 675e24c

Browse files
authored
Update URI snap and pattern
1 parent 83bf8b2 commit 675e24c

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

uri/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@ Find passwords in URI/URL strings.
5353
```
5454
\z|[@]|[^a-zA-Z0-9!.,$%&*+?^_`{|}\(\)~-]
5555
```
56+
57+
#### Additional Match
58+
59+
```
60+
[^0-9]
61+
```
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
secret_type,secret_type_display_name,secret,path,start_line,end_line,start_column,end_column
2-
"hardcoded_uri_passwords","Hardcoded URI Passwords","a176eeb31e601c3877c87c2843a2f584968975269e369d5c86788b4c2f92d2a2","jwt/owasp-juice-shop.ts","13","13","35","39",
32
"hardcoded_uri_passwords","Hardcoded URI Passwords","90c845ce035506552f1cebd41b7ee96de25ff9824fc8dc3c96c015c020df0b0a","uri/database.txt","10","10","12","26",
43
"hardcoded_uri_passwords","Hardcoded URI Passwords","c8f3d9dd0940a3b8e20b17543ac3c4367deb45552f3facabf185b1b522da78ff","uri/database.txt","8","8","12","24",
54
"hardcoded_uri_passwords","Hardcoded URI Passwords","5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8","uri/database.txt","5","5","29","37",
65
"hardcoded_uri_passwords","Hardcoded URI Passwords","c01256aed0068fea1fc790b889e2bbe13a345b84bb0232c34a7f3ae43c5eb812","uri/app.py","5","5","57","76",
76
"hardcoded_uri_passwords","Hardcoded URI Passwords","2bb80d537b1da3e38bd30361aa855686bde0eacd7162fef6a25fe97bf527a25b","uri/database.txt","2","2","15","21",
8-
"hardcoded_uri_passwords","Hardcoded URI Passwords","757db91a80964d58a2b0d26bffd641bcbe142aae4f7f4771233619fa53fc179c","configs/application.properties","5","5","48","52",
9-
"hardcoded_uri_passwords","Hardcoded URI Passwords","785f3ec7eb32f30b90cd0fcf3657d388b5ff4297f2f9716ff66e9b69c05ddd09","uri/database.txt","12","12","24","26",
107
"hardcoded_uri_passwords","Hardcoded URI Passwords","108ad49061e22f71cf5e2fcd774fbd8c5bf7ad3aa87f05418485c9178e27caba","uri/README.md","16","16","32","36",

uri/patterns.yml

+2
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ patterns:
2323
(A-Za-z0-9)?://[^/?#:]*:
2424
end: |
2525
\z|[@]|[^a-zA-Z0-9!.,$%&*+?^_`{|}\(\)~-]
26+
additional_match:
27+
- "[^0-9]"

0 commit comments

Comments
 (0)