screenshot plugin fails to load on Python 3.13 (No module named 'pipes')
Context
Please check:
- I've read the docs for Wfuzz
Please describe your local environment:
Wfuzz version: 3.1.1 (installed from the v3.1.1 tag)
Python version: 3.13
OS: Linux
Report
What is the current behavior?
The screenshot plugin fails to load on Python ≥ 3.13. src/wfuzz/plugins/scripts/screenshot.py imports the pipes stdlib module, which was deprecated in Python 3.11 (PEP 594) and removed in Python 3.13. The plugin loader catches the ModuleNotFoundError and skips registration, so wfuzz itself still runs, but the plugin is silently unavailable to users on 3.13+.
Observed log line:
libraries.FileLoader: CRITICAL __load_py_from_file. Filename: .../wfuzz/plugins/scripts/screenshot.py Exception, msg=No module named 'pipes'What is the expected or desired behavior?
The screenshot plugin should load and be listed by wfuzz -e scripts on all currently supported Python versions, including 3.13.
Please provide steps to reproduce, including exact wfuzz command executed and output:
- Install wfuzz from
v3.1.1under Python 3.13:python3.13 -m pip install git+https://github.com/xmendez/[email protected] - List available scripts:
wfuzz -e scripts - The
screenshotrow is missing from the printed table, and the loader logsException, msg=No module named 'pipes'forplugins/scripts/screenshot.py.
Other relevant information:
- This is the only
pipesimport in the codebase (rg -n "^import pipes|^from pipes" src/returns one hit atsrc/wfuzz/plugins/scripts/screenshot.py:6). - Same class of stdlib-removal regression as the
impmodule addressed in #365 (still open againstmaster). - Reference: Python 3.13 — What's New: Removed Modules.
Source: xmendez/wfuzz