From 6d04cd15a85db8a7e931baaaf28e46c212bcd967 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Mon, 18 Sep 2006 00:33:16 +0000 Subject: [PATCH] Move non-exploit into auxiliary git-svn-id: file:///home/svn/framework3/trunk@3913 4d416f70-5f16-0410-b530-b9f4589650da --- .../dos}/solaris/lpd/cascade_delete.rb | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) rename modules/{exploits => auxiliary/dos}/solaris/lpd/cascade_delete.rb (92%) diff --git a/modules/exploits/solaris/lpd/cascade_delete.rb b/modules/auxiliary/dos/solaris/lpd/cascade_delete.rb similarity index 92% rename from modules/exploits/solaris/lpd/cascade_delete.rb rename to modules/auxiliary/dos/solaris/lpd/cascade_delete.rb index 7068af4c80..094c02970c 100644 --- a/modules/exploits/solaris/lpd/cascade_delete.rb +++ b/modules/auxiliary/dos/solaris/lpd/cascade_delete.rb @@ -2,7 +2,7 @@ require 'msf/core' module Msf -class Exploits::Solaris::Lpd::CascadeDelete < Msf::Exploit::Remote +class Auxiliary::Dos::Solaris::Lpd::CascadeDelete < Msf::Auxiliary include Exploit::Remote::Tcp @@ -23,13 +23,8 @@ class Exploits::Solaris::Lpd::CascadeDelete < Msf::Exploit::Remote 'References' => [ [ 'URL', 'http://sunsolve.sun.com/search/document.do?assetkey=1-26-101842-1'], - ], - 'Targets' => - [ - ['Automatic Target', { }] - ], - 'DisclosureDate' => '', - 'DefaultTarget' => 0)) + ] + )) register_options( [ @@ -38,7 +33,7 @@ class Exploits::Solaris::Lpd::CascadeDelete < Msf::Exploit::Remote ], self.class) end - def exploit + def run # Create a simple control file... control = "Hmetasploit\nPr00t\n";