Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/spec/file_fixtures/modules/exploits/single_target_exploit.rb
Views: 11783
1class MetasploitModule < Msf::Exploit::Remote2include Exploit::Remote::Tcp34Rank = ManualRanking56def initialize(info = {})7super(update_info(info,8'Name' => 'Exploit With a Single Target',9'Description' => %q{ This module is a test bed for automatic targeting when there is only one target. },10'Author' => [ 'thelightcosine' ],11'License' => MSF_LICENSE,12'Privileged' => true,13'DefaultOptions' =>14{15'WfsDelay' => 10,16'EXITFUNC' => 'thread'17},18'Payload' =>19{20'Space' => 3072,21'DisableNops' => true22},23'Platform' => 'win',24'Arch' => [ARCH_X86, ARCH_X64],25'Targets' =>26[27['Windows 2000 Universal',28{29'Ret' => 0x001f1cb0,30'Scratch' => 0x00020408,31}32], # JMP EDI SVCHOST.EXE33],34'DisclosureDate' => '1999-01-01'35))36end3738def exploit39print_status("This exploit doesn't actually do anything")40end414243end4445