Changed search display, added Carberp & Zemra

This commit is contained in:
Sheksa
2015-01-07 13:44:28 +02:00
parent 4f133446c7
commit 81e6e789f4
15 changed files with 1493 additions and 5 deletions

Binary file not shown.

View File

@@ -1,7 +1,7 @@
from imports import globals
from imports import db_handler
from sys import exit
from imports.prettytable import PrettyTable
class MuchSearch(object):
@@ -56,8 +56,12 @@ class MuchSearch(object):
return "and".join(qlist)
def print_payloads(self, m, fields=["ID", "Type", "Language", "Architecture", "Platform", "Name"]):
print '\n' + ''.join("{0}\t".format(x) for x in fields)
print "-" * 12 * len(fields)
for col in m:
print ''.join("{0:<11}".format(x) for x in col)
table = PrettyTable(fields)
table.align["ID"] = "l"
table.align["Name"] = "l"
for malware in m:
table.add_row(malware)
print table
print "\n"

1475
imports/prettytable.py Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
dd34fed8a105ad224a98f7f0058afb49 Win32.Carberp.zip

View File

@@ -0,0 +1 @@
infected

View File

@@ -0,0 +1 @@
353b02ed1c66cd06a4c0c2bb7cf2e07abbe73b2cdcc9f02336768c5aeed9a1c3 Win32.Carberp.zip

Binary file not shown.

View File

@@ -0,0 +1 @@
64f49a319310ab676fc1ed593f09dcf0 Carberp.zip

View File

@@ -0,0 +1 @@
infected

View File

@@ -0,0 +1 @@
b5dcefb42afd386aedaa774178c4e702f01eab16675b2e52ffc9484d7d2848fc Carberp.zip

Binary file not shown.

View File

@@ -0,0 +1 @@
c365c5c89142560472acfcfb16f68cf0 Zemra.zip

View File

@@ -0,0 +1 @@
infected

View File

@@ -0,0 +1 @@
54b264c7659981de45b10bcf5c96d885b0c333735929e37755d0f5b9c57952ae Zemra.zip

Binary file not shown.