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

ValueError: string argument should contain only ASCII characters #334

Closed
izj007 opened this issue Nov 8, 2022 · 1 comment
Closed

ValueError: string argument should contain only ASCII characters #334

izj007 opened this issue Nov 8, 2022 · 1 comment

Comments

@izj007
Copy link

izj007 commented Nov 8, 2022

image

好像nuclei的poc中包含中文时会报这个错,我把
try: self.yaml_template = binascii.unhexlify(self.yaml_template).decode() except binascii.Error: pass
改成
try: self.yaml_template = binascii.unhexlify(self.yaml_template).decode() except: pass
好像就可以

@13ph03nix
Copy link
Contributor

已经在v2.0.1 版本修复,感谢 👍

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