You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if the prompt_toolkit is not already installed, launching netspionage results in this error:
python netspionage.py
"Seems like you haven't installed Requirements or You are not using python3 version."
running it from the python shell shows why it fails.
python3
Python 3.8.10 (default, Mar 25 2024, 10:42:49)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
from core import prompts
Traceback (most recent call last):
File "", line 1, in
File "/home/xxxx/netspionage/core/init.py", line 1, in
from .prompts import *
File "/home/xxxx/netspionage/core/prompts.py", line 1, in
from prompt_toolkit import prompt ModuleNotFoundError: No module named 'prompt_toolkit'
if the prompt_toolkit is not already installed, launching netspionage results in this error:
python netspionage.py
"Seems like you haven't installed Requirements or You are not using python3 version."
running it from the python shell shows why it fails.
python3
Python 3.8.10 (default, Mar 25 2024, 10:42:49)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Then :
pip3 install prompt_toolkit
Collecting prompt_toolkit
Downloading prompt_toolkit-3.0.47-py3-none-any.whl (386 kB)
|████████████████████████████████| 386 kB 1.3 MB/s
Collecting wcwidth
Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Installing collected packages: wcwidth, prompt-toolkit
Successfully installed prompt-toolkit-3.0.47 wcwidth-0.2.13
(.venv) 1:
/xxx/netspionage/core$ cd ../xxx/netspionage$ python netspionage.py(.venv) 1:
/ __ / _ / / / __ / / __ / __ / __
/ __
/ _/ / / / __/ /( ) // / / // / / / / // / // / /
// //_/_// .//_// //_,/_, /___/
// /____/
Created by Angelina Tsuboi [angelinatsuboi.net] V.0.0.1
https://github.com/ANG13T/netspionage
ENTER 1 - 4 TO SELECT OPTIONS
SCANNING Scan for IPs, nearby APs, ports, hosts, and more
RECONNAISSANCE Gather information about nearby MAC addresses
DETECTION Detect for ARP Spoofing and SYN Flood attacks
EXIT Exit from netspionage to your terminal
FIX: add prompt_toolkit to the requirements.txt
(.venv) 1:~/xxx/netspionage$ cat requirements.txt
scapy
pandas
pick
requests==2.28.0
termcolor
prompt_toolkit
netspionage >>
Verification:
(.venv) 1:
/xxx/netspionage$ pip3 install -r requirements.txt=2.0.0 in ./.venv/lib/python3.8/site-packages (from requests==2.28.0->-r requirements.txt (line 4)) (2.0.12)Requirement already satisfied: scapy in ./.venv/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.5.0)
Requirement already satisfied: pandas in ./.venv/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.0.3)
Requirement already satisfied: pick in ./.venv/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (2.3.2)
Requirement already satisfied: requests==2.28.0 in ./.venv/lib/python3.8/site-packages (from -r requirements.txt (line 4)) (2.28.0)
Requirement already satisfied: termcolor in ./.venv/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (2.4.0)
Collecting prompt_toolkit
Using cached prompt_toolkit-3.0.47-py3-none-any.whl (386 kB)
Requirement already satisfied: numpy>=1.20.3; python_version < "3.10" in ./.venv/lib/python3.8/site-packages (from pandas->-r requirements.txt (line 2)) (1.24.4)
Requirement already satisfied: pytz>=2020.1 in ./.venv/lib/python3.8/site-packages (from pandas->-r requirements.txt (line 2)) (2024.1)
Requirement already satisfied: tzdata>=2022.1 in ./.venv/lib/python3.8/site-packages (from pandas->-r requirements.txt (line 2)) (2024.1)
Requirement already satisfied: python-dateutil>=2.8.2 in ./.venv/lib/python3.8/site-packages (from pandas->-r requirements.txt (line 2)) (2.9.0.post0)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.8/site-packages (from requests==2.28.0->-r requirements.txt (line 4)) (3.7)
Requirement already satisfied: charset-normalizer
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/lib/python3.8/site-packages (from requests==2.28.0->-r requirements.txt (line 4)) (1.26.19)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.8/site-packages (from requests==2.28.0->-r requirements.txt (line 4)) (2024.7.4)
Requirement already satisfied: wcwidth in ./.venv/lib/python3.8/site-packages (from prompt_toolkit->-r requirements.txt (line 6)) (0.2.13)
Requirement already satisfied: six>=1.5 in ./.venv/lib/python3.8/site-packages (from python-dateutil>=2.8.2->pandas->-r requirements.txt (line 2)) (1.16.0)
Installing collected packages: prompt-toolkit
Successfully installed prompt-toolkit-3.0.47
(.venv) 1:~/xxx/netspionage$ python netspionage.py
/ __ / _ / / / __ / / __ / __ / __
/ __
/ _/ / / / __/ /( ) // / / // / / / / // / // / /
// //_/_// .//_// //_,/_, /___/
// /____/
Created by Angelina Tsuboi [angelinatsuboi.net] V.0.0.1
https://github.com/ANG13T/netspionage
ENTER 1 - 4 TO SELECT OPTIONS
SCANNING Scan for IPs, nearby APs, ports, hosts, and more
RECONNAISSANCE Gather information about nearby MAC addresses
DETECTION Detect for ARP Spoofing and SYN Flood attacks
EXIT Exit from netspionage to your terminal
netspionage >> 4
Till next time!
Recommendation:
modify requirements.txt to include prompt_toolkit.
regards,
PH.
The text was updated successfully, but these errors were encountered: