Fixes #298. Thanks Shiyee!

git-svn-id: file:///home/svn/framework3/trunk@6845 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-07-19 16:07:59 +00:00
parent a6a8c04d2b
commit e7eb7235a7
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class Metasploit3 < Msf::Nop
return ([nops[rand(nops.length)]].pack("V*") * (length/4)) return ([nops[rand(nops.length)]].pack("V*") * (length/4))
end end
return (nops[0].pack("V*") * (length/4)) return ([nops[0]].pack("V*") * (length/4))
end end
end end