BusesCanFly / PRETty

"PRinter Exploitation Toolkit" LAN automation tool
GNU General Public License v3.0
197 stars 50 forks source link

TabError: inconsistent use of tabs and spaces in indentation #2

Open FoxMaccloud opened 1 year ago

FoxMaccloud commented 1 year ago
./PRETty.py 
  File "/home/foxmaccloud/Programs/PRET/PRETty/./PRETty.py", line 54
    os.system('cat ./IP/pcap.txt | grep -iE "Hewlett|Brother|Kyocera|Laserjet" > ./IP/raw_list 2>/dev/null')
TabError: inconsistent use of tabs and spaces in indentation

Steps to reproduce: install like;

git clone https://github.com/RUB-NDS/PRET && cd PRET && git clone https://github.com/BusesCanFly/PRETty && cd PRETty && chmod +x PRETty.py

run like; ./PRETty.py

itsaamee commented 1 year ago

Same issue. Did you find a solution?

ANewSpecies commented 1 year ago

Run it with python2, not python3. e.g. python2 ./PRETty.py