modules/post/chapter-10/CleanTracks.rb
def unsupported
   sys = session.sys.config.sysinfo
   print_error("Operative System: #{sys['OS']}")
   print_error("This auxiliary only works against windows systems!")
   print_line("")
   print_warning("Please execute [info] for further information...")
   raise Rex::Script::Completed
end
# ----------------------------------------------
# Check for proper target Platform (win32|win64)
# ----------------------------------------------
Check for proper target Platform (win32|win64)
Check for proper target Platform ( win32|win64 )
def unsupported
   sys = session.sys.config.sysinfo
   print_error("Operative System: #{sys['OS']}")
   print_error("This auxiliary only works against windows systems!")
   print_line("")
   print_warning("Please execute [info] for further information...")
   raise Rex::Script::Completed
end
def unsupported sys = session . sys . config . sysinfo print_error ( "Operative System: #{sys['OS']}" ) print_error ( "This auxiliary only works against windows systems!" ) print_line ( "" ) print_warning ( "Please execute [info] for further information..." ) raise Rex :: Script :: Completed end
Check for proper target Platform (win32|win64)
Check for proper target Platform ( win32|win64 )