Skip to content

Commit be5bbd6

Browse files
committed
Show some examples
1 parent 5cbe464 commit be5bbd6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

msfcli

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ class Msfcli
5656

5757
$stdout.puts "Error: #{str}\n\n" if str
5858
$stdout.puts tbl.to_s + "\n"
59+
$stdout.puts "Examples:" + "\n"
60+
$stdout.puts "msfcli multi/handler payload=windows/meterpreter/reverse_tcp lhost=IP E" + "\n"
61+
$stdout.puts "msfcli auxiliary/scanner/http/http_version rhosts=IP encoder= post= nop= E" + "\n"
5962
$stdout.puts extra + "\n" if extra
63+
$stdout.puts
6064
end
6165

6266

0 commit comments

Comments
 (0)