lint fixes
This commit is contained in:
parent
76d513935f
commit
691cded981
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
|
import re
|
||||||
import sys
|
import sys
|
||||||
import pefile
|
|
||||||
import re
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Usage: cat <file> | python3 decoder_jaska_go.py
|
Usage: cat <file> | python3 decoder_jaska_go.py
|
||||||
|
@ -20,6 +19,7 @@ matches = port_regex.search(binary_data)
|
||||||
print("PORT", matches.group("PORT"))
|
print("PORT", matches.group("PORT"))
|
||||||
|
|
||||||
id_regex = re.compile(r"\x00\x00\x00\x00(?P<ID>[a-zA-Z0-9]{25})\x00\x00", re.DOTALL)
|
id_regex = re.compile(r"\x00\x00\x00\x00(?P<ID>[a-zA-Z0-9]{25})\x00\x00", re.DOTALL)
|
||||||
|
#
|
||||||
#matches = id_regex.search(binary_data)
|
#matches = id_regex.search(binary_data)
|
||||||
#if matches:
|
#if matches:
|
||||||
# print(matches.group("ID"))
|
# print(matches.group("ID"))
|
||||||
|
|
Loading…
Reference in a new issue