Closed Kitt3120 closed 3 years ago
@Kitt3120 can you import scapy.all at your Python3(.9) shell enviroment?
psy@ventiska:$ python3.8
Python 3.8.3 (default, Jul 2 2020, 21:28:23)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from scapy.all import *
At some distros, you will see a message (maybe a good tip to fix your issue) after import it, that looks like this one:
_PIP package scapy-python3 used to provide scapy3k, which was a fork from scapy implementing python3 compatibility since 2016. This package was included in some of the Linux distros under name of python3-scapy. Starting from scapy version 2.4 (released in March, 2018) mainstream scapy supports python3. To reduce any confusion scapy3k was renamed to kamene.
You should use either pip package kamene for scapy3k (see http://github.com/phaethon/kamene for differences in use) or mainstream scapy (pip package scapy, http://github.com/secdev/scapy)_
Alright, thanks!
I will close this ticket, the problem is not within ufonet itself. When importing scapy, it throws this error: FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'
I researched it and it seems to be a problem with scapy in python 3.9.1 / 3.9.2.
There are 3 fixes to this:
However, the mentioned file was not in /usr/lib/x86_64-linux-gnu/, but directly in /usr/lib for me. So for me it was: cd /usr/lib/ sudo ln -s -f libc.a liblibc.a and then it worked!
@Kitt3120 I have removed those SyntaxWarning annoying messages from the sudo setup.py install output:
build/bdist.linux-x86_64/egg/core/webgui.py:2229: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if job_target_dec is not "":
build/bdist.linux-x86_64/egg/core/webgui.py:2378: SyntaxWarning: "is" with a literal. Did you mean "=="?
if v is 0: # not any data (or decryption allowed) on grid so discard
build/bdist.linux-x86_64/egg/core/webgui.py:2380: SyntaxWarning: "is" with a literal. Did you mean "=="?
if v is 1: # add this player as a rookie
[..]
After this commit: https://github.com/epsylon/ufonet/commit/9561ad7f444c6457a1f6a0d2284d109a29b2309c
Maybe you can help me test that they are no longer present at: python 3.9.2
This is my current log after having made the changes:
sudo python3 setup.py install
running install
running bdist_egg
running egg_info
creating ufonet.egg-info
writing entry points to ufonet.egg-info/entry_points.txt
writing ufonet.egg-info/PKG-INFO
writing dependency_links to ufonet.egg-info/dependency_links.txt
writing requirements to ufonet.egg-info/requires.txt
writing top-level names to ufonet.egg-info/top_level.txt
writing manifest file 'ufonet.egg-info/SOURCES.txt'
reading manifest file 'ufonet.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'ufonet.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/core
copying core/__init__.py -> build/lib/core
copying core/update.py -> build/lib/core
copying core/options.py -> build/lib/core
copying core/zombie.py -> build/lib/core
copying core/main.py -> build/lib/core
copying core/doll.py -> build/lib/core
copying core/ajaxmap.py -> build/lib/core
copying core/randomip.py -> build/lib/core
copying core/herd.py -> build/lib/core
copying core/webgui.py -> build/lib/core
creating build/lib/core/mods
copying core/mods/loic.py -> build/lib/core/mods
copying core/mods/overlap.py -> build/lib/core/mods
copying core/mods/__init__.py -> build/lib/core/mods
copying core/mods/nuke.py -> build/lib/core/mods
copying core/mods/loris.py -> build/lib/core/mods
copying core/mods/monlist.py -> build/lib/core/mods
copying core/mods/spray.py -> build/lib/core/mods
copying core/mods/uforst.py -> build/lib/core/mods
copying core/mods/xmas.py -> build/lib/core/mods
copying core/mods/tachyon.py -> build/lib/core/mods
copying core/mods/ufoack.py -> build/lib/core/mods
copying core/mods/sniper.py -> build/lib/core/mods
copying core/mods/ufoudp.py -> build/lib/core/mods
copying core/mods/droper.py -> build/lib/core/mods
copying core/mods/pinger.py -> build/lib/core/mods
copying core/mods/ufosyn.py -> build/lib/core/mods
copying core/mods/fraggle.py -> build/lib/core/mods
copying core/mods/smurf.py -> build/lib/core/mods
creating build/lib/core/tools
copying core/tools/__init__.py -> build/lib/core/tools
copying core/tools/abductor.py -> build/lib/core/tools
copying core/tools/crypter.py -> build/lib/core/tools
copying core/tools/blackhole.py -> build/lib/core/tools
copying core/tools/inspector.py -> build/lib/core/tools
copying core/tools/grider.py -> build/lib/core/tools
copying core/tools/ufoscan.py -> build/lib/core/tools
creating build/lib/core/js
copying core/js/ufo-cloud.css -> build/lib/core/js
copying core/js/ajaxmap.css -> build/lib/core/js
copying core/js/style.css -> build/lib/core/js
copying core/js/spaceinvaders.js -> build/lib/core/js
copying core/js/rlayer-src.js -> build/lib/core/js
copying core/js/raphael.js -> build/lib/core/js
copying core/js/jquery-1.10.2.min.js -> build/lib/core/js
copying core/js/stars.js -> build/lib/core/js
copying core/js/ufo.js -> build/lib/core/js
creating build/lib/core/js/leaflet
copying core/js/leaflet/leaflet.ie.css -> build/lib/core/js/leaflet
copying core/js/leaflet/leaflet.css -> build/lib/core/js/leaflet
copying core/js/leaflet/leaflet.js -> build/lib/core/js/leaflet
copying core/js/leaflet/leaflet-src.js -> build/lib/core/js/leaflet
creating build/lib/core/js/cluster
copying core/js/cluster/MarkerCluster.css -> build/lib/core/js/cluster
copying core/js/cluster/leaflet.markercluster-src.js -> build/lib/core/js/cluster
copying core/js/cluster/leaflet.markercluster.js -> build/lib/core/js/cluster
copying core/js/cluster/MarkerCluster.Default.ie.css -> build/lib/core/js/cluster
copying core/js/cluster/MarkerCluster.Default.css -> build/lib/core/js/cluster
creating build/lib/core/txt
copying core/txt/shipname.txt -> build/lib/core/txt
copying core/txt/wafs.txt -> build/lib/core/txt
copying core/txt/misc.txt -> build/lib/core/txt
copying core/txt/user-agents.txt -> build/lib/core/txt
copying core/txt/motherships.txt -> build/lib/core/txt
creating build/lib/core/images
creating build/lib/core/images/crew
copying core/images/crew/link5.txt -> build/lib/core/images/crew
copying core/images/crew/link2.txt -> build/lib/core/images/crew
copying core/images/crew/link7.txt -> build/lib/core/images/crew
copying core/images/crew/link9.txt -> build/lib/core/images/crew
copying core/images/crew/link4.txt -> build/lib/core/images/crew
copying core/images/crew/link6.txt -> build/lib/core/images/crew
copying core/images/crew/link3.txt -> build/lib/core/images/crew
copying core/images/crew/link1.txt -> build/lib/core/images/crew
copying core/images/crew/link10.txt -> build/lib/core/images/crew
copying core/images/crew/link12.txt -> build/lib/core/images/crew
copying core/images/crew/link11.txt -> build/lib/core/images/crew
copying core/images/crew/link8.txt -> build/lib/core/images/crew
creating build/lib/core/images/aliens
copying core/images/aliens/alien12.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien13.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien5.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien2.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien11.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien1.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien8.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien10.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien7.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien6.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien9.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien3.txt -> build/lib/core/images/aliens
copying core/images/aliens/alien4.txt -> build/lib/core/images/aliens
copying core/images/commander.txt -> build/lib/core/images
copying core/images/favicon.txt -> build/lib/core/images
copying core/images/ufonet-logo.txt -> build/lib/core/images
copying core/images/mothership.txt -> build/lib/core/images
copying core/images/aliens.txt -> build/lib/core/images
copying core/images/board.txt -> build/lib/core/images
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/core
creating build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/loic.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/overlap.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/__init__.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/nuke.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/loris.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/monlist.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/spray.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/uforst.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/xmas.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/tachyon.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/ufoack.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/sniper.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/ufoudp.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/droper.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/pinger.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/ufosyn.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/fraggle.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/mods/smurf.py -> build/bdist.linux-x86_64/egg/core/mods
copying build/lib/core/__init__.py -> build/bdist.linux-x86_64/egg/core
copying build/lib/core/update.py -> build/bdist.linux-x86_64/egg/core
copying build/lib/core/options.py -> build/bdist.linux-x86_64/egg/core
copying build/lib/core/zombie.py -> build/bdist.linux-x86_64/egg/core
copying build/lib/core/main.py -> build/bdist.linux-x86_64/egg/core
copying build/lib/core/doll.py -> build/bdist.linux-x86_64/egg/core
copying build/lib/core/ajaxmap.py -> build/bdist.linux-x86_64/egg/core
copying build/lib/core/randomip.py -> build/bdist.linux-x86_64/egg/core
copying build/lib/core/herd.py -> build/bdist.linux-x86_64/egg/core
creating build/bdist.linux-x86_64/egg/core/images
creating build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link5.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link2.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link7.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link9.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link4.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link6.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link3.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link1.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link10.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link12.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link11.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/crew/link8.txt -> build/bdist.linux-x86_64/egg/core/images/crew
copying build/lib/core/images/commander.txt -> build/bdist.linux-x86_64/egg/core/images
copying build/lib/core/images/favicon.txt -> build/bdist.linux-x86_64/egg/core/images
copying build/lib/core/images/ufonet-logo.txt -> build/bdist.linux-x86_64/egg/core/images
copying build/lib/core/images/mothership.txt -> build/bdist.linux-x86_64/egg/core/images
copying build/lib/core/images/aliens.txt -> build/bdist.linux-x86_64/egg/core/images
creating build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien12.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien13.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien5.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien2.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien11.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien1.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien8.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien10.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien7.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien6.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien9.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien3.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/aliens/alien4.txt -> build/bdist.linux-x86_64/egg/core/images/aliens
copying build/lib/core/images/board.txt -> build/bdist.linux-x86_64/egg/core/images
creating build/bdist.linux-x86_64/egg/core/txt
copying build/lib/core/txt/shipname.txt -> build/bdist.linux-x86_64/egg/core/txt
copying build/lib/core/txt/wafs.txt -> build/bdist.linux-x86_64/egg/core/txt
copying build/lib/core/txt/misc.txt -> build/bdist.linux-x86_64/egg/core/txt
copying build/lib/core/txt/user-agents.txt -> build/bdist.linux-x86_64/egg/core/txt
copying build/lib/core/txt/motherships.txt -> build/bdist.linux-x86_64/egg/core/txt
creating build/bdist.linux-x86_64/egg/core/js
copying build/lib/core/js/spaceinvaders.js -> build/bdist.linux-x86_64/egg/core/js
copying build/lib/core/js/rlayer-src.js -> build/bdist.linux-x86_64/egg/core/js
copying build/lib/core/js/ufo-cloud.css -> build/bdist.linux-x86_64/egg/core/js
creating build/bdist.linux-x86_64/egg/core/js/leaflet
copying build/lib/core/js/leaflet/leaflet.js -> build/bdist.linux-x86_64/egg/core/js/leaflet
copying build/lib/core/js/leaflet/leaflet.ie.css -> build/bdist.linux-x86_64/egg/core/js/leaflet
copying build/lib/core/js/leaflet/leaflet-src.js -> build/bdist.linux-x86_64/egg/core/js/leaflet
copying build/lib/core/js/leaflet/leaflet.css -> build/bdist.linux-x86_64/egg/core/js/leaflet
copying build/lib/core/js/raphael.js -> build/bdist.linux-x86_64/egg/core/js
copying build/lib/core/js/jquery-1.10.2.min.js -> build/bdist.linux-x86_64/egg/core/js
copying build/lib/core/js/ajaxmap.css -> build/bdist.linux-x86_64/egg/core/js
copying build/lib/core/js/style.css -> build/bdist.linux-x86_64/egg/core/js
copying build/lib/core/js/stars.js -> build/bdist.linux-x86_64/egg/core/js
copying build/lib/core/js/ufo.js -> build/bdist.linux-x86_64/egg/core/js
creating build/bdist.linux-x86_64/egg/core/js/cluster
copying build/lib/core/js/cluster/MarkerCluster.css -> build/bdist.linux-x86_64/egg/core/js/cluster
copying build/lib/core/js/cluster/leaflet.markercluster-src.js -> build/bdist.linux-x86_64/egg/core/js/cluster
copying build/lib/core/js/cluster/leaflet.markercluster.js -> build/bdist.linux-x86_64/egg/core/js/cluster
copying build/lib/core/js/cluster/MarkerCluster.Default.ie.css -> build/bdist.linux-x86_64/egg/core/js/cluster
copying build/lib/core/js/cluster/MarkerCluster.Default.css -> build/bdist.linux-x86_64/egg/core/js/cluster
copying build/lib/core/webgui.py -> build/bdist.linux-x86_64/egg/core
creating build/bdist.linux-x86_64/egg/core/tools
copying build/lib/core/tools/__init__.py -> build/bdist.linux-x86_64/egg/core/tools
copying build/lib/core/tools/abductor.py -> build/bdist.linux-x86_64/egg/core/tools
copying build/lib/core/tools/crypter.py -> build/bdist.linux-x86_64/egg/core/tools
copying build/lib/core/tools/blackhole.py -> build/bdist.linux-x86_64/egg/core/tools
copying build/lib/core/tools/inspector.py -> build/bdist.linux-x86_64/egg/core/tools
copying build/lib/core/tools/grider.py -> build/bdist.linux-x86_64/egg/core/tools
copying build/lib/core/tools/ufoscan.py -> build/bdist.linux-x86_64/egg/core/tools
byte-compiling build/bdist.linux-x86_64/egg/core/mods/loic.py to loic.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/overlap.py to overlap.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/nuke.py to nuke.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/loris.py to loris.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/monlist.py to monlist.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/spray.py to spray.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/uforst.py to uforst.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/xmas.py to xmas.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/tachyon.py to tachyon.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/ufoack.py to ufoack.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/sniper.py to sniper.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/ufoudp.py to ufoudp.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/droper.py to droper.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/pinger.py to pinger.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/ufosyn.py to ufosyn.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/fraggle.py to fraggle.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/mods/smurf.py to smurf.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/update.py to update.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/options.py to options.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/zombie.py to zombie.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/main.py to main.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/doll.py to doll.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/ajaxmap.py to ajaxmap.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/randomip.py to randomip.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/herd.py to herd.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/webgui.py to webgui.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/tools/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/tools/abductor.py to abductor.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/tools/crypter.py to crypter.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/tools/blackhole.py to blackhole.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/tools/inspector.py to inspector.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/tools/grider.py to grider.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/core/tools/ufoscan.py to ufoscan.cpython-35.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying ufonet.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ufonet.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ufonet.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ufonet.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ufonet.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ufonet.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying ufonet.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating dist
creating 'dist/ufonet-1.6-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing ufonet-1.6-py3.5.egg
removing '/usr/local/lib/python3.5/dist-packages/ufonet-1.6-py3.5.egg' (and everything under it)
creating /usr/local/lib/python3.5/dist-packages/ufonet-1.6-py3.5.egg
Extracting ufonet-1.6-py3.5.egg to /usr/local/lib/python3.5/dist-packages
ufonet 1.6 is already the active version in easy-install.pth
Installing ufonet script to /usr/local/bin
Installing ufonet script to /usr/local/bin
Installed /usr/local/lib/python3.5/dist-packages/ufonet-1.6-py3.5.egg
Processing dependencies for ufonet==1.6
Searching for whois==0.9.7
Best match: whois 0.9.7
Processing whois-0.9.7-py3.5.egg
whois 0.9.7 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages/whois-0.9.7-py3.5.egg
Searching for scapy-python3==0.20
Best match: scapy-python3 0.20
Adding scapy-python3 0.20 to easy-install.pth file
Using /usr/lib/python3/dist-packages
Searching for requests==2.25.1
Best match: requests 2.25.1
Processing requests-2.25.1-py3.5.egg
requests 2.25.1 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages/requests-2.25.1-py3.5.egg
Searching for python-geoip==1.2
Best match: python-geoip 1.2
Processing python_geoip-1.2-py3.5.egg
python-geoip 1.2 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages/python_geoip-1.2-py3.5.egg
Searching for pygeoip==0.3.2
Best match: pygeoip 0.3.2
Processing pygeoip-0.3.2-py3.5.egg
pygeoip 0.3.2 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages/pygeoip-0.3.2-py3.5.egg
Searching for pycurl==7.43.0
Best match: pycurl 7.43.0
Adding pycurl 7.43.0 to easy-install.pth file
Using /usr/lib/python3/dist-packages
Searching for pycrypto==2.6.1
Best match: pycrypto 2.6.1
Adding pycrypto 2.6.1 to easy-install.pth file
Using /usr/lib/python3/dist-packages
Searching for GeoIP==1.3.2
Best match: GeoIP 1.3.2
Processing GeoIP-1.3.2-py3.5-linux-x86_64.egg
GeoIP 1.3.2 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages/GeoIP-1.3.2-py3.5-linux-x86_64.egg
Searching for urllib3==1.26.3
Best match: urllib3 1.26.3
Processing urllib3-1.26.3-py3.5.egg
urllib3 1.26.3 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages/urllib3-1.26.3-py3.5.egg
Searching for idna==2.10
Best match: idna 2.10
Processing idna-2.10-py3.5.egg
idna 2.10 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages/idna-2.10-py3.5.egg
Searching for chardet==4.0.0
Best match: chardet 4.0.0
Processing chardet-4.0.0-py3.5.egg
chardet 4.0.0 is already the active version in easy-install.pth
Installing chardetect script to /usr/local/bin
Using /usr/local/lib/python3.5/dist-packages/chardet-4.0.0-py3.5.egg
Searching for certifi==2020.12.5
Best match: certifi 2020.12.5
Processing certifi-2020.12.5-py3.5.egg
certifi 2020.12.5 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages/certifi-2020.12.5-py3.5.egg
Finished processing dependencies for ufonet==1.6
Thanks!
Yup! Pulled the new commit and re-run the setup, it's not showing those syntax warnings anymore for me too.
Alright, thanks!
I will close this ticket, the problem is not within ufonet itself. When importing scapy, it throws this error: FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'
I researched it and it seems to be a problem with scapy in python 3.9.1 / 3.9.2.
There are 3 fixes to this:
- Downgrade to python 3.9, which I don't recommend anyone to do on arch. Partial upgrades are bad.
- Edit your python source code, so it searches for the "c" library instead of "libc". I also don't recommend this, I don't know about the side effects of that fix. Source: https://stackoverflow.com/questions/65410697/python-scapy-all-file-not-found
- Create a symbolic link. I recommend this fix! Source: https://stackoverflow.com/questions/65410481/filenotfounderror-errno-2-no-such-file-or-directory-bliblibc-a
However, the mentioned file was not in /usr/lib/x86_64-linux-gnu/, but directly in /usr/lib for me. So for me it was: cd /usr/lib/ sudo ln -s -f libc.a liblibc.a and then it worked!
THANKS THE 3. POINT HELPED ME AND FINALLY I'M ABLE TO RUN THE TOOL
root@shreyas-kali-linux:~/ufonet# python3 ufonet --gui
|| /\ || #===============================================#
-(00)- + (XX) + -(00)- || ||
|| || ~~~~ || || || > Botnet [DDoS] # > Close Combat [DoS] ||
-(00)- (0) XX (0) -(00)- || ||
|| | (00) |/ || || |-> ZOMBIES # |-> LOIC ||
(O) (O) 0'----'0 (O) (O) || |-> DROIDS # |-> LORIS ||
| |.''.( xx ).''.| | || |-> ALIENS # |-> UFOSYN ||
.'.' X|'..'|X '.'. || |-> UCAVs # |-> XMAS ||
.-. .' /'--.|00|.--'\ '. .-. || |-> X-RPCs # |-> NUKE ||
(O).)-|0| \ x| ## |x / |0|-(.(O) || |-> DBSTRESS # |-> UFOACK ||
-' '-'-._'-./ -00- \.-'_.-'-'
-' || |-> SPRAY # |-> UFORST ||
_ | || '-.||.-' || | || |-> SMURF # |-> DROPER ||
.' | ||==O | | O==|| | _ '. || |-> TACHYON # |-> OVERLAP ||
/ .' ''.| || | /00\ | || |.'' '. \ || |-> MONLIST # |-> PINGER ||
| '### | =| | ###### | |= |' ### | || |-> FRAGGLE # |-> UFOUDP ||
| |(0)| '. 0||_** ||/0 .' |(0)| | || |-> SNIPER # ||
\ '..' '. | _##/ | .' '._.' / || ||
'. 0_'.|'--'|.'_0 _.' #|=============================================|#
.'.-| YY |-._'. || ||
|| -> [ UFONet: https://ufonet.03c8.net ] <- ||
[Info] [AI] Cannot found: "core/json/webcfg.json" -> [Generating!] [Info] [AI] Cannot found: "core/json/boardcfg.json" -> [Generating!] [Info] [AI] Cannot found: "core/json/gridcfg.json" -> [Generating!]
Hey! I'm running Arch Linux with python 3.9.2 and pip 21.0.1. I installed all the required dependencies. I have tried it with
However, none of the above ways work, ufonet always said that it can't load scapy lib.
pip freeze output
acme==1.12.0 appdirs==1.4.4 asn1crypto==1.4.0 attrs==20.3.0 Automat==20.2.0 beautifulsoup4==4.9.3 boto3==1.17.18 botocore==1.20.18 btrfsutil==5.10.1 CacheControl==0.12.6 cached-property==1.5.2 cachetools==4.2.1 ceph==1.0.0 ceph-volume==1.0.0 cephfs==2.0.0 cephfs-shell==0.0.1 certbot==1.12.0 certbot-apache==1.12.0 certbot-dns-cloudflare==1.12.0 certbot-dns-cloudxns==1.12.0 certbot-dns-digitalocean==1.12.0 certbot-dns-dnsimple==1.12.0 certbot-dns-dnsmadeeasy==1.12.0 certbot-dns-gehirn==1.12.0 certbot-dns-google==1.12.0 certbot-dns-linode==1.12.0 certbot-dns-luadns==1.12.0 certbot-dns-nsone==1.12.0 certbot-dns-ovh==1.12.0 certbot-dns-rfc2136==1.12.0 certbot-dns-route53==1.12.0 certbot-dns-sakuracloud==1.12.0 certbot-nginx==1.12.0 cffi==1.14.5 chardet==4.0.0 click==7.1.2 cloudflare==2.8.15 cmd2==1.5.0 colorama==0.4.4 ConfigArgParse==1.3 configobj==5.1.0.dev0 constantly==15.1.0 contextlib2==0.6.0.post1 cryptography==3.4.6 defusedxml==0.6.0 distlib==0.3.1 distro==1.5.0 dns-lexicon==3.5.3 dnspython==2.1.0 docutils==0.16 fail2ban==0.11.2 filelock==3.0.12 future==0.18.2 **_GeoIP==1.3.2_** google-api-core==1.26.0 google-api-python-client==1.12.8 google-auth==1.27.0 google-auth-httplib2==0.0.4 googleapis-common-protos==1.53.0 gpg==1.15.1 html5lib==1.1 httplib2==0.19.0 hyperlink==21.0.0 idna==3.1 importlib-metadata==3.7.0 incremental==21.3.0 iotop==0.6 isc==2.0 isodate==0.6.0 jmespath==0.10.0 josepy==1.7.0 jsonlines==2.0.0 jsonpickle==2.0.0 libmsym==0.2.4 louis==3.16.0 lxml==4.6.2 meson==0.57.1 mock==4.0.3 msgpack==1.0.2 netsnmp-python==1.0a1 oauth2client==4.1.3 ordered-set==4.0.2 packaging==20.9 parsedatetime==2.6 pbr==5.5.1 pep517==0.9.1 ply==3.11 progress==1.5 protobuf==3.15.3 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycparser==2.20 **_pycrypto==2.6.1_** pycryptodome==3.10.1 **_pycurl==7.43.0.6_** **_pygeoip==0.3.2_** PyHamcrest==2.0.2 pyinotify==0.9.6 pyOpenSSL==20.0.1 pyparsing==2.4.7 pyperclip==1.8.2 PyQt5==5.15.3 PyQt5-sip==12.8.1 pyRFC3339==1.1 PySocks==1.7.1 python-augeas==1.1.0 python-dateutil==2.8.1 python-digitalocean==1.16.0 **_python-geoip==1.2_** pytz==2021.1 pyxdg==0.26 PyYAML==5.3.1 rados==2.0.0 rbd==2.0.0 Reflector==2021.1.10.0.6.34 **_requests==2.25.1_** requests-file==1.5.1 requests-toolbelt==0.9.1 resolvelib==0.5.4 retrying==1.3.3 rgw==2.0.0 rsa==4.7.2 s3transfer==0.3.4 scapy==2.4.4 **_scapy-python3==0.26_** six==1.15.0 soupsieve==2.2 speedtest-cli==2.1.2 systemd-python==234 team==1.0 tldextract==3.1.0 toml==0.10.2 torbrowser-launcher==0.3.3 Twisted==21.2.0 ufonet==1.6 uritemplate==3.0.1 urllib3==1.26.3 validate==5.1.0.dev0 wcwidth==0.2.5 webencodings==0.5.1 **_whois==0.9.7_** zeep==4.0.0 zipp==3.4.0 zope.component==4.6.2 zope.deferredimport==4.3.1 zope.deprecation==4.4.0 zope.event==4.5.0 zope.hookable==5.0.1 zope.interface==5.2.0 zope.proxy==4.3.5sudo python3 setup.py install output
running install running bdist_egg running egg_info writing ufonet.egg-info/PKG-INFO writing dependency_links to ufonet.egg-info/dependency_links.txt writing entry points to ufonet.egg-info/entry_points.txt writing requirements to ufonet.egg-info/requires.txt writing top-level names to ufonet.egg-info/top_level.txt reading manifest file 'ufonet.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'ufonet.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/core creating build/bdist.linux-x86_64/egg/core/txt copying build/lib/core/txt/wafs.txt -> build/bdist.linux-x86_64/egg/core/txt copying build/lib/core/txt/motherships.txt -> build/bdist.linux-x86_64/egg/core/txt copying build/lib/core/txt/misc.txt -> build/bdist.linux-x86_64/egg/core/txt copying build/lib/core/txt/user-agents.txt -> build/bdist.linux-x86_64/egg/core/txt copying build/lib/core/main.py -> build/bdist.linux-x86_64/egg/core copying build/lib/core/ajaxmap.py -> build/bdist.linux-x86_64/egg/core creating build/bdist.linux-x86_64/egg/core/images copying build/lib/core/images/favicon.txt -> build/bdist.linux-x86_64/egg/core/images copying build/lib/core/images/ufonet-logo.txt -> build/bdist.linux-x86_64/egg/core/images copying build/lib/core/images/commander.txt -> build/bdist.linux-x86_64/egg/core/images copying build/lib/core/images/mothership.txt -> build/bdist.linux-x86_64/egg/core/images creating build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien1.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien5.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien12.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien13.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien4.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien3.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien11.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien6.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien2.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien9.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien8.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien7.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/aliens/alien10.txt -> build/bdist.linux-x86_64/egg/core/images/aliens copying build/lib/core/images/board.txt -> build/bdist.linux-x86_64/egg/core/images copying build/lib/core/images/aliens.txt -> build/bdist.linux-x86_64/egg/core/images creating build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link7.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link9.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link2.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link3.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link6.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link1.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link12.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link4.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link5.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link10.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link8.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/images/crew/link11.txt -> build/bdist.linux-x86_64/egg/core/images/crew copying build/lib/core/randomip.py -> build/bdist.linux-x86_64/egg/core copying build/lib/core/herd.py -> build/bdist.linux-x86_64/egg/core creating build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/spray.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/ufoack.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/monlist.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/smurf.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/xmas.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/overlap.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/fraggle.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/droper.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/pinger.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/uforst.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/sniper.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/loic.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/tachyon.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/nuke.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/ufosyn.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/ufoudp.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/loris.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/mods/__init__.py -> build/bdist.linux-x86_64/egg/core/mods copying build/lib/core/zombie.py -> build/bdist.linux-x86_64/egg/core creating build/bdist.linux-x86_64/egg/core/js creating build/bdist.linux-x86_64/egg/core/js/cluster copying build/lib/core/js/cluster/leaflet.markercluster-src.js -> build/bdist.linux-x86_64/egg/core/js/cluster copying build/lib/core/js/cluster/MarkerCluster.Default.ie.css -> build/bdist.linux-x86_64/egg/core/js/cluster copying build/lib/core/js/cluster/MarkerCluster.css -> build/bdist.linux-x86_64/egg/core/js/cluster copying build/lib/core/js/cluster/leaflet.markercluster.js -> build/bdist.linux-x86_64/egg/core/js/cluster copying build/lib/core/js/cluster/MarkerCluster.Default.css -> build/bdist.linux-x86_64/egg/core/js/cluster copying build/lib/core/js/stars.js -> build/bdist.linux-x86_64/egg/core/js creating build/bdist.linux-x86_64/egg/core/js/leaflet copying build/lib/core/js/leaflet/leaflet.js -> build/bdist.linux-x86_64/egg/core/js/leaflet copying build/lib/core/js/leaflet/leaflet.ie.css -> build/bdist.linux-x86_64/egg/core/js/leaflet copying build/lib/core/js/leaflet/leaflet-src.js -> build/bdist.linux-x86_64/egg/core/js/leaflet copying build/lib/core/js/leaflet/leaflet.css -> build/bdist.linux-x86_64/egg/core/js/leaflet copying build/lib/core/js/ufo.js -> build/bdist.linux-x86_64/egg/core/js copying build/lib/core/js/ajaxmap.css -> build/bdist.linux-x86_64/egg/core/js copying build/lib/core/js/raphael.js -> build/bdist.linux-x86_64/egg/core/js copying build/lib/core/js/jquery-1.10.2.min.js -> build/bdist.linux-x86_64/egg/core/js copying build/lib/core/js/spaceinvaders.js -> build/bdist.linux-x86_64/egg/core/js copying build/lib/core/js/rlayer-src.js -> build/bdist.linux-x86_64/egg/core/js copying build/lib/core/js/style.css -> build/bdist.linux-x86_64/egg/core/js copying build/lib/core/js/ufo-cloud.css -> build/bdist.linux-x86_64/egg/core/js copying build/lib/core/update.py -> build/bdist.linux-x86_64/egg/core copying build/lib/core/options.py -> build/bdist.linux-x86_64/egg/core copying build/lib/core/webgui.py -> build/bdist.linux-x86_64/egg/core copying build/lib/core/__init__.py -> build/bdist.linux-x86_64/egg/core copying build/lib/core/doll.py -> build/bdist.linux-x86_64/egg/core creating build/bdist.linux-x86_64/egg/core/tools copying build/lib/core/tools/inspector.py -> build/bdist.linux-x86_64/egg/core/tools copying build/lib/core/tools/grider.py -> build/bdist.linux-x86_64/egg/core/tools copying build/lib/core/tools/ufoscan.py -> build/bdist.linux-x86_64/egg/core/tools copying build/lib/core/tools/blackhole.py -> build/bdist.linux-x86_64/egg/core/tools copying build/lib/core/tools/abductor.py -> build/bdist.linux-x86_64/egg/core/tools copying build/lib/core/tools/crypter.py -> build/bdist.linux-x86_64/egg/core/tools copying build/lib/core/tools/__init__.py -> build/bdist.linux-x86_64/egg/core/tools byte-compiling build/bdist.linux-x86_64/egg/core/main.py to main.cpython-39.pyc build/bdist.linux-x86_64/egg/core/main.py:3325: SyntaxWarning: "is not" with a literal. Did you mean "!="? if url_link not in zombies and url_link+os.linesep not in zombies_found and url_link is not "": # AI mode (parsing search engines mixed pool and stored army) byte-compiling build/bdist.linux-x86_64/egg/core/ajaxmap.py to ajaxmap.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/randomip.py to randomip.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/herd.py to herd.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/spray.py to spray.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/ufoack.py to ufoack.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/monlist.py to monlist.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/smurf.py to smurf.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/xmas.py to xmas.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/overlap.py to overlap.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/fraggle.py to fraggle.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/droper.py to droper.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/pinger.py to pinger.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/uforst.py to uforst.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/sniper.py to sniper.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/loic.py to loic.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/tachyon.py to tachyon.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/nuke.py to nuke.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/ufosyn.py to ufosyn.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/ufoudp.py to ufoudp.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/loris.py to loris.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/mods/__init__.py to __init__.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/zombie.py to zombie.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/update.py to update.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/options.py to options.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/webgui.py to webgui.cpython-39.pyc build/bdist.linux-x86_64/egg/core/webgui.py:2229: SyntaxWarning: "is not" with a literal. Did you mean "!="? if job_target_dec is not "": build/bdist.linux-x86_64/egg/core/webgui.py:2378: SyntaxWarning: "is" with a literal. Did you mean "=="? if v is 0: # not any data (or decryption allowed) on grid so discard build/bdist.linux-x86_64/egg/core/webgui.py:2380: SyntaxWarning: "is" with a literal. Did you mean "=="? if v is 1: # add this player as a rookie build/bdist.linux-x86_64/egg/core/webgui.py:2383: SyntaxWarning: "is" with a literal. Did you mean "=="? elif v is 2: # add this player as a mercenary build/bdist.linux-x86_64/egg/core/webgui.py:2386: SyntaxWarning: "is" with a literal. Did you mean "=="? elif v is 3: # add this player as a bandit build/bdist.linux-x86_64/egg/core/webgui.py:2389: SyntaxWarning: "is" with a literal. Did you mean "=="? elif v is 4: # add this player as a ufommander build/bdist.linux-x86_64/egg/core/webgui.py:2392: SyntaxWarning: "is" with a literal. Did you mean "=="? elif v is 5: # add this player as a ufoleet build/bdist.linux-x86_64/egg/core/webgui.py:4229: SyntaxWarning: "is not" with a literal. Did you mean "!="? if job_id is not "": build/bdist.linux-x86_64/egg/core/webgui.py:4256: SyntaxWarning: "is not" with a literal. Did you mean "!="? if key is not "": build/bdist.linux-x86_64/egg/core/webgui.py:4335: SyntaxWarning: "is not" with a literal. Did you mean "!="? if job_id is not "": build/bdist.linux-x86_64/egg/core/webgui.py:4397: SyntaxWarning: "is not" with a literal. Did you mean "!="? if job_id is not "": build/bdist.linux-x86_64/egg/core/webgui.py:5508: SyntaxWarning: "is not" with a literal. Did you mean "!="? if grid_key is not "": # stream creation + encryption + package send build/bdist.linux-x86_64/egg/core/webgui.py:5719: SyntaxWarning: "is not" with a literal. Did you mean "!="? if wargames_enckey is not "": # stream creation + encryption + package send build/bdist.linux-x86_64/egg/core/webgui.py:5785: SyntaxWarning: "is not" with a literal. Did you mean "!="? if link_enckey is not "": # stream creation + encryption + package send build/bdist.linux-x86_64/egg/core/webgui.py:5849: SyntaxWarning: "is not" with a literal. Did you mean "!="? if stream_enckey is not "": # stream creation + encryption + package send build/bdist.linux-x86_64/egg/core/webgui.py:5920: SyntaxWarning: "is not" with a literal. Did you mean "!="? if globalnet_enckey is not "": # stream creation + encryption + package send build/bdist.linux-x86_64/egg/core/webgui.py:6010: SyntaxWarning: "is not" with a literal. Did you mean "!="? if board_key is not "" or board_topic is not "" or board_message is not "": # stream creation (topic | icon | nick | id | comment) + encryption (board_key) + package send (default blackhole) build/bdist.linux-x86_64/egg/core/webgui.py:6010: SyntaxWarning: "is not" with a literal. Did you mean "!="? if board_key is not "" or board_topic is not "" or board_message is not "": # stream creation (topic | icon | nick | id | comment) + encryption (board_key) + package send (default blackhole) build/bdist.linux-x86_64/egg/core/webgui.py:6010: SyntaxWarning: "is not" with a literal. Did you mean "!="? if board_key is not "" or board_topic is not "" or board_message is not "": # stream creation (topic | icon | nick | id | comment) + encryption (board_key) + package send (default blackhole) build/bdist.linux-x86_64/egg/core/webgui.py:6080: SyntaxWarning: "is not" with a literal. Did you mean "!="? if news_key is not "": # news decryption build/bdist.linux-x86_64/egg/core/webgui.py:6102: SyntaxWarning: "is not" with a literal. Did you mean "!="? if missions_key is not "": # missions decryption build/bdist.linux-x86_64/egg/core/webgui.py:6209: SyntaxWarning: "is not" with a literal. Did you mean "!="? if board_key is not "": # board decryption build/bdist.linux-x86_64/egg/core/webgui.py:6288: SyntaxWarning: "is not" with a literal. Did you mean "!="? if grid_key is not "": # grid decryption build/bdist.linux-x86_64/egg/core/webgui.py:7040: SyntaxWarning: "is not" with a literal. Did you mean "!="? if wargames_deckey is not "": # wargames decryption build/bdist.linux-x86_64/egg/core/webgui.py:7184: SyntaxWarning: "is not" with a literal. Did you mean "!="? if link_deckey is not "": # links decryption build/bdist.linux-x86_64/egg/core/webgui.py:7234: SyntaxWarning: "is not" with a literal. Did you mean "!="? if stream_deckey is not "": # streams decryption build/bdist.linux-x86_64/egg/core/webgui.py:7288: SyntaxWarning: "is not" with a literal. Did you mean "!="? if globalnet_deckey is not "": # globalnet decryption byte-compiling build/bdist.linux-x86_64/egg/core/__init__.py to __init__.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/doll.py to doll.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/tools/inspector.py to inspector.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/tools/grider.py to grider.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/tools/ufoscan.py to ufoscan.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/tools/blackhole.py to blackhole.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/tools/abductor.py to abductor.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/tools/crypter.py to crypter.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/core/tools/__init__.py to __init__.cpython-39.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying ufonet.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying ufonet.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying ufonet.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying ufonet.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying ufonet.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO copying ufonet.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying ufonet.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO creating 'dist/ufonet-1.6-py3.9.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing ufonet-1.6-py3.9.egg removing '/usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg' (and everything under it) creating /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg Extracting ufonet-1.6-py3.9.egg to /usr/lib/python3.9/site-packages /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/main.py:3325: SyntaxWarning: "is not" with a literal. Did you mean "!="? if url_link not in zombies and url_link+os.linesep not in zombies_found and url_link is not "": # AI mode (parsing search engines mixed pool and stored army) /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:2229: SyntaxWarning: "is not" with a literal. Did you mean "!="? if job_target_dec is not "": /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:2378: SyntaxWarning: "is" with a literal. Did you mean "=="? if v is 0: # not any data (or decryption allowed) on grid so discard /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:2380: SyntaxWarning: "is" with a literal. Did you mean "=="? if v is 1: # add this player as a rookie /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:2383: SyntaxWarning: "is" with a literal. Did you mean "=="? elif v is 2: # add this player as a mercenary /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:2386: SyntaxWarning: "is" with a literal. Did you mean "=="? elif v is 3: # add this player as a bandit /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:2389: SyntaxWarning: "is" with a literal. Did you mean "=="? elif v is 4: # add this player as a ufommander /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:2392: SyntaxWarning: "is" with a literal. Did you mean "=="? elif v is 5: # add this player as a ufoleet /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:4229: SyntaxWarning: "is not" with a literal. Did you mean "!="? if job_id is not "": /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:4256: SyntaxWarning: "is not" with a literal. Did you mean "!="? if key is not "": /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:4335: SyntaxWarning: "is not" with a literal. Did you mean "!="? if job_id is not "": /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:4397: SyntaxWarning: "is not" with a literal. Did you mean "!="? if job_id is not "": /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:5508: SyntaxWarning: "is not" with a literal. Did you mean "!="? if grid_key is not "": # stream creation + encryption + package send /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:5719: SyntaxWarning: "is not" with a literal. Did you mean "!="? if wargames_enckey is not "": # stream creation + encryption + package send /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:5785: SyntaxWarning: "is not" with a literal. Did you mean "!="? if link_enckey is not "": # stream creation + encryption + package send /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:5849: SyntaxWarning: "is not" with a literal. Did you mean "!="? if stream_enckey is not "": # stream creation + encryption + package send /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:5920: SyntaxWarning: "is not" with a literal. Did you mean "!="? if globalnet_enckey is not "": # stream creation + encryption + package send /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:6010: SyntaxWarning: "is not" with a literal. Did you mean "!="? if board_key is not "" or board_topic is not "" or board_message is not "": # stream creation (topic | icon | nick | id | comment) + encryption (board_key) + package send (default blackhole) /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:6010: SyntaxWarning: "is not" with a literal. Did you mean "!="? if board_key is not "" or board_topic is not "" or board_message is not "": # stream creation (topic | icon | nick | id | comment) + encryption (board_key) + package send (default blackhole) /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:6010: SyntaxWarning: "is not" with a literal. Did you mean "!="? if board_key is not "" or board_topic is not "" or board_message is not "": # stream creation (topic | icon | nick | id | comment) + encryption (board_key) + package send (default blackhole) /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:6080: SyntaxWarning: "is not" with a literal. Did you mean "!="? if news_key is not "": # news decryption /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:6102: SyntaxWarning: "is not" with a literal. Did you mean "!="? if missions_key is not "": # missions decryption /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:6209: SyntaxWarning: "is not" with a literal. Did you mean "!="? if board_key is not "": # board decryption /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:6288: SyntaxWarning: "is not" with a literal. Did you mean "!="? if grid_key is not "": # grid decryption /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:7040: SyntaxWarning: "is not" with a literal. Did you mean "!="? if wargames_deckey is not "": # wargames decryption /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:7184: SyntaxWarning: "is not" with a literal. Did you mean "!="? if link_deckey is not "": # links decryption /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:7234: SyntaxWarning: "is not" with a literal. Did you mean "!="? if stream_deckey is not "": # streams decryption /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg/core/webgui.py:7288: SyntaxWarning: "is not" with a literal. Did you mean "!="? if globalnet_deckey is not "": # globalnet decryption ufonet 1.6 is already the active version in easy-install.pth Installing ufonet script to /usr/bin Installing ufonet script to /usr/bin Installed /usr/lib/python3.9/site-packages/ufonet-1.6-py3.9.egg Processing dependencies for ufonet==1.6 Searching for scapy-python3==0.26 Best match: scapy-python3 0.26 Processing scapy_python3-0.26-py3.9.egg scapy-python3 0.26 is already the active version in easy-install.pth Using /usr/lib/python3.9/site-packages/scapy_python3-0.26-py3.9.egg Searching for whois==0.9.7 Best match: whois 0.9.7 Processing whois-0.9.7-py3.9.egg whois 0.9.7 is already the active version in easy-install.pth Using /usr/lib/python3.9/site-packages/whois-0.9.7-py3.9.egg Searching for pycurl==7.43.0.6 Best match: pycurl 7.43.0.6 Adding pycurl 7.43.0.6 to easy-install.pth file Using /usr/lib/python3.9/site-packages Searching for pycrypto==2.6.1 Best match: pycrypto 2.6.1 Adding pycrypto 2.6.1 to easy-install.pth file Using /usr/lib/python3.9/site-packages Searching for requests==2.25.1 Best match: requests 2.25.1 Adding requests 2.25.1 to easy-install.pth file Using /usr/lib/python3.9/site-packages Searching for pygeoip==0.3.2 Best match: pygeoip 0.3.2 Adding pygeoip 0.3.2 to easy-install.pth file Using /usr/lib/python3.9/site-packages Searching for python-geoip==1.2 Best match: python-geoip 1.2 Adding python-geoip 1.2 to easy-install.pth file Using /usr/lib/python3.9/site-packages Searching for GeoIP==1.3.2 Best match: GeoIP 1.3.2 Adding GeoIP 1.3.2 to easy-install.pth file Using /usr/lib/python3.9/site-packages Searching for urllib3==1.26.3 Best match: urllib3 1.26.3 Adding urllib3 1.26.3 to easy-install.pth file Using /usr/lib/python3.9/site-packages Searching for idna==3.1 Best match: idna 3.1 Adding idna 3.1 to easy-install.pth file Using /usr/lib/python3.9/site-packages Searching for chardet==4.0.0 Best match: chardet 4.0.0 Adding chardet 4.0.0 to easy-install.pth file Installing chardetect script to /usr/bin Using /usr/lib/python3.9/site-packages Finished processing dependencies for ufonet==1.6ufonet output
Error importing: scapy lib. To install it on Debian based systems: $ 'sudo apt-get install python3-scapy'However, it is installed
$ sudo pip3 install scapy-python3 Requirement already satisfied: scapy-python3 in /usr/lib/python3.9/site-packages/scapy_python3-0.26-py3.9.egg (0.26) $ sudo pip3 install scapy Requirement already satisfied: scapy in /usr/lib/python3.9/site-packages (2.4.4)