remove silly debugging statements
git-svn-id: file:///home/svn/framework3/trunk@9377 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
24eb0f035f
commit
288b700e75
|
@ -54,10 +54,7 @@ class CmdStagerDebugAsm < CmdStagerBase
|
|||
# Simple hex encoding...
|
||||
#
|
||||
def encode_payload(opts)
|
||||
File.open("/home/repository/incoming/DANGEROUS/orig.exe", "wb") { |fd| fd.write(@exe) }
|
||||
ret = @exe.unpack('H*')[0]
|
||||
File.open("/home/repository/incoming/DANGEROUS/orig.b64", "wb") { |fd| fd.write(ret) }
|
||||
ret
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -50,10 +50,7 @@ class CmdStagerDebugWrite < CmdStagerBase
|
|||
# Simple hex encoding...
|
||||
#
|
||||
def encode_payload(opts)
|
||||
File.open("/home/repository/incoming/DANGEROUS/orig.exe", "wb") { |fd| fd.write(@exe) }
|
||||
ret = @exe.unpack('H*')[0]
|
||||
File.open("/home/repository/incoming/DANGEROUS/orig.b64", "wb") { |fd| fd.write(ret) }
|
||||
ret
|
||||
@exe.unpack('H*')[0]
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue