Modify msfvenom spec
parent
1727b7fb37
commit
862f0e27b3
|
@ -190,9 +190,10 @@ describe MsfVenom do
|
||||||
it "should contain /bin/sh" do
|
it "should contain /bin/sh" do
|
||||||
output = venom.generate_raw_payload
|
output = venom.generate_raw_payload
|
||||||
# Usually push'd in two instructions, so the whole string
|
# Usually push'd in two instructions, so the whole string
|
||||||
# isn't all together. Check for the two pieces seperately
|
# isn't all together. Check for the two pieces seperately.
|
||||||
output.should include("/sh")
|
# Also should have into account payloads using imm16 moves.
|
||||||
output.should include("/bin")
|
output.should include("sh")
|
||||||
|
output.should include("bi")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue