Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #64 from sethsec/dev
Browse files Browse the repository at this point in the history
Build 160 - Fix for issue #63
  • Loading branch information
sethsec committed Dec 17, 2018
2 parents 35d84c2 + 3dd2312 commit 35eb081
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions celerystalk
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ import csv

from lib.nmap import nmapcommand

build=str(160)
build=str(161)

def print_banner():

Expand Down Expand Up @@ -751,7 +751,15 @@ def main(arguments):
print("./celerystalk workspace create -o output_dir -w workspace_name -m bb\n")
exit()
exit()
lib.scan.create_dns_recon_tasks(arguments["<domains>"], arguments["--simulation"], workspace, output_dir)
if arguments["-c"]:
if os.path.exists(arguments["-c"]):
config_file = arguments["-c"]
else:
print("[!] The specified config file does not exist. Try again?")
exit()
else:
config_file = 'config.ini'
lib.scan.create_dns_recon_tasks(arguments["<domains>"], arguments["--simulation"], workspace, output_dir,out_of_scope_hosts=None,config_file=config_file)

print("\n[+] To peak behind the curtain, view log/celeryWorker.log")
print("[+] For a csv compatible record of every command execued, view log/cmdExecutionAudit.log\n")
Expand Down Expand Up @@ -794,7 +802,14 @@ def main(arguments):
print("./celerystalk workspace create -o output_dir -w workspace_name -m vapt")
print("./celerystalk workspace create -o output_dir -w workspace_name -m bb\n")
exit()

if arguments["-c"]:
if os.path.exists(arguments["-c"]):
config_file = arguments["-c"]
else:
print("[!] The specified config file does not exist. Try again?")
exit()
else:
config_file = 'config.ini'
arguments["scan"] = True
all_submitted_vhosts = lib.db.get_inscope_submitted_vhosts(workspace)
all_submitted_vhosts_list = []
Expand Down

0 comments on commit 35eb081

Please sign in to comment.