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

Error in payloads module #67

Open
sameeripro opened this issue Mar 10, 2020 · 1 comment
Open

Error in payloads module #67

sameeripro opened this issue Mar 10, 2020 · 1 comment

Comments

@sameeripro
Copy link

Hi Team,

I tried on ubuntu and also on docker but I am getting below error.

Starting ChopShop (Created by MITRE)
Initializing Modules ...
Initializing module 'payloads'
WARNING: No Parent for payloads providing sslim data
Running Modules ...
Exception in module payloads -- Traceback:
Traceback (most recent call last):
File "/usr/local/libexec/chopshop/shop/ChopNids.py", line 565, in handleTcpStreams
output = code.handleStream(tcpd)
File "/usr/local/libexec/chopshop/modules/payloads.py", line 145, in handleStream
handle_bytes(data, color, direction, tcp.module_data)
File "/usr/local/libexec/chopshop/modules/payloads.py", line 168, in handle_bytes
chop.prettyprnt(color, data)
File "/usr/local/libexec/chopshop/shop/ChopHelper.py", line 153, in prettyprnt
raise TypeError("Unable to create string from inputs")
TypeError: Unable to create string from inputs

@Mraoul
Copy link
Contributor

Mraoul commented Mar 24, 2020

Not sure if you found a work around, but take a look at the verbose-unicode-error-msgs branch. I added some code a while back to handle unicode a bit differently -- I couldn't adequately test the branch out so it was never committed to master.

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

2 participants