Go to file
root 7774bb5e6b save previous update 2023-12-14 12:54:02 +00:00
__pycache__ first commit 2023-06-21 21:15:51 +00:00
log Actualiser log/Pyng.log 2023-06-23 09:36:47 +00:00
static adding export 2023-11-09 11:11:19 +00:00
templates adding export 2023-11-09 11:11:19 +00:00
README.md first commit 2023-06-21 21:15:51 +00:00
app.py save previous update 2023-12-14 12:54:02 +00:00
pyng.service first commit 2023-06-21 21:15:51 +00:00
requirements.txt first commit 2023-06-21 21:15:51 +00:00

README.md

Pyng

Network subnet live scanner and port scanner for URL or IP.

MIT License GPLv3 License AGPL License

Installation

System require only to have a python3 and pip3 package

  apt install git python3.9 python3-pip iperf3

Install the python3 packages

  pip3 install requests scapy simplepam flask_fontawesome flask_navigation flask_socketio iperf3

You can also use the requirements file in this git repo.

  pip3 install -r requirements.txt

Then pull the git poject.

Run

Go to the Pyng folder and run :

  python3 app.py

Optimizations

!! Take care that by default, to be use in production, the parameter allow_unsafe_werkzeug is set to True !!

You can change the used port (by default 5006) in this last line in the python app.py

  if __name__ == '__main__':
    socketio.run(app, host='0.0.0.0', port='5006',  allow_unsafe_werkzeug=True)

You can also run it using systemctl, just create a pyng.service in /etc/systemd/system/ with these infos :

  [Unit]
  Description= Pyng service
  After=multi-user.target
  [Service]
  Type=simple
  Restart=always
  ExecStart=/usr/bin/python3 </path/to/Pyng/app.py>
  [Install]
  WantedBy=multi-user.target

Then reload systemctl, enable it (if you want it on server start) and start it:

  systemctl daemon-reload
  systemctl enable pyng.service
  systemctl start pyng.service