BinaryFileReader
1.0.0
이 패키지는 바이너리 파일을 읽고 모든 문자열을 얻거나 육각형처럼 읽습니다.
이 패키지는 다음과 같습니다.
pip install BinaryFileReaderGetStrings -h # get help message
GetStrings test.bin # get strings in test.bin
GetStrings -m 7 -M 1 test.dump # get strings with minimum length of 7 characters and with one non printable character between characters
HexaReader test.bin # Read test.bin as hexadecimal and ascii printable from BinaryFileReader import Strings , HexaReader
hexareader = HexaReader ( "test.bin" )
for line in hexareader . reader ():
print ( line )
strings = Strings ( "test.bin" )
for line in strings . reader ():
print ( line )
strings = Strings ( "test.dmp" , chars = b"abcdeABCDE0123./$" , minimum_chars = 7 , number_bad_chars = 1 , accepted_bad_chars = b' x00 ' , encoding = "latin1" )
for line in strings . reader ():
print ( line )python3 BinaryFileReader.pyz strings -m 7 -M 1 test.dump
python3 BinaryFileReader.pyz strings test.bin
# OR
chmod u+x BinaryFileReader.pyz # add execute rights
./BinaryFileReader.pyz hexareader test.bin # execute filepython3 -m BinaryFileReader hexareader test.bin
python3 -m BinaryFileReader.Strings -m 7 -M 1 test.dumpGPL, 버전 3에 따라 라이센스가 부여되었습니다.