BeeF-Over-Wan
BeeF-Over-Wan copied to clipboard
Throwing syntax error while executing the BeefOverWan.py
python BeeFOverWan.py
File "/home/kali/BeeF-Over-Wan/BeeFOverWan.py", line 90 print '"{old_string}" not found in {filename}.'.format(**locals()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
go here - - - - (create Virtual Environment)
- Virtual Environments and Packages — Python 3.10.7 documentation (copy and paste in browser)
python3 -m venv tutorial-env
source tutorial-env/bin/activate
python -m pip install novas
python -m pip install requests==2.6.0
python -m pip install --upgrade requests
pip freeze > requirements.txt
python -m pip install -r requirements.txt
All command are provide here {12. Virtual Environments and Packages — Python 3.10.7 documentation }
run all command, then there install beefoverwan, ----- after install run ------
1.nano BeeFOverWan.py 2.Locate line 8 3.comment out (form termcolor import colored) 4.#form termcolor import colored 5.Ctrl+o 6.Ctrl+x
-----then run-----
-
chmod +x BeeFOverWan.py
-
python2 BeeFOverWan.py
Its best if you change the BeeFOverWan.py
's code so that it can run with python 3
Because it was made to run with python 2.
I have actually changed the file so that it can run with python3. Checkout my fork for that
Use 2to3.
pip install 2to3
there are plenty of guides online. Your problem is that the script is in python 2, this package can fix it for you.