auto_mal.py 文件源码

python
阅读 14 收藏 0 点赞 0 评论 0

项目:auto_mal 作者: 0xhughes 项目源码 文件源码
def _c_sample_out_dir(targ, automal_dir):
    # When we analyze samples, a output directory named after the MD5 hash of the sample is created and/or used for the samples specific exports, putput info, etc.
    out_md5 = str(hashlib.md5(targ).hexdigest())
    out_full_path = automal_dir+'/'+out_md5
    if not os.path.exists(out_full_path):
        os.makedirs(out_full_path)
    out_file_Obj = open(out_full_path+'/Output.txt', 'a')
    return (out_file_Obj, out_full_path, out_md5)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号