changing from step to module

This commit is contained in:
cktricky
2018-04-19 11:12:56 -04:00
parent 8f3e3d6ac0
commit 680791d708
24 changed files with 63 additions and 63 deletions

View File

@@ -21,7 +21,7 @@ for module in all_modules:
parser = argparse.ArgumentParser()
parser.add_argument("-s", "--step", help="list the step you would like to run", action="store", type=str, required=True)
parser.add_argument("-m", "--module", help="list the module you would like to run", action="store", type=str, required=True)
parser.add_argument("-t", "--target", help="Give your target a name so we can track results", action="store", type=str, required=True)
parser.add_argument("-a", "--arguments", help="Provide a list of arguments, comma separated. Ex: arg1,arg2,arg3", action="store", type=str, required=False)
parser.add_argument("-l", "--list", help="list steps", action="store_true")
@@ -46,13 +46,13 @@ def perform_credential_check():
sys.exit(1)
def step_recon():
def module_recon():
print("!!!")
def method_create():
try:
arg = globals()["step_" + args.step]
arg = globals()["module_" + args.step]
return arg
except KeyError:
print("That step does not exist")