From 862f0e27b3150bd98aa580d4067c5f21f00fc4a5 Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Thu, 9 Jan 2014 18:30:46 -0600 Subject: [PATCH] Modify msfvenom spec --- spec/msfvenom_spec.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spec/msfvenom_spec.rb b/spec/msfvenom_spec.rb index 9f098ee561..4e9e059d83 100644 --- a/spec/msfvenom_spec.rb +++ b/spec/msfvenom_spec.rb @@ -190,9 +190,10 @@ describe MsfVenom do it "should contain /bin/sh" do output = venom.generate_raw_payload # Usually push'd in two instructions, so the whole string - # isn't all together. Check for the two pieces seperately - output.should include("/sh") - output.should include("/bin") + # isn't all together. Check for the two pieces seperately. + # Also should have into account payloads using imm16 moves. + output.should include("sh") + output.should include("bi") end end