40 lines
1.2 KiB
Ruby
40 lines
1.2 KiB
Ruby
|
require 'msf/core'
|
||
|
|
||
|
class MetasploitModule < Msf::Exploit::Remote
|
||
|
|
||
|
Rank = ManualRanking
|
||
|
|
||
|
def initialize(info = {})
|
||
|
super(update_info(info,
|
||
|
'Name' => 'Exploit Auto-Targeting for Linux',
|
||
|
'Description' => %q{ This module is a test bed for automatic targeting for Windows exploits. },
|
||
|
'Author' => [ 'thelightcosine' ],
|
||
|
'License' => MSF_LICENSE,
|
||
|
'Privileged' => true,
|
||
|
'DefaultOptions' =>
|
||
|
{
|
||
|
'WfsDelay' => 10,
|
||
|
'EXITFUNC' => 'thread'
|
||
|
},
|
||
|
'Payload' =>
|
||
|
{
|
||
|
'Space' => 3072,
|
||
|
'DisableNops' => true
|
||
|
},
|
||
|
'Platform' => 'win',
|
||
|
'Arch' => [ARCH_X86, ARCH_X64],
|
||
|
'Targets' =>
|
||
|
[
|
||
|
|
||
|
],
|
||
|
'DisclosureDate' => 'Jan 01 1999'
|
||
|
))
|
||
|
end
|
||
|
|
||
|
def exploit
|
||
|
print_status("This exploit doesn't actually do anything")
|
||
|
|
||
|
end
|
||
|
|
||
|
|
||
|
end
|