Update to version 0.5.0 Citadel

Now functioning arguments are working as they should.
This commit is contained in:
Yuval Nativ
2014-02-19 13:57:32 +02:00
parent 210f9eb43a
commit 2b63ab30c5
4 changed files with 87 additions and 54 deletions

View File

@@ -20,8 +20,9 @@ import sys
class init:
def init(self):
# Global Variables
version = "0.4.2 Arthur"
appname = "Malware DB"
version = "0.5.0 Citadel"
appname = "theZoo"
codename = "Citadel"
authors = "Yuval Nativ, Lahad Ludar, 5fingers"
licensev = "GPL v3.0"
fulllicense = appname + " Copyright (C) 2014 " + authors + "\n"
@@ -83,12 +84,16 @@ class vars:
main_csv_file = conf_folder + '/index.csv'
giturl = 'https://raw.github.com/ytisf/theZoo/master/'
with file(maldb_ver_file) as f:
db_ver = f.read()
maldb_banner = " __ ___ __ ____ ____\n"
maldb_banner += " / |/ /___ _/ / ______ _________ / __ \/ __ )\n"
maldb_banner += " / /|_/ / __ `/ / | /| / / __ `/ ___/ _ \______/ / / / __ |\n"
maldb_banner += " / / / / /_/ / /| |/ |/ / /_/ / / / __/_____/ /_/ / /_/ /\n"
maldb_banner += " /_/ /_/\__,_/_/ |__/|__/\__,_/_/ \___/ /_____/_____/\n"
maldb_banner += " /_/ /_/\__,_/_/ |__/|__/\__,_/_/ \___/ /_____/_____/\n\n"
maldb_banner += " version: " + version + "\n"
maldb_banner += " db_version: " + db_ver + "\n"
maldb_banner += " built by: " + authors + "\n\n"
addrs = ['reverce_tcp/', 'crazy_mal/', 'mal/', 'show malwares']

View File

@@ -37,6 +37,6 @@ class banners:
print globals.vars.useage
def print_available_payloads(self, array):
answer = array[globals.vars.column_for_uid] + "\t" + array[globals.vars.column_for_name]+ "\t" + array[globals.vars.column_for_version] + "\t\t"
answer += array[globals.vars.column_for_location] + "\t\t" + array[globals.vars.colomn_for_time]
answer = str(array[globals.vars.column_for_uid]) + "\t" + str(array[globals.vars.column_for_name]) + "\t" + str(array[globals.vars.column_for_version]) + "\t\t"
answer += str(array[globals.vars.column_for_location]) + "\t\t" + str(array[globals.vars.colomn_for_time])
print answer

View File

@@ -27,7 +27,7 @@ class Controller:
self.modules = self.GetPayloads()
print 'im at init'
#print 'im at init'
self.plat = ''
self.arch = ''
self.lang = ''