spender-sandbox / cuckoo-modified

Modified edition of cuckoo
392 stars 178 forks source link

run-detectors: unable to find an interpreter #507

Closed azfarhalim closed 5 years ago

azfarhalim commented 6 years ago

Hi my issue is i cant submit the malware to analyze using command line

My cuckoo version 1.3-NG

when i run this command - cuckoo@debian:~$ sudo /opt/cuckoo/utils/submit.py /home/cuckoo/Desktop/807d2dff72386e72bb07f9945a4fbd317eeb35e96357c143020e97a1e11434b4

this error is popped up run-detectors: unable to find an interpreter for /opt/cuckoo/utils/submit.py

doomedraven commented 6 years ago

what about python /opt/cuckoo/utils/submit.py /home/cuckoo/Desktop/807d2dff72386e72bb07f9945a4fbd317eeb35e96357c143020e97a1e11434b4

azfarhalim commented 6 years ago

@doomedraven it throws this error

cuckoo@debian:~$ python /opt/cuckoo/utils/submit.py /home/cuckoo/Desktop/807d2dff72386e72bb07f9945a4fbd317eeb35e96357c143020e97a1e11434b4 File "/opt/cuckoo/utils/submit.py", line 1 SyntaxError: Non-ASCII character '\x90' in file /opt/cuckoo/utils/submit.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

doomedraven commented 6 years ago

Add as first line # encoding: utf-8

azfarhalim commented 5 years ago

Thank you!