Skip to content

Commit

Permalink
Fix #198
Browse files Browse the repository at this point in the history
  • Loading branch information
lanjelot committed Oct 9, 2023
1 parent 85fc301 commit f5d660f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion patator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2650,7 +2650,10 @@ def execute(self, host, port='22', user=None, password=None, auth_type='password
# }}}

# Telnet {{{
from telnetlib import Telnet
try:
from telnetlib import Telnet
except ImportError:
notfound.append('telnetlib')

class Telnet_login(TCP_Cache):
'''Brute-force Telnet'''
Expand Down Expand Up @@ -5240,6 +5243,7 @@ def execute(self, data, data2='', delay='1'):

dependencies = {
'paramiko': [('ssh_login',), 'http://www.paramiko.org/', '2.7.1'],
'telnetlib': [('telnet_login',), 'telnetlib was removed in Python 3.13', '<= 3.12'],
'pycurl': [('http_fuzz', 'rdp_gateway'), 'http://pycurl.io/', '7.43.0'],
'libcurl': [('http_fuzz', 'rdp_gateway'), 'https://curl.haxx.se/', '7.58.0'],
'ajpy': [('ajp_fuzz',), 'https://github.com/hypn0s/AJPy/', '0.0.4'],
Expand Down

0 comments on commit f5d660f

Please sign in to comment.