@@ -26,7 +26,8 @@ class Jobs
26
26
"-P" => [ true , "The RPORT/LPORT to configure the handler for" ] ,
27
27
"-H" => [ true , "The RHOST/LHOST to configure the handler for" ] ,
28
28
"-e" => [ true , "An Encoder to use for Payload Stage Encoding" ] ,
29
- "-n" => [ true , "The custom name to give the handler job" ] )
29
+ "-n" => [ true , "The custom name to give the handler job" ]
30
+ )
30
31
31
32
32
33
@@ -36,7 +37,8 @@ class Jobs
36
37
"-K" => [ false , "Terminate all running jobs." ] ,
37
38
"-i" => [ true , "Lists detailed information about a running job." ] ,
38
39
"-l" => [ false , "List all running jobs." ] ,
39
- "-v" => [ false , "Print more detailed info. Use with -i and -l" ] )
40
+ "-v" => [ false , "Print more detailed info. Use with -i and -l" ]
41
+ )
40
42
41
43
def commands
42
44
{
@@ -102,7 +104,7 @@ def cmd_jobs_help
102
104
print_line "Usage: jobs [options]"
103
105
print_line
104
106
print_line "Active job manipulation and interaction."
105
- print @@jobs_opts . usage ( )
107
+ print @@jobs_opts . usage
106
108
end
107
109
108
110
#
@@ -174,7 +176,7 @@ def cmd_jobs(*args)
174
176
show_options ( mod ) if mod . options . has_options?
175
177
176
178
if verbose
177
- mod_opt = Serializer ::ReadableText . dump_advanced_options ( mod , ' ' )
179
+ mod_opt = Serializer ::ReadableText . dump_advanced_options ( mod , ' ' )
178
180
if mod_opt && mod_opt . length > 0
179
181
print_line ( "\n Module advanced options:\n \n #{ mod_opt } \n " )
180
182
end
@@ -197,7 +199,7 @@ def cmd_jobs_tabs(str, words)
197
199
return @@jobs_opts . fmt . keys
198
200
end
199
201
200
- if words . length == 2 and ( @@jobs_opts . fmt [ words [ 1 ] ] || [ false ] ) [ 0 ]
202
+ if words . length == 2 && ( @@jobs_opts . fmt [ words [ 1 ] ] || [ false ] ) [ 0 ]
201
203
return framework . jobs . keys
202
204
end
203
205
0 commit comments