리버싱2 리눅스&윈도우 srand값 가져오는 법 #리눅스 srand값 가져오기 '''from ctypes import * libc = CDLL('/lib/x86_64-linux-gnu/libc.so.6') seed = 1 libc.srand(seed) print(libc.rand())''' #윈도우에서 srand값 가져오기 '''libc = CDLL("msvcrt")''' 2022. 2. 17. 파이썬 rol,ror함수 코드(구글링) def ROL(data, shift, size=32): shift %= size remains = data >> (size - shift) body = (data shift remains = (data 2022. 2. 17. 이전 1 다음