def show_hash(filename): hashcode = pecore.get_hash(filename) md5 = hashcode[0] sha1 = hashcode[1] imph = hashcode[2] print "Hash MD5".ljust(18), md5 print "Hash SAH1".ljust(18), sha1 print "Imphash".ljust(18), imph
def show_hash(filename): hashcode = pecore.get_hash(filename) md5 = hashcode[0] sha1 = hashcode[1] imph = hashcode[2] file1 = open("/tmp/info.txt", "w") file1.write("Hash MD5".ljust(18)+ md5) file1.write("Hash SAH1".ljust(18)+ sha1) file1.write("Imphash".ljust(18)+ imph) file1.close()
def show_hash(filename): hashcode = pecore.get_hash(filename) md5 = hashcode[0] sha1 = hashcode[1] imph = hashcode[2] file1 = open("/tmp/info.txt", "w") file1.write("Hash MD5".ljust(18) + md5) file1.write("Hash SAH1".ljust(18) + sha1) file1.write("Imphash".ljust(18) + imph) file1.close()
def show_hash(filename): hashcode = pecore.get_hash(filename) md5 = hashcode[0] sha1 = hashcode[1] imph = hashcode[2] return md5,sha1,imph