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

可以运行,但是一运行就报错。 #12

Open
renwood opened this issue Sep 25, 2018 · 3 comments
Open

可以运行,但是一运行就报错。 #12

renwood opened this issue Sep 25, 2018 · 3 comments

Comments

@renwood
Copy link

renwood commented Sep 25, 2018

Traceback (most recent call last):
File "cheetah.py", line 547, in
main()
File "cheetah.py", line 528, in main
attack_res = dict_attack(options)
File "cheetah.py", line 340, in dict_attack
if detect_web(options) == 'error':
File "cheetah.py", line 286, in detect_web
random_str = str(random.sample(string.printable, 5)).encode('hex')
LookupError: 'hex' is not a text encoding; use codecs.encode() to handle arbitrary codecs

@shmilylty
Copy link
Owner

好的,之后我有时间看一下,谢谢反馈。 现在更多时间是在维护图形化用户界面版https://github.com/sunnyelf/cheetah-gui,你可以看一下: )

@shmilylty
Copy link
Owner

大致看了一下,应该是与Python 3不兼容导致的,之后有空做一下兼容好了。

@tysmlq
Copy link

tysmlq commented Apr 19, 2019

这个问题在windows下可以看到,无论py2还是3都有。但在kali下没问题

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

3 participants