Exemplo n.º 1
0
def check_packer(filename):
	peid = pecore.check_peid(filename)
	if peid:
		peid = "Yes"
	else:
		peid = "No"
	return peid
Exemplo n.º 2
0
def show_packer(filename):
	peid = pecore.check_peid(filename)
	if peid != None:
		len_peid = len(peid)
		print "\nPacker matched [" + str(len_peid) + "]"
		print "-"*60
		for i in range(0, len_peid):
			print "Packer".ljust(18), peid[i][0]
Exemplo n.º 3
0
def show_packer(filename):
	peid = pecore.check_peid(filename)
	peid_list = []
	if peid != None:
		len_peid = len(peid)
		for i in range(0, len_peid):
			peid_list.append(peid[i][0])
	return peid_list
Exemplo n.º 4
0
def show_packer(filename):
	peid = pecore.check_peid(filename)
	if peid != None:
		len_peid = len(peid)
                file2 = open("/tmp/packer.txt", "w")
                file2.write("\nPacker matched [" + str(len_peid) + "]")
		print "-"*60
                file2.write("-"*60)
		for i in range(0, len_peid):
			file2.write("Packer".ljust(18)+ peid[i][0])
                file2.close()
Exemplo n.º 5
0
def show_packer(filename):
    peid = pecore.check_peid(filename)
    if peid != None:
        len_peid = len(peid)
        file2 = open("/tmp/packer.txt", "w")
        file2.write("\nPacker matched [" + str(len_peid) + "]")
        print "-" * 60
        file2.write("-" * 60)
        for i in range(0, len_peid):
            file2.write("Packer".ljust(18) + peid[i][0])
        file2.close()
Exemplo n.º 6
0
def check_packer(filename):
	peid = pecore.check_peid(filename)
	if peid:
		print "Packer".ljust(18), "Yes"
	else:
		print "Packer".ljust(18), "No"
Exemplo n.º 7
0
def check_packer(filename):
    peid = pecore.check_peid(filename)
    if peid:
        print "Packer".ljust(18), "Yes"
    else:
        print "Packer".ljust(18), "No"