コード例 #1
0
ファイル: tmp.tr.py プロジェクト: balangheorghe/flappybird_rn
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")
コード例 #2
0
ファイル: signature_scan.py プロジェクト: Brijen/binwalk
#!/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
コード例 #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()
コード例 #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