pwn 0.4.703 → 0.4.704
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.each do |child_pid| +258 -0
- data/Gemfile +1 -2
- data/README.md +2 -2
- data/bin/pwn +24 -11
- data/lib/pwn/plugins/ps.rb +70 -0
- data/lib/pwn/plugins.rb +1 -0
- data/lib/pwn/version.rb +1 -1
- data/spec/lib/pwn/plugins/ps_spec.rb +15 -0
- metadata +7 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d620db070015a7a752384a7ab89962a4123d5af5a8fe934b42fdd48fced848e
|
4
|
+
data.tar.gz: 4fb7055ad49d1c63ae772f29fc580b43f7f306e0756266cb116b387dd14205bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b439cd9b4dd11a9113f68b40413887e026bbe9c3e3b3104f8261158d62a4acb92b797c894d6c1fd5972e9c49ac5c23b8cdbcb010007a635c73aed276f7897f40
|
7
|
+
data.tar.gz: 11c1ce9cfb9024f51c7e5c23a7a6783c27d306a356d49e00a045989107fd9818da1687f3c607bb6d3092ba13ea719ea644c89d85b69f56e4bf16fd683b92b2df
|
@@ -0,0 +1,258 @@
|
|
1
|
+
|
2
|
+
SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS
|
3
|
+
|
4
|
+
Commands marked with * may be preceded by a number, _N.
|
5
|
+
Notes in parentheses indicate the behavior if _N is given.
|
6
|
+
A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.
|
7
|
+
|
8
|
+
h H Display this help.
|
9
|
+
q :q Q :Q ZZ Exit.
|
10
|
+
---------------------------------------------------------------------------
|
11
|
+
|
12
|
+
MMOOVVIINNGG
|
13
|
+
|
14
|
+
e ^E j ^N CR * Forward one line (or _N lines).
|
15
|
+
y ^Y k ^K ^P * Backward one line (or _N lines).
|
16
|
+
f ^F ^V SPACE * Forward one window (or _N lines).
|
17
|
+
b ^B ESC-v * Backward one window (or _N lines).
|
18
|
+
z * Forward one window (and set window to _N).
|
19
|
+
w * Backward one window (and set window to _N).
|
20
|
+
ESC-SPACE * Forward one window, but don't stop at end-of-file.
|
21
|
+
d ^D * Forward one half-window (and set half-window to _N).
|
22
|
+
u ^U * Backward one half-window (and set half-window to _N).
|
23
|
+
ESC-) RightArrow * Right one half screen width (or _N positions).
|
24
|
+
ESC-( LeftArrow * Left one half screen width (or _N positions).
|
25
|
+
ESC-} ^RightArrow Right to last column displayed.
|
26
|
+
ESC-{ ^LeftArrow Left to first column.
|
27
|
+
F Forward forever; like "tail -f".
|
28
|
+
ESC-F Like F but stop when search pattern is found.
|
29
|
+
r ^R ^L Repaint screen.
|
30
|
+
R Repaint screen, discarding buffered input.
|
31
|
+
---------------------------------------------------
|
32
|
+
Default "window" is the screen height.
|
33
|
+
Default "half-window" is half of the screen height.
|
34
|
+
---------------------------------------------------------------------------
|
35
|
+
|
36
|
+
SSEEAARRCCHHIINNGG
|
37
|
+
|
38
|
+
/_p_a_t_t_e_r_n * Search forward for (_N-th) matching line.
|
39
|
+
?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line.
|
40
|
+
n * Repeat previous search (for _N-th occurrence).
|
41
|
+
N * Repeat previous search in reverse direction.
|
42
|
+
ESC-n * Repeat previous search, spanning files.
|
43
|
+
ESC-N * Repeat previous search, reverse dir. & spanning files.
|
44
|
+
ESC-u Undo (toggle) search highlighting.
|
45
|
+
ESC-U Clear search highlighting.
|
46
|
+
&_p_a_t_t_e_r_n * Display only matching lines.
|
47
|
+
---------------------------------------------------
|
48
|
+
A search pattern may begin with one or more of:
|
49
|
+
^N or ! Search for NON-matching lines.
|
50
|
+
^E or * Search multiple files (pass thru END OF FILE).
|
51
|
+
^F or @ Start search at FIRST file (for /) or last file (for ?).
|
52
|
+
^K Highlight matches, but don't move (KEEP position).
|
53
|
+
^R Don't use REGULAR EXPRESSIONS.
|
54
|
+
^W WRAP search if no match found.
|
55
|
+
---------------------------------------------------------------------------
|
56
|
+
|
57
|
+
JJUUMMPPIINNGG
|
58
|
+
|
59
|
+
g < ESC-< * Go to first line in file (or line _N).
|
60
|
+
G > ESC-> * Go to last line in file (or line _N).
|
61
|
+
p % * Go to beginning of file (or _N percent into file).
|
62
|
+
t * Go to the (_N-th) next tag.
|
63
|
+
T * Go to the (_N-th) previous tag.
|
64
|
+
{ ( [ * Find close bracket } ) ].
|
65
|
+
} ) ] * Find open bracket { ( [.
|
66
|
+
ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>.
|
67
|
+
ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>.
|
68
|
+
---------------------------------------------------
|
69
|
+
Each "find close bracket" command goes forward to the close bracket
|
70
|
+
matching the (_N-th) open bracket in the top line.
|
71
|
+
Each "find open bracket" command goes backward to the open bracket
|
72
|
+
matching the (_N-th) close bracket in the bottom line.
|
73
|
+
|
74
|
+
m_<_l_e_t_t_e_r_> Mark the current top line with <letter>.
|
75
|
+
M_<_l_e_t_t_e_r_> Mark the current bottom line with <letter>.
|
76
|
+
'_<_l_e_t_t_e_r_> Go to a previously marked position.
|
77
|
+
'' Go to the previous position.
|
78
|
+
^X^X Same as '.
|
79
|
+
ESC-M_<_l_e_t_t_e_r_> Clear a mark.
|
80
|
+
---------------------------------------------------
|
81
|
+
A mark is any upper-case or lower-case letter.
|
82
|
+
Certain marks are predefined:
|
83
|
+
^ means beginning of the file
|
84
|
+
$ means end of the file
|
85
|
+
---------------------------------------------------------------------------
|
86
|
+
|
87
|
+
CCHHAANNGGIINNGG FFIILLEESS
|
88
|
+
|
89
|
+
:e [_f_i_l_e] Examine a new file.
|
90
|
+
^X^V Same as :e.
|
91
|
+
:n * Examine the (_N-th) next file from the command line.
|
92
|
+
:p * Examine the (_N-th) previous file from the command line.
|
93
|
+
:x * Examine the first (or _N-th) file from the command line.
|
94
|
+
:d Delete the current file from the command line list.
|
95
|
+
= ^G :f Print current file name.
|
96
|
+
---------------------------------------------------------------------------
|
97
|
+
|
98
|
+
MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS
|
99
|
+
|
100
|
+
-_<_f_l_a_g_> Toggle a command line option [see OPTIONS below].
|
101
|
+
--_<_n_a_m_e_> Toggle a command line option, by name.
|
102
|
+
__<_f_l_a_g_> Display the setting of a command line option.
|
103
|
+
___<_n_a_m_e_> Display the setting of an option, by name.
|
104
|
+
+_c_m_d Execute the less cmd each time a new file is examined.
|
105
|
+
|
106
|
+
!_c_o_m_m_a_n_d Execute the shell command with $SHELL.
|
107
|
+
|XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command.
|
108
|
+
s _f_i_l_e Save input to a file.
|
109
|
+
v Edit the current file with $VISUAL or $EDITOR.
|
110
|
+
V Print version number of "less".
|
111
|
+
---------------------------------------------------------------------------
|
112
|
+
|
113
|
+
OOPPTTIIOONNSS
|
114
|
+
|
115
|
+
Most options may be changed either on the command line,
|
116
|
+
or from within less by using the - or -- command.
|
117
|
+
Options may be given in one of two forms: either a single
|
118
|
+
character preceded by a -, or a name preceded by --.
|
119
|
+
|
120
|
+
-? ........ --help
|
121
|
+
Display help (from command line).
|
122
|
+
-a ........ --search-skip-screen
|
123
|
+
Search skips current screen.
|
124
|
+
-A ........ --SEARCH-SKIP-SCREEN
|
125
|
+
Search starts just after target line.
|
126
|
+
-b [_N] .... --buffers=[_N]
|
127
|
+
Number of buffers.
|
128
|
+
-B ........ --auto-buffers
|
129
|
+
Don't automatically allocate buffers for pipes.
|
130
|
+
-c ........ --clear-screen
|
131
|
+
Repaint by clearing rather than scrolling.
|
132
|
+
-d ........ --dumb
|
133
|
+
Dumb terminal.
|
134
|
+
-D xx_c_o_l_o_r . --color=xx_c_o_l_o_r
|
135
|
+
Set screen colors.
|
136
|
+
-e -E .... --quit-at-eof --QUIT-AT-EOF
|
137
|
+
Quit at end of file.
|
138
|
+
-f ........ --force
|
139
|
+
Force open non-regular files.
|
140
|
+
-F ........ --quit-if-one-screen
|
141
|
+
Quit if entire file fits on first screen.
|
142
|
+
-g ........ --hilite-search
|
143
|
+
Highlight only last match for searches.
|
144
|
+
-G ........ --HILITE-SEARCH
|
145
|
+
Don't highlight any matches for searches.
|
146
|
+
-h [_N] .... --max-back-scroll=[_N]
|
147
|
+
Backward scroll limit.
|
148
|
+
-i ........ --ignore-case
|
149
|
+
Ignore case in searches that do not contain uppercase.
|
150
|
+
-I ........ --IGNORE-CASE
|
151
|
+
Ignore case in all searches.
|
152
|
+
-j [_N] .... --jump-target=[_N]
|
153
|
+
Screen position of target lines.
|
154
|
+
-J ........ --status-column
|
155
|
+
Display a status column at left edge of screen.
|
156
|
+
-k [_f_i_l_e] . --lesskey-file=[_f_i_l_e]
|
157
|
+
Use a lesskey file.
|
158
|
+
-K ........ --quit-on-intr
|
159
|
+
Exit less in response to ctrl-C.
|
160
|
+
-L ........ --no-lessopen
|
161
|
+
Ignore the LESSOPEN environment variable.
|
162
|
+
-m -M .... --long-prompt --LONG-PROMPT
|
163
|
+
Set prompt style.
|
164
|
+
-n -N .... --line-numbers --LINE-NUMBERS
|
165
|
+
Don't use line numbers.
|
166
|
+
-o [_f_i_l_e] . --log-file=[_f_i_l_e]
|
167
|
+
Copy to log file (standard input only).
|
168
|
+
-O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e]
|
169
|
+
Copy to log file (unconditionally overwrite).
|
170
|
+
-p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n]
|
171
|
+
Start at pattern (from command line).
|
172
|
+
-P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t]
|
173
|
+
Define new prompt.
|
174
|
+
-q -Q .... --quiet --QUIET --silent --SILENT
|
175
|
+
Quiet the terminal bell.
|
176
|
+
-r -R .... --raw-control-chars --RAW-CONTROL-CHARS
|
177
|
+
Output "raw" control characters.
|
178
|
+
-s ........ --squeeze-blank-lines
|
179
|
+
Squeeze multiple blank lines.
|
180
|
+
-S ........ --chop-long-lines
|
181
|
+
Chop (truncate) long lines rather than wrapping.
|
182
|
+
-t [_t_a_g] .. --tag=[_t_a_g]
|
183
|
+
Find a tag.
|
184
|
+
-T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e]
|
185
|
+
Use an alternate tags file.
|
186
|
+
-u -U .... --underline-special --UNDERLINE-SPECIAL
|
187
|
+
Change handling of backspaces.
|
188
|
+
-V ........ --version
|
189
|
+
Display the version number of "less".
|
190
|
+
-w ........ --hilite-unread
|
191
|
+
Highlight first new line after forward-screen.
|
192
|
+
-W ........ --HILITE-UNREAD
|
193
|
+
Highlight first new line after any forward movement.
|
194
|
+
-x [_N[,...]] --tabs=[_N[,...]]
|
195
|
+
Set tab stops.
|
196
|
+
-X ........ --no-init
|
197
|
+
Don't use termcap init/deinit strings.
|
198
|
+
-y [_N] .... --max-forw-scroll=[_N]
|
199
|
+
Forward scroll limit.
|
200
|
+
-z [_N] .... --window=[_N]
|
201
|
+
Set size of window.
|
202
|
+
-" [_c[_c]] . --quotes=[_c[_c]]
|
203
|
+
Set shell quote characters.
|
204
|
+
-~ ........ --tilde
|
205
|
+
Don't display tildes after end of file.
|
206
|
+
-# [_N] .... --shift=[_N]
|
207
|
+
Set horizontal scroll amount (0 = one half screen width).
|
208
|
+
--file-size
|
209
|
+
Automatically determine the size of the input file.
|
210
|
+
--follow-name
|
211
|
+
The F command changes files if the input file is renamed.
|
212
|
+
--incsearch
|
213
|
+
Search file as each pattern character is typed in.
|
214
|
+
--line-num-width=N
|
215
|
+
Set the width of the -N line number field to N characters.
|
216
|
+
--mouse
|
217
|
+
Enable mouse input.
|
218
|
+
--no-keypad
|
219
|
+
Don't send termcap keypad init/deinit strings.
|
220
|
+
--no-histdups
|
221
|
+
Remove duplicates from command history.
|
222
|
+
--rscroll=C
|
223
|
+
Set the character used to mark truncated lines.
|
224
|
+
--save-marks
|
225
|
+
Retain marks across invocations of less.
|
226
|
+
--status-col-width=N
|
227
|
+
Set the width of the -J status column to N characters.
|
228
|
+
--use-backslash
|
229
|
+
Subsequent options use backslash as escape char.
|
230
|
+
--use-color
|
231
|
+
Enables colored text.
|
232
|
+
--wheel-lines=N
|
233
|
+
Each click of the mouse wheel moves N lines.
|
234
|
+
|
235
|
+
|
236
|
+
---------------------------------------------------------------------------
|
237
|
+
|
238
|
+
LLIINNEE EEDDIITTIINNGG
|
239
|
+
|
240
|
+
These keys can be used to edit text being entered
|
241
|
+
on the "command line" at the bottom of the screen.
|
242
|
+
|
243
|
+
RightArrow ..................... ESC-l ... Move cursor right one character.
|
244
|
+
LeftArrow ...................... ESC-h ... Move cursor left one character.
|
245
|
+
ctrl-RightArrow ESC-RightArrow ESC-w ... Move cursor right one word.
|
246
|
+
ctrl-LeftArrow ESC-LeftArrow ESC-b ... Move cursor left one word.
|
247
|
+
HOME ........................... ESC-0 ... Move cursor to start of line.
|
248
|
+
END ............................ ESC-$ ... Move cursor to end of line.
|
249
|
+
BACKSPACE ................................ Delete char to left of cursor.
|
250
|
+
DELETE ......................... ESC-x ... Delete char under cursor.
|
251
|
+
ctrl-BACKSPACE ESC-BACKSPACE ........... Delete word to left of cursor.
|
252
|
+
ctrl-DELETE .... ESC-DELETE .... ESC-X ... Delete word under cursor.
|
253
|
+
ctrl-U ......... ESC (MS-DOS only) ....... Delete entire line.
|
254
|
+
UpArrow ........................ ESC-k ... Retrieve previous command line.
|
255
|
+
DownArrow ...................... ESC-j ... Retrieve next command line.
|
256
|
+
TAB ...................................... Complete filename & cycle.
|
257
|
+
SHIFT-TAB ...................... ESC-TAB Complete filename & reverse cycle.
|
258
|
+
ctrl-L ................................... Complete filename, list all.
|
data/Gemfile
CHANGED
@@ -48,7 +48,7 @@ gem 'net-ldap', '0.18.0'
|
|
48
48
|
gem 'net-openvpn', '0.8.7'
|
49
49
|
gem 'net-smtp', '0.3.3'
|
50
50
|
gem 'nexpose', '7.3.0'
|
51
|
-
gem 'nokogiri', '1.15.
|
51
|
+
gem 'nokogiri', '1.15.1'
|
52
52
|
gem 'nokogiri-diff', '0.2.0'
|
53
53
|
gem 'oily_png', '1.2.1'
|
54
54
|
gem 'open3', '0.1.2'
|
@@ -82,7 +82,6 @@ gem 'slack-ruby-client', '2.1.0'
|
|
82
82
|
gem 'socksify', '1.7.1'
|
83
83
|
gem 'spreadsheet', '1.3.0'
|
84
84
|
gem 'sqlite3', '1.6.3'
|
85
|
-
gem 'sys-proctable', '1.3.0'
|
86
85
|
gem 'thin', '1.8.2'
|
87
86
|
gem 'tty-prompt', '0.23.1'
|
88
87
|
gem 'tty-spinner', '0.9.3'
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
|
|
37
37
|
$ rvm list gemsets
|
38
38
|
$ gem install --verbose pwn
|
39
39
|
$ pwn
|
40
|
-
pwn[v0.4.
|
40
|
+
pwn[v0.4.704]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
|
@@ -52,7 +52,7 @@ $ rvm use ruby-3.2.2@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
53
53
|
$ gem install --verbose pwn
|
54
54
|
$ pwn
|
55
|
-
pwn[v0.4.
|
55
|
+
pwn[v0.4.704]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
data/bin/pwn
CHANGED
@@ -4,7 +4,6 @@
|
|
4
4
|
require 'optparse'
|
5
5
|
require 'pwn'
|
6
6
|
require 'pry'
|
7
|
-
require 'sys/proctable'
|
8
7
|
require 'yaml'
|
9
8
|
|
10
9
|
opts = {}
|
@@ -301,19 +300,33 @@ begin
|
|
301
300
|
rescue StandardError => e
|
302
301
|
raise e
|
303
302
|
ensure
|
304
|
-
|
305
|
-
pe.ppid == pwn_pid
|
306
|
-
end.map(&:pid)
|
303
|
+
proc_list_arr = PWN::Plugins::PS.list
|
307
304
|
|
308
|
-
|
309
|
-
|
310
|
-
end.map(&:pid)
|
305
|
+
kid_pids_arr = proc_list_arr.select { |proc_line| proc_line[3] == pwn_pid.to_s }
|
306
|
+
# pp kid_pids_arr
|
311
307
|
|
312
|
-
|
313
|
-
|
308
|
+
grandkid_pids_arr = []
|
309
|
+
kid_pids_arr.each do |kid_pid|
|
310
|
+
gk_arr = proc_list_arr.select { |proc_line| proc_line[3] == kid_pid[2] }
|
311
|
+
gk_arr.each { |gk| grandkid_pids_arr.push(gk) }
|
312
|
+
end
|
313
|
+
# pp grandkid_pids_arr
|
314
|
+
|
315
|
+
grandkid_pids_arr.each do |grandkid_pid|
|
316
|
+
begin
|
317
|
+
pid = grandkid_pid[2].to_i
|
318
|
+
Process.kill('TERM', pid)
|
319
|
+
rescue Errno::ESRCH
|
320
|
+
next
|
321
|
+
end
|
314
322
|
end
|
315
323
|
|
316
|
-
|
317
|
-
|
324
|
+
kid_pids_arr.each do |kid_pid|
|
325
|
+
begin
|
326
|
+
pid = kid_pid[2].to_i
|
327
|
+
Process.kill('TERM', pid)
|
328
|
+
rescue Errno::ESRCH
|
329
|
+
next
|
330
|
+
end
|
318
331
|
end
|
319
332
|
end
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'open3'
|
4
|
+
|
5
|
+
module PWN
|
6
|
+
module Plugins
|
7
|
+
# This plugin is a simple wrapper around the ps command.
|
8
|
+
module PS
|
9
|
+
# Supported Method Parameters::
|
10
|
+
# proc_list_arr = PWN::Plugins::PS.list
|
11
|
+
|
12
|
+
public_class_method def self.list(opts = {})
|
13
|
+
pid = opts[:pid]
|
14
|
+
|
15
|
+
format = 'user,pcpu,pid,ppid,uid,gid,euid,egid,uname,group,args:1000,pmem'
|
16
|
+
|
17
|
+
if pid.nil?
|
18
|
+
stdout, _stderr, _status = Open3.capture3(
|
19
|
+
'ps',
|
20
|
+
'ax',
|
21
|
+
'-o',
|
22
|
+
format
|
23
|
+
)
|
24
|
+
else
|
25
|
+
stdout, _stderr, _status = Open3.capture3(
|
26
|
+
'ps',
|
27
|
+
'-p',
|
28
|
+
pid.to_s,
|
29
|
+
'-o',
|
30
|
+
format
|
31
|
+
)
|
32
|
+
end
|
33
|
+
|
34
|
+
proc_list_arr = []
|
35
|
+
stdout_arr = stdout.split("\n")
|
36
|
+
stdout_arr.each do |line|
|
37
|
+
column_len = format.split(',').length
|
38
|
+
cmd_idx = column_len - 2
|
39
|
+
first_cols = line.split[0..(cmd_idx - 1)]
|
40
|
+
cmd = [line.split[cmd_idx..-2].join(' ')]
|
41
|
+
pmem = [line.split.last]
|
42
|
+
proc_line = first_cols + pmem + cmd
|
43
|
+
proc_list_arr.push(proc_line)
|
44
|
+
end
|
45
|
+
|
46
|
+
proc_list_arr
|
47
|
+
rescue StandardError => e
|
48
|
+
raise e
|
49
|
+
end
|
50
|
+
|
51
|
+
# Author(s):: 0day Inc. <request.pentest@0dayinc.com>
|
52
|
+
|
53
|
+
public_class_method def self.authors
|
54
|
+
"AUTHOR(S):
|
55
|
+
0day Inc. <request.pentest@0dayinc.com>
|
56
|
+
"
|
57
|
+
end
|
58
|
+
|
59
|
+
# Display Usage for this Module
|
60
|
+
|
61
|
+
public_class_method def self.help
|
62
|
+
puts "USAGE:
|
63
|
+
proc_list_arr = #{self}.list
|
64
|
+
|
65
|
+
#{self}.authors
|
66
|
+
"
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
data/lib/pwn/plugins.rb
CHANGED
@@ -48,6 +48,7 @@ module PWN
|
|
48
48
|
autoload :Packet, 'pwn/plugins/packet'
|
49
49
|
autoload :PDFParse, 'pwn/plugins/pdf_parse'
|
50
50
|
autoload :Pony, 'pwn/plugins/pony'
|
51
|
+
autoload :PS, 'pwn/plugins/ps'
|
51
52
|
autoload :RabbitMQ, 'pwn/plugins/rabbit_mq'
|
52
53
|
autoload :RFIDler, 'pwn/plugins/rfidler'
|
53
54
|
autoload :Serial, 'pwn/plugins/serial'
|
data/lib/pwn/version.rb
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe PWN::Plugins::PS do
|
6
|
+
it 'should display information for authors' do
|
7
|
+
authors_response = PWN::Plugins::PS
|
8
|
+
expect(authors_response).to respond_to :authors
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'should display information for existing help method' do
|
12
|
+
help_response = PWN::Plugins::PS
|
13
|
+
expect(help_response).to respond_to :help
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pwn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.704
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -534,14 +534,14 @@ dependencies:
|
|
534
534
|
requirements:
|
535
535
|
- - '='
|
536
536
|
- !ruby/object:Gem::Version
|
537
|
-
version: 1.15.
|
537
|
+
version: 1.15.1
|
538
538
|
type: :runtime
|
539
539
|
prerelease: false
|
540
540
|
version_requirements: !ruby/object:Gem::Requirement
|
541
541
|
requirements:
|
542
542
|
- - '='
|
543
543
|
- !ruby/object:Gem::Version
|
544
|
-
version: 1.15.
|
544
|
+
version: 1.15.1
|
545
545
|
- !ruby/object:Gem::Dependency
|
546
546
|
name: nokogiri-diff
|
547
547
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1004,20 +1004,6 @@ dependencies:
|
|
1004
1004
|
- - '='
|
1005
1005
|
- !ruby/object:Gem::Version
|
1006
1006
|
version: 1.6.3
|
1007
|
-
- !ruby/object:Gem::Dependency
|
1008
|
-
name: sys-proctable
|
1009
|
-
requirement: !ruby/object:Gem::Requirement
|
1010
|
-
requirements:
|
1011
|
-
- - '='
|
1012
|
-
- !ruby/object:Gem::Version
|
1013
|
-
version: 1.3.0
|
1014
|
-
type: :runtime
|
1015
|
-
prerelease: false
|
1016
|
-
version_requirements: !ruby/object:Gem::Requirement
|
1017
|
-
requirements:
|
1018
|
-
- - '='
|
1019
|
-
- !ruby/object:Gem::Version
|
1020
|
-
version: 1.3.0
|
1021
1007
|
- !ruby/object:Gem::Dependency
|
1022
1008
|
name: thin
|
1023
1009
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1197,6 +1183,7 @@ executables:
|
|
1197
1183
|
extensions: []
|
1198
1184
|
extra_rdoc_files: []
|
1199
1185
|
files:
|
1186
|
+
- ".each do |child_pid|"
|
1200
1187
|
- ".github/FUNDING.yml"
|
1201
1188
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
1202
1189
|
- ".gitignore"
|
@@ -1725,6 +1712,7 @@ files:
|
|
1725
1712
|
- lib/pwn/plugins/packet.rb
|
1726
1713
|
- lib/pwn/plugins/pdf_parse.rb
|
1727
1714
|
- lib/pwn/plugins/pony.rb
|
1715
|
+
- lib/pwn/plugins/ps.rb
|
1728
1716
|
- lib/pwn/plugins/pwn_logger.rb
|
1729
1717
|
- lib/pwn/plugins/rabbit_mq.rb
|
1730
1718
|
- lib/pwn/plugins/rfidler.rb
|
@@ -2034,6 +2022,7 @@ files:
|
|
2034
2022
|
- spec/lib/pwn/plugins/packet_spec.rb
|
2035
2023
|
- spec/lib/pwn/plugins/pdf_parse_spec.rb
|
2036
2024
|
- spec/lib/pwn/plugins/pony_spec.rb
|
2025
|
+
- spec/lib/pwn/plugins/ps_spec.rb
|
2037
2026
|
- spec/lib/pwn/plugins/pwn_logger_spec.rb
|
2038
2027
|
- spec/lib/pwn/plugins/rabbit_mq_spec.rb
|
2039
2028
|
- spec/lib/pwn/plugins/rfidler_spec.rb
|