-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgrep_keywords.txt
230 lines (210 loc) · 2.82 KB
/
grep_keywords.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# File Extensions
\.zip$
\.exe$
\.pdf$
\.gz$
\.tar\.gz$
\.tar$
\.mp3$
\.wav$
\.doc$
\.jpg$
\.png$
\.txt$
\.aif$
\.aiff$
\.asd$
\.flac$
\.m4a$
\.m4p$
\.m4r$
\.wma$
\.DS_Store$
\.env$
\.config$
\.conf$
\.bak$
\.backup$
\.sql$
\.db$
\.sqlite$
\.pem$
\.key$
\.crt$
\.cer$
\.p12$
\.pfx$
\.log$
\.old$
\.swp$
\.yaml$
\.yml$
# Parameters and Endpoints
[?&]id=
[?&]username=
[?&]password=
[?&]uri=
[?&]url=
[?&]redirect=
[?&]file=
[?&]path=
[?&]source=
[?&]next=
[?&]target=
[?&]rurl=
[?&]dest=
[?&]destination=
[?&]redir=
[?&]redirect_uri=
[?&]redirect_url=
[?&]view=
[?&]go=
[?&]return=
[?&]returnTo=
[?&]return_to=
[?&]checkout_url=
[?&]continue=
[?&]return_path=
# Sensitive Paths
/cgi-bin/redirect\.cgi
/out/
/login
/view
/redirect/
# Git and SVN
/\.git
/\.git-rewrite
/\.git/HEAD
/\.git/index
/\.git/logs
/\.gitattributes
/\.gitconfig
/\.gitkeep
/\.gitmodules
/\.gitreview
/\.svn/entries
/\.svnignore
# UTM Parameters
utm_source
utm_medium
utm_campaign
# Common Parameters
page_id
action
share
page
view
# Security Related
accesskey
admin
aes
api_key
apikey
checkClientTrusted
crypt
password
pinning
secret
SHA256
SharedPreferences
superuser
token
X509TrustManager
# Database Related
myspl
sql
insert\s+into
# File Extensions (Additional Sensitive Files)
\.env$
\.config$
\.conf$
\.bak$
\.backup$
\.sql$
\.db$
\.sqlite$
\.pem$
\.key$
\.crt$
\.cer$
\.p12$
\.pfx$
\.log$
\.old$
\.swp$
\.yaml$
\.yml$
# API and Authentication
(?i)(api[_-]?key|access[_-]?token|secret[_-]?key)=[^&]*
(?i)bearer\s+[a-zA-Z0-9\-\._~\+\/]+=*
(?i)basic\s+[a-zA-Z0-9\-\._~\+\/]+=*
(?i)auth[a-zA-Z0-9]*=
(?i)jwt=
# Sensitive Information
(?i)[0-9]{16}(?:[0-9]{3})? # Credit Card Numbers
(?i)[0-9]{3}-[0-9]{2}-[0-9]{4} # SSN
(?i)[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,} # Email addresses
# Development and Debug
(?i)debug=
(?i)test=
(?i)dev[_-]
(?i)staging[_-]
(?i)phpinfo
(?i)admin[_-]
(?i)console
(?i)swagger
(?i)graphql
# Database Queries
(?i)(select|insert|update|delete|union|where)\s+.*\s+from
(?i)database=
(?i)dbname=
(?i)mysql://
(?i)postgresql://
(?i)mongodb://
# Cloud Storage
(?i)s3\.amazonaws\.com
(?i)storage\.googleapis\.com
(?i)blob\.core\.windows\.net
(?i)firebasestorage\.googleapis\.com
# Authentication Endpoints
/oauth/
/auth/
/login/
/signin/
/signup/
/register/
/reset/
/forgot/
/password/
/session/
# User Related
(?i)user[_-]?id=
(?i)account[_-]?id=
(?i)profile[_-]?id=
(?i)member[_-]?id=
(?i)customer[_-]?id=
(?i)admin[_-]?id=
# Server Information
(?i)server[_-]
(?i)host[_-]
(?i)domain[_-]
(?i)port=
(?i)protocol=
# Common Vulnerabilities
(?i)(\.\.\/|\.\.\\) # Directory Traversal
(?i)<script> # XSS
(?i)(UNION|SELECT|INSERT|DROP|UPDATE|DELETE).*SQL # SQL Injection
(?i)eval\(.*\) # Code Injection
# Configuration Files
/config/
/settings/
/setup/
/install/
/backup/
/wp-config
/wp-admin
/.env
/composer.json
/package.json
# URLs
(http|https)://[a-zA-Z0-9./?=_-]*