티스토리 뷰
728x90
반응형
[Reversing] Python 16진수 reverse
참조
> https://blog.alyac.co.kr/3970
> https://asec.ahnlab.com/ko/26183/
16진수 변환 Python Code 이다.
정리해둔다.
from struct import * flag = [0xEC8B5560, 0x000017E8, ...중간 생략... 0x00000000, 0x00000000, 0x90000000] for x in flag: with open("shell", "ab") as o: o.write(pack('<L', x)) |
with open('rawdata', 'r') as read_file, open('reverse', 'w') as write_file: read_file = read_file.read() stringlength=len(read_file) slicedstring=read_file[stringlength::-1] write_file.write(slicedstring) |
728x90
반응형
'Reversing > ETC' 카테고리의 다른 글
[Reversing] Remote DOTM Template Injection (0) | 2021.11.27 |
---|---|
[Reversing] AES algorithm? FIPS ? (0) | 2021.09.10 |
[Reversing] 악성코드 분석 도구 (0) | 2020.10.29 |
[Reversing] UnHandledExceptionFilter(), ZwQueryInformationProcess() (0) | 2020.08.26 |
[Reversing] Windows System Call Table_Windows 7 x86 (0) | 2020.08.19 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
250x250