@@ -44,6 +44,7 @@ class Msfcli
44
44
tbl << [ '(H)elp' , "You're looking at it baby!" ]
45
45
tbl << [ '(S)ummary' , 'Show information about this module' ]
46
46
tbl << [ '(O)ptions' , 'Show available options for this module' ]
47
+ tbl << [ '(M)issing' , 'Show empty required options for this module' ]
47
48
tbl << [ '(A)dvanced' , 'Show available advanced options for this module' ]
48
49
tbl << [ '(I)DS Evasion' , 'Show available ids evasion options for this module' ]
49
50
tbl << [ '(P)ayloads' , 'Show available payloads for this module' ]
@@ -385,6 +386,15 @@ class Msfcli
385
386
end
386
387
387
388
389
+ def show_missing ( m )
390
+ readable = Msf ::Serializer ::ReadableText
391
+ $stdout. puts ( "\n " + readable . dump_options ( m [ :module ] , @indent , true ) )
392
+ $stdout. puts ( "\n Payload:\n \n " + readable . dump_options ( m [ :payload ] , @indent , true ) ) if m [ :payload ]
393
+ $stdout. puts ( "\n Encoder:\n \n " + readable . dump_options ( m [ :encoder ] , @indent , true ) ) if m [ :encoder ]
394
+ $stdout. puts ( "\n NOP\n \n " + readable . dump_options ( m [ :nop ] , @indent , true ) ) if m [ :nop ]
395
+ end
396
+
397
+
388
398
def show_advanced ( m )
389
399
readable = Msf ::Serializer ::ReadableText
390
400
$stdout. puts ( "\n " + readable . dump_advanced_options ( m [ :module ] , @indent ) )
@@ -483,6 +493,8 @@ class Msfcli
483
493
show_summary ( modules )
484
494
when "o"
485
495
show_options ( modules )
496
+ when "m"
497
+ show_missing ( modules )
486
498
when "a"
487
499
show_advanced ( modules )
488
500
when "i"
0 commit comments