changing from step to module
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user