chrizator / netattack2

An advanced network scan and attack script based on GUI. 2nd version of no-GUI netattack.
MIT License
413 stars 118 forks source link

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

Open RFHACKE opened 5 years ago

RFHACKE commented 5 years ago

i am getting this error when i start netattack2 python3 netattack2.py File "netattack2.py", line 37 subprocess.call("sudo apt-get install nmap -y > {}".format(os.devnull), shell=True) ^ TabError: inconsistent use of tabs and spaces in indentation

please reply fasttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt

RFHACKE commented 5 years ago

i am getting this error when i start netattack2 python3 netattack2.py File "netattack2.py", line 37 subprocess.call("sudo apt-get install nmap -y > {}".format(os.devnull), shell=True) ^ TabError: inconsistent use of tabs and spaces in indentation

please reply fasttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt

x3l51 commented 5 years ago

You can't use python3. Use this instead sudo python2 netattack2.py

You can alternatively look at my repos for I have made an fork that works with python3. It needs testing anyway.