Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please release new version of wfuzz that can able to run on pip2023 #353

Open
1 task done
Sudococommunity opened this issue Aug 2, 2023 · 0 comments
Open
1 task done

Comments

@Sudococommunity
Copy link

Sudococommunity commented Aug 2, 2023

Issue template

Context

Please check:

  • I've read the docs for Wfuzz

Please describe your local environment:

Wfuzz version: Output of wfuzz --version
wfuzz --version
/usr/lib/python3/dist-packages/wfuzz/init.py:34: UserWarning:Pycurl is not compiled against Openssl. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz's documentation for more information.
Traceback (most recent call last):
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 2786, in _dep_map
return self.__dep_map
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 2901, in getattr
raise AttributeError(attr)
AttributeError: _Distribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 35, in init
parsed = parse_requirement(requirement_string)
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 64, in parse_requirement
return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 82, in _parse_requirement
url, specifier, marker = _parse_requirement_details(tokenizer)
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 126, in _parse_requirement_details
marker = _parse_requirement_marker(
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 147, in _parse_requirement_marker
tokenizer.raise_syntax_error(
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 163, in raise_syntax_error
raise ParserSyntaxError(
pkg_resources.extern.packaging._tokenizer.ParserSyntaxError: Expected end or semicolon (after version specifier)
pyparsing>=2.4*
~~~~~^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/bin/wfuzz", line 33, in
sys.exit(load_entry_point('wfuzz==3.1.0', 'console_scripts', 'wfuzz')())
File "/usr/bin/wfuzz", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 972, in _find_and_load_unlocked
File "", line 228, in _call_with_frames_removed
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/wfuzz/init.py", line 55, in
from .options import FuzzSession
File "/usr/lib/python3/dist-packages/wfuzz/options.py", line 6, in
from .facade import (
File "/usr/lib/python3/dist-packages/wfuzz/facade.py", line 1, in
from .helpers.file_func import get_home, get_path, get_config_dir
File "/usr/lib/python3/dist-packages/wfuzz/helpers/file_func.py", line 4, in
import pkg_resources
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 3327, in
def _initialize_master_working_set():
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 3301, in _call_aside
f(*args, *kwargs)
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 3339, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 629, in _build_master
ws.require(requires)
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 966, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 832, in resolve
new_requirements = dist.requires(req.extras)[::-1]
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 2821, in requires
dm = self._dep_map
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 2788, in _dep_map
self.__dep_map = self._filter_extras(self._build_dep_map())
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 2816, in _build_dep_map
dm.setdefault(extra, []).extend(parse_requirements(reqs))
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/init.py", line 3173, in init
super(Requirement, self).init(requirement_string)
File "/home/hp/.local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 37, in init
raise InvalidRequirement(str(e)) from e
pkg_resources.extern.packaging.requirements.InvalidRequirement: Expected end or semicolon (after version specifier)
pyparsing>=2.4

Python version: Output of python --version
Python 3.9.2

OS: parrot os

Report

What is the current behavior?
depresiated
DEPRECATION: wfuzz 3.1.0 has a non-standard dependency specifier pyparsing>=2.4*. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of wfuzz or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at pypa/pip#12063

X

What is the expected or desired behavior?

show version

Please provide steps to reproduce, including exact wfuzz command executed and output:
python3 -m pip install --upgrade pip

X

Other relevant information:
i just upgraded pip now this error pops up
X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant