File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/msf/ui/console/command_dispatcher Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -807,10 +807,10 @@ def cmd_info(*args)
807
807
elsif dump_json
808
808
print ( Serializer ::Json . dump_module ( mod ) + "\n " )
809
809
elsif show_doc
810
- f = Rex ::Quickfile . new ( [ "#{ active_module . shortname } _doc" , '.html' ] )
810
+ f = Rex ::Quickfile . new ( [ "#{ mod . shortname } _doc" , '.html' ] )
811
811
begin
812
- print_status ( "Generating documentation for #{ active_module . shortname } , then opening #{ f . path } in a browser..." )
813
- Msf ::Util ::DocumentGenerator . spawn_module_document ( active_module , f )
812
+ print_status ( "Generating documentation for #{ mod . shortname } , then opening #{ f . path } in a browser..." )
813
+ Msf ::Util ::DocumentGenerator . spawn_module_document ( mod , f )
814
814
ensure
815
815
f . close if f
816
816
end
You can’t perform that action at this time.
0 commit comments