-
Notifications
You must be signed in to change notification settings - Fork 216
Description
i want to try XSRFprobe i install all dependecies but something happen XSRFprobe wont run error code DeprecationWarning: pkg_resources is deprecated as an API
[A clear and concise description of what the bug is]
[The command you entered into the terminal when you faced this error]
####running install
/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
running bdist_egg
running egg_info
creating xsrfprobe.egg-info
writing xsrfprobe.egg-info/PKG-INFO
writing dependency_links to xsrfprobe.egg-info/dependency_links.txt
writing requirements to xsrfprobe.egg-info/requires.txt
writing top-level names to xsrfprobe.egg-info/top_level.txt
writing manifest file 'xsrfprobe.egg-info/SOURCES.txt'
reading manifest file 'xsrfprobe.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'xsrfprobe.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/xsrfprobe
copying xsrfprobe/init.py -> build/lib/xsrfprobe
copying xsrfprobe/xsrfprobe.py -> build/lib/xsrfprobe
creating build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Checkpost.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Generator.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Parser.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Encoding.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Analysis.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Tamper.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/init.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Cookie.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Crawler.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Origin.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Referer.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Persistence.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Token.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Debugger.py -> build/lib/xsrfprobe/modules
copying xsrfprobe/modules/Entropy.py -> build/lib/xsrfprobe/modules
creating build/lib/xsrfprobe/core
copying xsrfprobe/core/updater.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/init.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/request.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/verbout.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/randua.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/inputin.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/logger.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/options.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/colors.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/forms.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/prettify.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/main.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/banner.py -> build/lib/xsrfprobe/core
copying xsrfprobe/core/utils.py -> build/lib/xsrfprobe/core
creating build/lib/xsrfprobe/files
copying xsrfprobe/files/discovered.py -> build/lib/xsrfprobe/files
copying xsrfprobe/files/config.py -> build/lib/xsrfprobe/files
copying xsrfprobe/files/init.py -> build/lib/xsrfprobe/files
copying xsrfprobe/files/paramlist.py -> build/lib/xsrfprobe/files
copying xsrfprobe/files/dcodelist.py -> build/lib/xsrfprobe/files
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/xsrfprobe
creating build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Checkpost.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Generator.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Parser.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Encoding.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Analysis.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Tamper.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/init.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Cookie.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Crawler.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Origin.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Referer.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Persistence.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Token.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Debugger.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/modules/Entropy.py -> build/bdist.linux-x86_64/egg/xsrfprobe/modules
copying build/lib/xsrfprobe/init.py -> build/bdist.linux-x86_64/egg/xsrfprobe
creating build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/updater.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/init.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/request.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/verbout.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/randua.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/inputin.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/logger.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/options.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/colors.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/forms.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/prettify.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/main.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/banner.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
copying build/lib/xsrfprobe/core/utils.py -> build/bdist.linux-x86_64/egg/xsrfprobe/core
creating build/bdist.linux-x86_64/egg/xsrfprobe/files
copying build/lib/xsrfprobe/files/discovered.py -> build/bdist.linux-x86_64/egg/xsrfprobe/files
copying build/lib/xsrfprobe/files/config.py -> build/bdist.linux-x86_64/egg/xsrfprobe/files
copying build/lib/xsrfprobe/files/init.py -> build/bdist.linux-x86_64/egg/xsrfprobe/files
copying build/lib/xsrfprobe/files/paramlist.py -> build/bdist.linux-x86_64/egg/xsrfprobe/files
copying build/lib/xsrfprobe/files/dcodelist.py -> build/bdist.linux-x86_64/egg/xsrfprobe/files
copying build/lib/xsrfprobe/xsrfprobe.py -> build/bdist.linux-x86_64/egg/xsrfprobe
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Checkpost.py to Checkpost.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Generator.py to Generator.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Parser.py to Parser.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Encoding.py to Encoding.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Analysis.py to Analysis.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Tamper.py to Tamper.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/init.py to init.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Cookie.py to Cookie.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Crawler.py to Crawler.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Origin.py to Origin.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Referer.py to Referer.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Persistence.py to Persistence.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Token.py to Token.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Debugger.py to Debugger.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/modules/Entropy.py to Entropy.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/init.py to init.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/updater.py to updater.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/init.py to init.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/request.py to request.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/verbout.py to verbout.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/randua.py to randua.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/inputin.py to inputin.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/logger.py to logger.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/options.py to options.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/colors.py to colors.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/forms.py to forms.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/prettify.py to prettify.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/main.py to main.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/banner.py to banner.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/core/utils.py to utils.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/files/discovered.py to discovered.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/files/config.py to config.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/files/init.py to init.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/files/paramlist.py to paramlist.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/files/dcodelist.py to dcodelist.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/xsrfprobe/xsrfprobe.py to xsrfprobe.cpython-311.pyc
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/scripts-3.11
copying and adjusting xsrfprobe/bin/xsrfprobe -> build/scripts-3.11
changing mode of build/scripts-3.11/xsrfprobe from 644 to 755
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.11/xsrfprobe -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/xsrfprobe to 755
copying xsrfprobe.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying xsrfprobe.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying xsrfprobe.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying xsrfprobe.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying xsrfprobe.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/xsrfprobe-2.3.1-py3.11.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing xsrfprobe-2.3.1-py3.11.egg
Copying xsrfprobe-2.3.1-py3.11.egg to /usr/local/lib/python3.11/dist-packages
Adding xsrfprobe 2.3.1 to easy-install.pth file
Installing xsrfprobe script to /usr/local/bin
Installed /usr/local/lib/python3.11/dist-packages/xsrfprobe-2.3.1-py3.11.egg
Processing dependencies for xsrfprobe==2.3.1
Searching for yattag
Reading https://pypi.org/simple/yattag/
Downloading https://files.pythonhosted.org/packages/75/49/51045efa8c4e42831c80e0031ee4139450347e587e5cda0a731198ed6e36/yattag-1.15.2.tar.gz#sha256=aad9f540bd22dc503e5b5506cc47856facf081aa71fd35f727371b63e1e402bf
Best match: yattag 1.15.2
Processing yattag-1.15.2.tar.gz
Writing /tmp/easy_install-gxbu2wxy/yattag-1.15.2/setup.cfg
Running yattag-1.15.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-gxbu2wxy/yattag-1.15.2/egg-dist-tmp-nag2bd69
/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
zip_safe flag not set; analyzing archive contents...
Adding yattag 1.15.2 to easy-install.pth file
detected new path './xsrfprobe-2.3.1-py3.11.egg'
Installed /usr/local/lib/python3.11/dist-packages/yattag-1.15.2-py3.11.egg
Searching for stringdist
Reading https://pypi.org/simple/stringdist/
Downloading https://files.pythonhosted.org/packages/85/f0/c56cbe92b4b06fbc7adaa81917ad34d7027834e166fff2d2db73961c67fa/StringDist-1.0.9.tar.gz#sha256=91e6d4a348223db094d029e7e3de9ce89c561738047555dfad60ff5ccb7a5b74
Best match: StringDist 1.0.9
Processing StringDist-1.0.9.tar.gz
Writing /tmp/easy_install-435izjmw/StringDist-1.0.9/setup.cfg
Running StringDist-1.0.9/setup.py -q bdist_egg --dist-dir /tmp/easy_install-435izjmw/StringDist-1.0.9/egg-dist-tmp-8yd36azo
/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
zip_safe flag not set; analyzing archive contents...
pycache.cstringdist.cpython-311: module references file
Adding StringDist 1.0.9 to easy-install.pth file
detected new path './yattag-1.15.2-py3.11.egg'
Installed /usr/local/lib/python3.11/dist-packages/StringDist-1.0.9-py3.11-linux-x86_64.egg
Searching for tld==0.11.11
Best match: tld 0.11.11
Adding tld 0.11.11 to easy-install.pth file
detected new path './StringDist-1.0.9-py3.11-linux-x86_64.egg'
Using /usr/lib/python3/dist-packages
Searching for bs4==0.0.1
Best match: bs4 0.0.1
Adding bs4 0.0.1 to easy-install.pth file
Using /usr/local/lib/python3.11/dist-packages
Searching for requests==2.31.0
Best match: requests 2.31.0
Adding requests 2.31.0 to easy-install.pth file
Using /usr/lib/python3/dist-packages
Searching for beautifulsoup4==4.12.2
Best match: beautifulsoup4 4.12.2
Adding beautifulsoup4 4.12.2 to easy-install.pth file
Using /usr/lib/python3/dist-packages
Searching for soupsieve==2.5
Best match: soupsieve 2.5
Adding soupsieve 2.5 to easy-install.pth file
Using /usr/lib/python3/dist-packages
Finished processing dependencies for xsrfprobe==2.3.1
[~/Desktop/XSRFProbe]
└─$ xsrfprobe --help
/usr/local/bin/xsrfprobe:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import('pkg_resources').run_script('xsrfprobe==2.3.1', 'xsrfprobe')
Traceback (most recent call last):
File "/usr/local/bin/xsrfprobe", line 4, in
import('pkg_resources').run_script('xsrfprobe==2.3.1', 'xsrfprobe')
File "/home/whitedragon/.local/lib/python3.11/site-packages/pkg_resources/init.py", line 722, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/whitedragon/.local/lib/python3.11/site-packages/pkg_resources/init.py", line 1548, in run_script
raise ResolutionError(
pkg_resources.ResolutionError: Script 'scripts/xsrfprobe' not found in metadata at '/home/whitedragon/.local/lib/python3.11/site-packages/xsrfprobe-2.3.1.dist-info'
sorry about lack of english language im not good in english language
hope you can fix this
[Add screenshots or paste terminal output trace error to help explain your problem.
Potential cause or fix
[Do you know what could be causing the problem or how to fix it?]
Environment:
- OS: [e.g. Kali linux virtual box 2023.3]
- Python version: [e.g. v3.11]
Some Questions
- I am using the latest version of XSFRProbe.
- I installed the dependecies using
pip3instead ofpip. - I have read the documentation before submitting this issue.
- I have checked the other issues to see if someone reported this before.
Other stuff
[Something else you want the author to know?]
