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

Wfuzz acting weird #357

Open
1 task done
CHERYLMAISELOBO opened this issue Oct 25, 2023 · 0 comments
Open
1 task done

Wfuzz acting weird #357

CHERYLMAISELOBO opened this issue Oct 25, 2023 · 0 comments

Comments

@CHERYLMAISELOBO
Copy link

CHERYLMAISELOBO commented Oct 25, 2023

Issue template

Context

Please check:

  • I've read the docs for Wfuzz

Please describe your local environment:

Wfuzz version: Output of wfuzz --version

/home/kali/.local/lib/python3.11/site-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 "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3108, in _dep_map
return self.__dep_map
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2901, in getattr
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 35, in init
parsed = parse_requirement(requirement_string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 64, in parse_requirement
return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 82, in _parse_requirement
url, specifier, marker = _parse_requirement_details(tokenizer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 120, in _parse_requirement_details
specifier = _parse_specifier(tokenizer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 206, in _parse_specifier
with tokenizer.enclosing_tokens("LEFT_PARENTHESIS", "RIGHT_PARENTHESIS"):
File "/usr/lib/python3.11/contextlib.py", line 144, in exit
next(self.gen)
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 183, in enclosing_tokens
self.raise_syntax_error(
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 163, in raise_syntax_error
raise ParserSyntaxError(
pkg_resources.extern.packaging._tokenizer.ParserSyntaxError: Expected closing RIGHT_PARENTHESIS
pyparsing (>=2.4*) ; python_version >= "3.5"
~~~~~~^

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.11/importlib/metadata/init.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/kali/.local/lib/python3.11/site-packages/wfuzz/init.py", line 55, in
from .options import FuzzSession
File "/home/kali/.local/lib/python3.11/site-packages/wfuzz/options.py", line 6, in
from .facade import (
File "/home/kali/.local/lib/python3.11/site-packages/wfuzz/facade.py", line 1, in
from .helpers.file_func import get_home, get_path, get_config_dir
File "/home/kali/.local/lib/python3.11/site-packages/wfuzz/helpers/file_func.py", line 4, in
import pkg_resources
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3326, in
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3301, in _call_aside
f(*args, *kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3339, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 629, in _build_master
ws.require(requires)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 966, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 832, in resolve
new_requirements = dist.requires(req.extras)[::-1]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2821, in requires
dm = self._dep_map
^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3110, in _dep_map
self.__dep_map = self._compute_dependencies()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3120, in _compute_dependencies
reqs.extend(parse_requirements(req))
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3173, in init
super(Requirement, self).init(requirement_string)
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 37, in init
raise InvalidRequirement(str(e)) from e
pkg_resources.extern.packaging.requirements.InvalidRequirement: Expected closing RIGHT_PARENTHESIS
pyparsing (>=2.4
) ; python_version >= "3.5"
~~~~~~^

Python version: Output of python --version
3.11.4

OS: Kali Linux

Report

What is the current behavior?
DEPRECATION: wfuzz 3.1.0 has a non-standard dependency specifier pyparsing>=2.4*; python_version >= "3.5". 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

What is the expected or desired behavior?

X

Please provide steps to reproduce, including exact wfuzz command executed and output:
I just ran the command wfuzz

Output:
/home/kali/.local/lib/python3.11/site-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 "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3108, in _dep_map
return self.__dep_map
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2901, in getattr
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 35, in init
parsed = parse_requirement(requirement_string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 64, in parse_requirement
return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 82, in _parse_requirement
url, specifier, marker = _parse_requirement_details(tokenizer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 120, in _parse_requirement_details
specifier = _parse_specifier(tokenizer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 206, in _parse_specifier
with tokenizer.enclosing_tokens("LEFT_PARENTHESIS", "RIGHT_PARENTHESIS"):
File "/usr/lib/python3.11/contextlib.py", line 144, in exit
next(self.gen)
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 183, in enclosing_tokens
self.raise_syntax_error(
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 163, in raise_syntax_error
raise ParserSyntaxError(
pkg_resources.extern.packaging._tokenizer.ParserSyntaxError: Expected closing RIGHT_PARENTHESIS
pyparsing (>=2.4*) ; python_version >= "3.5"
~~~~~~^

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.11/importlib/metadata/init.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/kali/.local/lib/python3.11/site-packages/wfuzz/init.py", line 55, in
from .options import FuzzSession
File "/home/kali/.local/lib/python3.11/site-packages/wfuzz/options.py", line 6, in
from .facade import (
File "/home/kali/.local/lib/python3.11/site-packages/wfuzz/facade.py", line 1, in
from .helpers.file_func import get_home, get_path, get_config_dir
File "/home/kali/.local/lib/python3.11/site-packages/wfuzz/helpers/file_func.py", line 4, in
import pkg_resources
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3326, in
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3301, in _call_aside
f(*args, *kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3339, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 629, in _build_master
ws.require(requires)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 966, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 832, in resolve
new_requirements = dist.requires(req.extras)[::-1]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2821, in requires
dm = self._dep_map
^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3110, in _dep_map
self.__dep_map = self._compute_dependencies()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3120, in _compute_dependencies
reqs.extend(parse_requirements(req))
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3173, in init
super(Requirement, self).init(requirement_string)
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 37, in init
raise InvalidRequirement(str(e)) from e
pkg_resources.extern.packaging.requirements.InvalidRequirement: Expected closing RIGHT_PARENTHESIS
pyparsing (>=2.4
) ; python_version >= "3.5"

Other relevant information:
What could be the reason?

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