Fix unix test post module load path

Works now:

````
msf post(unix) > run

[*] Running against session 1
[*] Session type is shell and platform is linux
[+] should list users
[*] Passed: 1; Failed: 0
[*] Post module execution completed
````
unstable
Tod Beardsley 2013-05-23 12:14:45 -05:00
parent d44a158238
commit ae848cf2fe
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,6 @@
require 'test/lib/module_test'
$:.push "test/lib" unless $:.include? "test/lib"
require 'module_test'
#load 'test/lib/module_test.rb'
#load 'lib/rex/text.rb'
@ -15,11 +16,10 @@ class Metasploit4 < Msf::Post
def initialize(info={})
super( update_info( info,
'Name' => 'Testing remote unix system manipulation',
'Name' => 'Testing Remote UNIX System Manipulation',
'Description' => %q{ This module will test Post::File API methods },
'License' => MSF_LICENSE,
'Author' => [ 'egypt'],
'Version' => '$Revision$',
'Platform' => [ 'linux', 'java' ],
'SessionTypes' => [ 'meterpreter', 'shell' ]
))