def show_meta(filename): spl = [] meta = pecore.get_meta(filename) if meta: len_meta = len(meta) print "\nMeta data found [" + str(len_meta) + "]" print "-"*60 for i in range(0, len_meta): spl.append(meta[i].split(':')) for i in range(0, len_meta): print str(spl[i][0]).ljust(18), str(spl[i][1])
def show_meta(filename): spl = [] meta = pecore.get_meta(filename) if meta: len_meta = len(meta) print "\nMeta data found [" + str(len_meta) + "]" print "-" * 60 for i in range(0, len_meta): spl.append(meta[i].split(':')) for i in range(0, len_meta): print str(spl[i][0]).ljust(18), str(spl[i][1])
def show_meta(filename): meta_list = [] spl = [] meta = pecore.get_meta(filename) if meta: len_meta = len(meta) for i in range(0, len_meta): spl.append(meta[i].split(':')) for i in range(0, len_meta): meta_list.append([str(spl[i][0]), str(spl[i][1])]) return meta_list
def autoanalysis(pe, filename, json=False): if json: print pecore.get_info(pe, filename), \ pecore.get_cert(pe), \ pecore.get_packer(pe), \ pecore.get_antidbg(pe), \ pecore.get_antivm(filename), \ pecore.get_apialert(pe), \ pecore.get_secalert(pe), \ pecore.get_fileurl(filename), \ pecore.get_meta(pe) else: stdoutput.show_auto( pecore.get_info(pe, filename), \ pecore.get_cert(pe), \ pecore.get_packer(pe), \ pecore.get_antidbg(pe), \ pecore.get_antivm(filename), \ pecore.get_apialert(pe), \ pecore.get_secalert(pe), \ pecore.get_fileurl(filename), \ pecore.get_meta(pe))