Esempio n. 1
0
import binwalk

binwalk.scan(r"D:\WorkSpace\Work\Challenge\3\temp___st\Secret.bin")
binwalk.execute("-E", r"D:\WorkSpace\Work\Challenge\3\EyB20mH.png")
Esempio n. 2
0
#!/usr/bin/env python

import sys
import binwalk

try:
    # Perform a signature scan against the files specified on the command line and suppress the usual binwalk output.
    for module in binwalk.execute(*sys.argv[1:], signature=True, quiet=True):
        print ("%s Results:" % module.name)
        for result in module.results:
            print ("\t%s    0x%.8X    %s" % (result.file.name, result.offset, result.description))
except binwalk.ModuleException as e:
    pass
Esempio n. 3
0
#!/usr/bin/env python

import binwalk

# Since no options are specified, they are by default taken from sys.argv.
# Effecitvely, this duplicates the functionality of the normal binwalk script.
binwalk.execute()
Esempio n. 4
0
#!/usr/bin/env python

import sys
import binwalk

try:
    # Perform a signature scan against the files specified on the command line and suppress the usual binwalk output.
    for module in binwalk.execute(*sys.argv[1:], signature=True, quiet=True):
        print("%s Results:" % module.name)
        for result in module.results:
            print("\t%s    0x%.8X    %s" %
                  (result.file.name, result.offset, result.description))
except binwalk.ModuleException as e:
    pass