-
Notifications
You must be signed in to change notification settings - Fork 39
/
gtfoblookup.1
229 lines (185 loc) · 6.91 KB
/
gtfoblookup.1
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
.TH GTFOBLOOKUP.PY "1" "2023\-02\-21" "GTFOBLookup" "Generated Python Manual"
.SH NAME
gtfoblookup.py
.SH SYNOPSIS
.B gtfoblookup.py
[-h] {update,purge,gtfobins,lolbas,wadcoms,hijacklibs} ...
.SH DESCRIPTION
Offline command line lookup utility for GTFOBins (https://gtfobins.github.io/), LOLBAS(https://lolbas\-project.github.io/), WADComs (https://wadcoms.github.io), HijackLibs (https://hijacklibs.net/)
.SH
POSITIONAL ARGUMENTS
.TP
\fBgtfoblookup.py\fR \fI\,update\/\fR
update local copies of repositories
.TP
\fBgtfoblookup.py\fR \fI\,purge\/\fR
remove local copies of repositories
.TP
\fBgtfoblookup.py\fR \fI\,gtfobins\/\fR
search the local copy of GTFOBins
.TP
\fBgtfoblookup.py\fR \fI\,lolbas\/\fR
search the local copy of LOLBAS
.TP
\fBgtfoblookup.py\fR \fI\,wadcoms\/\fR
search the local copy of WADComs
.TP
\fBgtfoblookup.py\fR \fI\,hijacklibs\/\fR
search the local copy of HijackLibs
.SH COMMAND \fI\,'gtfoblookup.py update'\/\fR
usage: gtfoblookup.py update [\-h] [\-r repo]
.SH OPTIONS \fI\,'gtfoblookup.py update'\/\fR
.TP
\fB\-r\fR \fI\,repo\/\fR, \fB\-\-repo\fR \fI\,repo\/\fR
Only update the specified repository
.SH COMMAND \fI\,'gtfoblookup.py purge'\/\fR
usage: gtfoblookup.py purge [\-h] [\-r repo]
.SH OPTIONS \fI\,'gtfoblookup.py purge'\/\fR
.TP
\fB\-r\fR \fI\,repo\/\fR, \fB\-\-repo\fR \fI\,repo\/\fR
Only delete the specified repository
.SH COMMAND \fI\,'gtfoblookup.py gtfobins'\/\fR
usage: gtfoblookup.py gtfobins [\-h] {list,search} ...
.SH
POSITIONAL ARGUMENTS \fI\,'gtfoblookup.py gtfobins'\/\fR
.TP
\fBgtfoblookup.py gtfobins\fR \fI\,list\/\fR
list all types/categories/executables/prerequisites/services/attack types/OSs featured in the local copy of GTFOBins
.TP
\fBgtfoblookup.py gtfobins\fR \fI\,search\/\fR
searchthe GTFOBins repository
.SH COMMAND \fI\,'gtfoblookup.py gtfobins list'\/\fR
usage: gtfoblookup.py gtfobins list [\-h] attribute
.TP
\fBattribute\fR
the attribute to list
.SH COMMAND \fI\,'gtfoblookup.py gtfobins search'\/\fR
usage: gtfoblookup.py gtfobins search [\-h] [\-c categories] [\-f] executable
.TP
\fBexecutable\fR
the executable to search for (use "all" to show results for all executables)
.SH OPTIONS \fI\,'gtfoblookup.py gtfobins search'\/\fR
.TP
\fB\-c\fR \fI\,categories\/\fR, \fB\-\-category\fR \fI\,categories\/\fR
category or categories (comma separated) to search in
.TP
\fB\-f\fR, \fB\-\-file\fR
use a file containing a list of executables (one per line) instead of a single
executable
.SH COMMAND \fI\,'gtfoblookup.py lolbas'\/\fR
usage: gtfoblookup.py lolbas [\-h] {list,search} ...
.SH
POSITIONAL ARGUMENTS \fI\,'gtfoblookup.py lolbas'\/\fR
.TP
\fBgtfoblookup.py lolbas\fR \fI\,list\/\fR
list all types/categories/executables/prerequisites/services/attack types/OSs featured in the local copy of LOLBAS
.TP
\fBgtfoblookup.py lolbas\fR \fI\,search\/\fR
searchthe LOLBAS repository
.SH COMMAND \fI\,'gtfoblookup.py lolbas list'\/\fR
usage: gtfoblookup.py lolbas list [\-h] attribute
.TP
\fBattribute\fR
the attribute to list
.SH COMMAND \fI\,'gtfoblookup.py lolbas search'\/\fR
usage: gtfoblookup.py lolbas search [\-h] [\-c categories] [\-t types] [\-f]
executable
.TP
\fBexecutable\fR
the executable to search for (use "all" to show results for all executables)
.SH OPTIONS \fI\,'gtfoblookup.py lolbas search'\/\fR
.TP
\fB\-c\fR \fI\,categories\/\fR, \fB\-\-category\fR \fI\,categories\/\fR
category or categories (comma separated) to search in
.TP
\fB\-t\fR \fI\,types\/\fR, \fB\-\-type\fR \fI\,types\/\fR
type or types (comma separated)of executable to search for
.TP
\fB\-f\fR, \fB\-\-file\fR
use a file containing a list of executables (one per line) instead of a single
executable
.SH COMMAND \fI\,'gtfoblookup.py wadcoms'\/\fR
usage: gtfoblookup.py wadcoms [\-h] {list,search} ...
.SH
POSITIONAL ARGUMENTS \fI\,'gtfoblookup.py wadcoms'\/\fR
.TP
\fBgtfoblookup.py wadcoms\fR \fI\,list\/\fR
list all types/categories/executables/prerequisites/services/attack types/OSs featured in the local copy of WADComs
.TP
\fBgtfoblookup.py wadcoms\fR \fI\,search\/\fR
searchthe WADComs repository
.SH COMMAND \fI\,'gtfoblookup.py wadcoms list'\/\fR
usage: gtfoblookup.py wadcoms list [\-h] attribute
.TP
\fBattribute\fR
the attribute to list
.SH COMMAND \fI\,'gtfoblookup.py wadcoms search'\/\fR
usage: gtfoblookup.py wadcoms search [\-h] [\-p prerequisites] [\-s services]
[\-a attack_types] [\-o OSs] [\-f]
executable
.TP
\fBexecutable\fR
the executable to search for (use "all" to show results for all executables)
.SH OPTIONS \fI\,'gtfoblookup.py wadcoms search'\/\fR
.TP
\fB\-p\fR \fI\,prerequisites\/\fR, \fB\-\-prereq\fR \fI\,prerequisites\/\fR
search for executables with a specific prerequisite or prerequisites (comma
separated)
.TP
\fB\-s\fR \fI\,services\/\fR, \fB\-\-service\fR \fI\,services\/\fR
search for executables that interract with aspecific service or services(comma
separated)
.TP
\fB\-a\fR \fI\,attack_types\/\fR, \fB\-\-attacktype\fR \fI\,attack_types\/\fR
search for executables that can be used for aspecific type or types (comma
separated) of attacks
.TP
\fB\-o\fR \fI\,OSs\/\fR, \fB\-\-os\fR \fI\,OSs\/\fR
search for executables that can be run on a specific operating system
oroperating systems (comma separated)
.TP
\fB\-f\fR, \fB\-\-file\fR
use a file containing a list of executables (one per line) instead of a single
executable
.SH COMMAND \fI\,'gtfoblookup.py hijacklibs'\/\fR
usage: gtfoblookup.py hijacklibs [\-h] {list,search} ...
.SH
POSITIONAL ARGUMENTS \fI\,'gtfoblookup.py hijacklibs'\/\fR
.TP
\fBgtfoblookup.py hijacklibs\fR \fI\,list\/\fR
list all types/categories/executables/prerequisites/services/attack types/OSs featured in the local copy of HijackLibs
.TP
\fBgtfoblookup.py hijacklibs\fR \fI\,search\/\fR
searchthe HijackLibs repository
.SH COMMAND \fI\,'gtfoblookup.py hijacklibs list'\/\fR
usage: gtfoblookup.py hijacklibs list [\-h] attribute
.TP
\fBattribute\fR
the attribute to list
.SH COMMAND \fI\,'gtfoblookup.py hijacklibs search'\/\fR
usage: gtfoblookup.py hijacklibs search [\-h] [\-a attack_types] [\-v vendors]
[\-f]
executable
.TP
\fBexecutable\fR
the executable to search for (use "all" to show results for all executables)
.SH OPTIONS \fI\,'gtfoblookup.py hijacklibs search'\/\fR
.TP
\fB\-a\fR \fI\,attack_types\/\fR, \fB\-\-attacktype\fR \fI\,attack_types\/\fR
search for executables that can be used for aspecific type or types (comma
separated) of attacks
.TP
\fB\-v\fR \fI\,vendors\/\fR, \fB\-\-vendor\fR \fI\,vendors\/\fR
search for executables from a specific vendor or vendors (comma separated)
.TP
\fB\-f\fR, \fB\-\-file\fR
use a file containing a list of executables (one per line) instead of a single
executable
.SH AUTHORS
.nf
James Conlan - James.Conlan@nccgroup.com
.fi
.SH DISTRIBUTION
The latest version of GTFOBLookup may be downloaded from
.UR https://github.com/nccgroup/GTFOBLookup
.UE