Update GenMacro.py

patch-1
Mr-Un1k0d3r 2016-09-23 20:50:38 -04:00 committed by GitHub
parent d6c3411010
commit 6202e1e8c1
1 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ import os
import re
import json
def get_version():
return "1.1"
def load_config(filename):
config = load_data(filename)
items = {}
@ -108,7 +111,7 @@ def save_macro(filename, buffer):
print "[*] Saving \"%s\" as the final macro" % filename
def banner():
print "Malicious Macro Generator V1.1 - RingZer0 Team\nAuthor: Mr.Un1k0d3r charles.hamilton@mandiant.com\n"
print "Malicious Macro Generator v%s - RingZer0 Team\nAuthor: Mr.Un1k0d3r charles.hamilton@mandiant.com\n" % get_version()
def help():
print "Usage: %s [config] [output]\n\n\tconfig\tConfig file that contain generator information\n\toutput\tOutput filename for the macro" % sys.argv[0]