Hack4S3cur1ty
pydivert와 pyinstaller오류 해결 본문
pydivert와 pyinstaller를 같이 사용했을 때 DLL을 못찾는 오류가 발생한다.
C:\Python27\Lib\site-packages\pydivert\windivert_dll\__init__.py 35번째줄을
if platform.architecture()[0] == "64bit":
DLL_PATH = "WinDivert64.dll"
#DLL_PATH = os.path.join(here, "WinDivert64.dll")
else:
DLL_PATH = "WinDivert32.dll"
#DLL_PATH = os.path.join(here, "WinDivert32.dll")
이렇게 수정해주면 된다.
pyinstaller로 나온 exe파일과 함께 dll파일들을 넣어주면 된다.
'TIPS' 카테고리의 다른 글
How to Jail-Break iOS 13.6 & Make debugging Environment (0) | 2020.08.18 |
---|---|
binary pattern search and patch (0) | 2020.08.12 |
pydivert를 이용한 python proxy? 패킷조작? (0) | 2020.05.31 |
Comments