Skip to content

Commit

Permalink
removed pyreadline dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
anadrianmanrique committed Aug 26, 2024
1 parent 27c196f commit 2458e50
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 20 deletions.
6 changes: 0 additions & 6 deletions examples/mimikatz.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@
logging.critical("Warning: You don't have any crypto installed. You need pycryptodomex")
logging.critical("See https://pypi.org/project/pycryptodomex/")

# If you wanna have readline like functionality in Windows, install pyreadline
try:
import pyreadline as readline
except ImportError:
import readline


mimikatz_intro = r"""Type help for list of commands"""

Expand Down
5 changes: 0 additions & 5 deletions examples/ntfs-read.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@
import argparse
import cmd
import ntpath
# If you wanna have readline like functionality in Windows, install pyreadline
try:
import pyreadline as readline
except ImportError:
import readline
from six import PY2, text_type
from datetime import datetime
from impacket.examples import logger
Expand Down
6 changes: 0 additions & 6 deletions impacket/examples/smbclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@
import charset_normalizer as chardet


# If you wanna have readline like functionality in Windows, install pyreadline
try:
import pyreadline as readline
except ImportError:
import readline

class MiniImpacketShell(cmd.Cmd):
def __init__(self, smbClient, tcpShell=None, outputfile=None):
#If the tcpShell parameter is passed (used in ntlmrelayx),
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ pyOpenSSL==24.0.0
ldap3>=2.5,!=2.5.2,!=2.5.0,!=2.6
ldapdomaindump>=0.9.0
flask>=1.0
pyreadline;sys_platform == 'win32'
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ def read(fname):

install_requires=['pyasn1>=0.2.3', 'pyasn1_modules', 'pycryptodomex', 'pyOpenSSL==24.0.0', 'six', 'ldap3>=2.5,!=2.5.2,!=2.5.0,!=2.6',
'ldapdomaindump>=0.9.0', 'flask>=1.0', 'setuptools', 'charset_normalizer'],
extras_require={'pyreadline:sys_platform=="win32"': [],
},
classifiers=[
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
Expand Down

0 comments on commit 2458e50

Please sign in to comment.