Skip to content

fix: add telnetlib3 and setuptools to requirements.txt#900

Closed
mitre88 wants to merge 3 commits into
threat9:masterfrom
mitre88:fix/missing-telnetlib3-req
Closed

fix: add telnetlib3 and setuptools to requirements.txt#900
mitre88 wants to merge 3 commits into
threat9:masterfrom
mitre88:fix/missing-telnetlib3-req

Conversation

@mitre88
Copy link
Copy Markdown

@mitre88 mitre88 commented Apr 21, 2026

Summary

telnetlib is no longer a standard module in Python 3.13+. The code in routersploit/core/exploit/shell.py already handles this by importing telnetlib3 as a fallback when telnetlib is not available.

This PR adds the missing dependencies to requirements.txt.

Changes

requirements.txt

Added:

    • required since Python 3.13 removed telnetlib from stdlib
    • commonly needed for package building

Fixes #892

Open Source Contributor added 3 commits April 20, 2026 19:00
telnetlib is no longer a standard module in Python 3.13+ and needs
to be imported from the telnetlib3 package instead.

Fixes threat9#892
DSA/DSS keys are no longer supported in modern paramiko (removed in v4.0).
Skip DSA keys with an error message instead of crashing.

Fixes threat9#898
The wildcard import may not work correctly with all pysnmp versions.
Explicitly import the required classes: SnmpEngine, CommunityData,
UdpTransportTarget, ContextData, ObjectType, ObjectIdentity, get_cmd.

Fixes threat9#885
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

Successfully merging this pull request may close these issues.

Missing modules in requirments.txt, and import error

1 participant