Commit 9b0b09fc authored by Sophie Brun's avatar Sophie Brun

Imported Upstream version 3.0.5

parent b4a2273e
......@@ -223,6 +223,10 @@ Sample Usage:
###Changelog
####7/17/2015
* Fix to correct early exit on gatherng PE info.
####7/06/2015
* Clean exit if text section name is mangled or out of order.
......
......@@ -62,7 +62,7 @@ def signal_handler(signal, frame):
class bdfMain():
version = """\
Version: 3.0.4
Version: 3.0.5
"""
author = """\
......
......@@ -573,7 +573,7 @@ class pebin():
#get file data again
with open(self.flItms['backdoorfile'], 'r+b') as self.binary:
if not self.gather_file_info_win():
if self.gather_file_info_win() is False:
return False
return True
......@@ -972,8 +972,8 @@ class pebin():
if self.binary.read(2) != "\x4d\x5a":
print "%s not a PE File" % self.FILE
return False
if not self.gather_file_info_win():
return False
if self.gather_file_info_win() is False:
return False
if self.flItms is False:
return False
if MachineTypes[hex(self.flItms['MachineType'])] not in supported_types:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment