Added class info

master
Christopher Truncer 2019-02-09 11:39:30 -07:00
parent d17be5a15e
commit fca6943a46
No known key found for this signature in database
GPG Key ID: 7B4C0E22511DF659
2 changed files with 35 additions and 0 deletions

View File

@ -78,6 +78,7 @@ if __name__ == "__main__":
if server.protocol == cli_parsed.server.lower(): if server.protocol == cli_parsed.server.lower():
server.serve() server.serve()
helpers.class_info()
elif cli_parsed.client is not None: elif cli_parsed.client is not None:
# load up all supported client protocols and datatypes # load up all supported client protocols and datatypes
@ -95,6 +96,7 @@ if __name__ == "__main__":
for proto_name, proto_module in the_conductor.client_protocols.iteritems(): for proto_name, proto_module in the_conductor.client_protocols.iteritems():
if proto_module.protocol == cli_parsed.client.lower(): if proto_module.protocol == cli_parsed.client.lower():
proto_module.transmit(generated_data) proto_module.transmit(generated_data)
helpers.class_info()
sys.exit() sys.exit()
else: else:
@ -104,8 +106,10 @@ if __name__ == "__main__":
for proto_name, proto_module in the_conductor.client_protocols.iteritems(): for proto_name, proto_module in the_conductor.client_protocols.iteritems():
if proto_module.protocol == cli_parsed.client.lower(): if proto_module.protocol == cli_parsed.client.lower():
proto_module.transmit(file_data) proto_module.transmit(file_data)
helpers.class_info()
sys.exit() sys.exit()
helpers.class_info()
print "[*] Error: You either didn't provide a valid datatype or client protocol to use." print "[*] Error: You either didn't provide a valid datatype or client protocol to use."
print "[*] Error: Re-run and use --list-datatypes or --list-clients to see possible options." print "[*] Error: Re-run and use --list-datatypes or --list-clients to see possible options."
sys.exit() sys.exit()
@ -128,7 +132,9 @@ if __name__ == "__main__":
generated_data = datatype_module.generate_data() generated_data = datatype_module.generate_data()
actor_variant.emulate(data_to_exfil=generated_data) actor_variant.emulate(data_to_exfil=generated_data)
helpers.class_info()
# Instead, use the exfil data within the module # Instead, use the exfil data within the module
else: else:
actor_variant.emulate() actor_variant.emulate()
helpers.class_info()

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
''' '''
This is for functions potentially used by all modules This is for functions potentially used by all modules
@ -181,3 +182,31 @@ def writeout_text_data(incoming_data):
out_file.write(incoming_data) out_file.write(incoming_data)
return file_name return file_name
def class_info():
class_image = '''MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
M M
M .cCCc. M
M /cccccccc\\ Our Upcoming Trainings: M
M §cccccccc| M
M :ccccccccP NOLACON >> May 13-16 2019 M
M \\cccccccc() New Orleans M
M \\ccccccccD www.nolacon.com M
M |cccccccc\\ _ M
M |ccccccccc) // BLACKHAT >> August 3-6 M
M |cccccc|= // Las Vegas M
M /°°°°°°-. (CCCC) www.blackhat.com/us-19 M
M ;----._ _._ |cccc| M
M .*° °° °. \\cccc/ M
M / / ( )/ccc/ M
M |_/ | _.°cccc| M
M |/ °^^^°ccccccc/ M
M / \\cccccccc/ M
M / \\cccccc/ M
M | °*° M
M / \\ Psss. Follow us on >> Twitter M
M °*-.__________..-*°° >> Facebook M
M \\WWWWWWWWWWWWWWWW/ >> LinkedIn M
M \\WWWWWWWWWWWWWW/ M
MMMMM|WWWWWWWWWWWW|MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM'''
print(class_image)