-
-
Notifications
You must be signed in to change notification settings - Fork 603
Description
What's the problem (or question)?
setup script is not working in kali.
──(kali㉿kali)-[~/git]
└─$ cat /etc/issue
grep VERSION /etc/os-release
Kali GNU/Linux Rolling \n \l
VERSION="2022.1"
VERSION_ID="2022.1"
VERSION_CODENAME="kali-rolling"
Do you have an idea for a solution?
How can we reproduce the issue?
Just run setup script in kali
What are the running context details?
- Relevant console output (if any):
- Exception traceback (if any):
`┌──(kali㉿kali)-[~/git/NoSQLMap]
└─$ sudo python setup.py install
running install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/lib/python3/dist-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an invalid version and will not be supported in a future release
warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: 1.12.1-git20200711.33e2d80-dfsg1-0.6 is an invalid version and will not be supported in a future release
warnings.warn(
running bdist_egg
running egg_info
writing NoSQLMap.egg-info/PKG-INFO
writing dependency_links to NoSQLMap.egg-info/dependency_links.txt
writing entry points to NoSQLMap.egg-info/entry_points.txt
writing requirements to NoSQLMap.egg-info/requires.txt
writing top-level names to NoSQLMap.egg-info/top_level.txt
reading manifest file 'NoSQLMap.egg-info/SOURCES.txt'
adding license file 'COPYING'
writing manifest file 'NoSQLMap.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.9/nsmmongo.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.9/nosqlmap.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.9/nsmcouch.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.9/exception.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.9/nsmscan.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.9/nsmweb.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/nsmmongo.py to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/nosqlmap.py to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/nsmcouch.py to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/exception.py to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/nsmscan.py to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/nsmweb.py to 755
copying NoSQLMap.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying NoSQLMap.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying NoSQLMap.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying NoSQLMap.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying NoSQLMap.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying NoSQLMap.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/NoSQLMap-0.7-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 NoSQLMap-0.7-py3.9.egg
Removing /usr/local/lib/python3.9/dist-packages/NoSQLMap-0.7-py3.9.egg
Copying NoSQLMap-0.7-py3.9.egg to /usr/local/lib/python3.9/dist-packages
NoSQLMap 0.7 is already the active version in easy-install.pth
Installing exception.py script to /usr/local/bin
Installing nosqlmap.py script to /usr/local/bin
Installing nsmcouch.py script to /usr/local/bin
Installing nsmmongo.py script to /usr/local/bin
Installing nsmscan.py script to /usr/local/bin
Installing nsmweb.py script to /usr/local/bin
Installing NoSQLMap script to /usr/local/bin
Installed /usr/local/lib/python3.9/dist-packages/NoSQLMap-0.7-py3.9.egg
Processing dependencies for NoSQLMap==0.7
Searching for pymongo==2.7.2
Reading https://pypi.org/simple/pymongo/
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release
warnings.warn(
Downloading https://files.pythonhosted.org/packages/8e/34/4b3cd4bfe5f3bfbd89873c8e24e091a6a6510c57fedea76161530be18a61/pymongo-2.7.2.tar.gz#sha256=8fb45e3edec006f4b11580fc579bec7781a8b3201ce0abf31593f086070e51f6
Best match: pymongo 2.7.2
Processing pymongo-2.7.2.tar.gz
Writing /tmp/easy_install-_lyighgk/pymongo-2.7.2/setup.cfg
Running pymongo-2.7.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_lyighgk/pymongo-2.7.2/egg-dist-tmp-l9knnz25
error: Setup script exited with error in pymongo setup command: use_2to3 is invalid.