You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I followed the guide you wrote but I can't make it works properly. I edited the yaragen.py with my environments but still no luck.
the report is always empty (ERROR :-( File not found).
here is my conf
import os
import stat
import logging
import subprocess
import shlex
from lib.cuckoo.common.abstracts import Auxiliary
from lib.cuckoo.common.config import Config
from lib.cuckoo.common.objects import File
Hello, I followed the guide you wrote but I can't make it works properly. I edited the yaragen.py with my environments but still no luck.
the report is always empty (ERROR :-( File not found).
here is my conf
import os
import stat
import logging
import subprocess
import shlex
from lib.cuckoo.common.abstracts import Auxiliary
from lib.cuckoo.common.config import Config
from lib.cuckoo.common.objects import File
log = logging.getLogger(name)
class YaraGen(Auxiliary):
def start(self):
if "yaragen" not in self.task.options:
return
cmd_str = "python yarGen.py -m %s -o /home/socadmin/cuckoo-modified/storage/analysis/%s/reports/%s.yara -noop" % (mal_path, blat_id , mdma5)
cmd_str = "cd /home/socadmin/yarGen/ && python yarGen.py -m %s -o /home/socadmin/yarGen/this_should_be_changed.yara -noop" % (mal_path)
os.system(cmd_str)
cmd_args = shlex.split(cmd_str)
self.proc = subprocess.Popen(cmd_args , shell=True)
subprocess.call(pargs)
The text was updated successfully, but these errors were encountered: