dutzi / tamper

Devtools extension, lets you locally edit files served from the web (based on mitmproxy).
http://dutzi.github.io/tamper
MIT License
394 stars 36 forks source link

Windows: Error starting proxy #50

Open JediKnightChan opened 5 years ago

JediKnightChan commented 5 years ago

I had to install python2 and make "python" run python2 not python3 (by manipulating PATH). Now I installed tamper via pip, and Chrome extension, but it says it can't connect to proxy. image

Of course "mitmproxy" from cmd doesn't run anything. I have it installed via windows installer from their site, but directory with several their programs is not included in PATH.

576470954 commented 5 years ago

the first error maybe the lib problem.You can run tamper.py in /%python%/Scripts (in my pc, its D:\Python27\Scripts).It may tell you which package may incorrect, then check the version. The second error is cant connect to Native APP. I found my NativeMessage manifest "Path" is null. The location of this manifest file is described in https://developer.chrome.com/apps/nativeMessaging。the file name shoud be "com.dutzi.tamper.json".If you found the "path" is null ,you can put in your tamper.py path(like "/usr/local/bin/tamper.py").