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

UTF-8 issue? #7

Open
xme opened this issue Jun 11, 2018 · 2 comments
Open

UTF-8 issue? #7

xme opened this issue Jun 11, 2018 · 2 comments

Comments

@xme
Copy link

xme commented Jun 11, 2018

Description:
Traceback (most recent call last):
File "attackintel.py", line 203, in
attackintel().main()
File "attackintel.py", line 201, in main
self.prt2screen(group_name,alias_arr,tech_json,tech_id_array,tech_name_array)
File "attackintel.py", line 106, in prt2screen
print (t_json[idx]['query']['results'][t_id_array[idx]]['printouts']['Has technical description'][0] + "\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\xa0' in position 223: ordinal not in range(128)

@gr4ym4ntx
Copy link
Owner

hmmm. which entry was this for?

@xme
Copy link
Author

xme commented Jun 16, 2018

Just launched the script, select threatlist 01 (Axiom, Group 72):

******************************* Technique/T1003: Credential Dumping *******************************

Tactic:
Credential Access

Description:
Traceback (most recent call last):
File "attackintel.py", line 203, in
attackintel().main()
File "attackintel.py", line 201, in main
self.prt2screen(group_name,alias_arr,tech_json,tech_id_array,tech_name_array)
File "attackintel.py", line 106, in prt2screen
print (t_json[idx]['query']['results'][t_id_array[idx]]['printouts']['Has technical description'][0] + "\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\xa0' in position 223: ordinal not in range(128)

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