def check_antidbg(filename): antidbg = pecore.get_apiantidbg(filename) if antidbg: antidbg = "Yes" else: antidbg = "No" return antidbg
def check_antidbg(filename): antidbg = pecore.get_apiantidbg(filename) if antidbg: print "Anti Debug".ljust(18), "Yes" return True else: print "Anti Debug".ljust(18), "No" return False
def show_antidbg(filename): antidbg = pecore.get_apiantidbg(filename) if antidbg: len_antidbg = len(antidbg) print "\nAnti Debug discovered [" + str(len_antidbg) + "]" print "-"*60 for i in range(0, len_antidbg): print "Anti Debug".ljust(18),antidbg[i]
def show_antidbg(filename): antidbg_list = [] antidbg = pecore.get_apiantidbg(filename) if antidbg: len_antidbg = len(antidbg) for i in range(0, len_antidbg): antidbg_list.append(antidbg[i]) return antidbg_list
def show_antidbg(filename): antidbg = pecore.get_apiantidbg(filename) file3 = open("/tmp/antiDebug.txt", "w") if antidbg: len_antidbg = len(antidbg) file3.write("\nAnti Debug discovered [" + str(len_antidbg) + "]") file3.write("-"*60) for i in range(0, len_antidbg): file3.write("Anti Debug".ljust(18)+antidbg[i]) file3.close()
def show_antidbg(filename): antidbg = pecore.get_apiantidbg(filename) file3 = open("/tmp/antiDebug.txt", "w") if antidbg: len_antidbg = len(antidbg) file3.write("\nAnti Debug discovered [" + str(len_antidbg) + "]") file3.write("-" * 60) for i in range(0, len_antidbg): file3.write("Anti Debug".ljust(18) + antidbg[i]) file3.close()