Beispiel #1
0
 def test_1f_01(self):
     with open(
             "../testdata/0x1F.ed9f55d3e9914a48b7927398142d220c.0.shellitem",
             "rb") as fh:
         raw_data = fh.read()
         si = parse_shell_item(raw_data)
         print(si.as_dict())
Beispiel #2
0
 def test_1f_02(self):
     with open(
             "../testdata/0x1F.e8f0160f79e8455c8c4e796d257d8b02.0.shellitem",
             "rb") as fh:
         raw_data = fh.read()
         si = parse_shell_item(raw_data)
         print(si.as_dict())
def parse_shellitem_file(source):
    print("Parsing: {}".format(source))
    with open(source, "rb") as fh:
        raw_data = fh.read()
        si = parse_shell_item(raw_data)
        print("{}".format(json.dumps(si.as_dict())))
Beispiel #4
0
 def test_23febbee_shell_item(self):
     with open("../testdata/shellitem.0x00.23febbee.raw", "rb") as fh:
         raw_data = fh.read()
         si = parse_shell_item(raw_data)
         print(si.as_dict())