Projects STRLCPY Osmedeus Commits 41350b58
🤬
  • ■ ■ ■ ■
    install.sh
    skipped 188 lines
    189 189  install_banner "rgf"
    190 190  $GO_BIN get -u github.com/j3ssie/rgf
    191 191  install_banner "go cli-utils"
    192  -$GO_BIN get -u github.com/j3ssie/go-auxs/getIP
    193 192  $GO_BIN get -u github.com/j3ssie/go-auxs/just-resolved
     193 +$GO_BIN get -u github.com/j3ssie/go-auxs/cinfo
    194 194   
    195 195  cp $GO_DIR/* "$PLUGINS_PATH/go/" 2>/dev/null
    196 196  # install_banner "observatory"
    skipped 64 lines
  • ■ ■ ■ ■ ■ ■
    lib/workflow/direct.py
    skipped 401 lines
    402 402   "note": "final",
    403 403   },
    404 404   {
    405  - "path": "$WORKSPACE/portscan/screenshot-$OUTPUT.html",
     405 + "path": "$WORKSPACE/portscan/$OUTPUT.html",
    406 406   "type": "html",
    407 407   "note": "final",
    408 408   },
    409 409   {
    410  - "path": "$WORKSPACE/portscan/$OUTPUT-masscan.csv",
     410 + "path": "$WORKSPACE/portscan/beautify-$OUTPUT.txt",
    411 411   "type": "bash",
     412 + "note": "final, slack, diff",
     413 + },
     414 + {
     415 + "path": "$WORKSPACE/portscan/$OUTPUT-aquatone/aquatone_report.html",
     416 + "type": "html",
    412 417   "note": "final",
    413 418   },
    414 419   {
    415 420   "path": "$WORKSPACE/portscan/screenshot/$OUTPUT-raw-gowitness.html",
    416 421   "type": "html",
    417  - "note": "",
     422 + "note": "final",
    418 423   },
    419 424   ]
    420 425   logs = []
    421 426   commands = {
    422 427   'general': [
    423 428   {
    424  - # "requirement": "$WORKSPACE/formatted/ip-$OUTPUT.txt",
     429 + "requirement": "$WORKSPACE/probing/ip-$OUTPUT.txt",
    425 430   "banner": "Masscan 65535 ports",
    426  - "cmd": "$ALIAS_PATH/portscan -i $TARGET -o '$WORKSPACE/portscan/$OUTPUT' -s '$WORKSPACE/portscan/summary.txt' -p '$PLUGINS_PATH'",
    427  - "output_path": "$WORKSPACE/portscan/$OUTPUT.xml",
     431 + "cmd": "$ALIAS_PATH/portscan -i $WORKSPACE/probing/ip-$OUTPUT.txt -o '$WORKSPACE/portscan/$OUTPUT' -s '$WORKSPACE/portscan/summary.txt' -p '$PLUGINS_PATH'",
     432 + "output_path": "$WORKSPACE/portscan/$OUTPUT.csv",
    428 433   "std_path": "",
    429 434   "waiting": "first",
    430 435   },
    skipped 5 lines
    436 441   "std_path": "",
    437 442   "pre_run": "update_ports",
    438 443   "cleaned_output": "$WORKSPACE/portscan/formatted-$OUTPUT.txt",
    439  - # "waiting": "last",
    440 444   },
    441 445   {
    442 446   "requirement": "$WORKSPACE/portscan/$OUTPUT.csv",
    443  - "banner": "Screenshot on ports found",
    444  - "cmd": "$GO_PATH/gowitness file -s $WORKSPACE/portscan/scheme-$OUTPUT.txt -t 30 --log-level fatal --destination $WORKSPACE/portscan/screenshot/raw-gowitness/ --db $WORKSPACE/portscan/screenshot/gowitness.db",
    445  - "output_path": "$WORKSPACE/portscan/screenshot/gowitness.db",
     447 + "banner": "CSV beautify",
     448 + "cmd": '''cat $WORKSPACE/portscan/$OUTPUT.csv | awk -F',' '{print $1":"$4}' | httprobe -c 30 | tee $WORKSPACE/portscan/http-$OUTPUT.txt''',
     449 + "output_path": "$WORKSPACE/portscan/http-$OUTPUT.txt",
    446 450   "std_path": "",
    447  - "post_run": "clean_gowitness",
    448  - "pre_run": "get_scheme",
    449  - "cleaned_output": "$WORKSPACE/portscan/screenshot-$OUTPUT.html",
     451 + },
     452 + {
     453 + "banner": "aquatone",
     454 + "cmd": f"cat $WORKSPACE/portscan/http-$OUTPUT.txt | $GO_PATH/aquatone -screenshot-timeout 50000 -threads {threads} -out $WORKSPACE/portscan/$OUTPUT-aquatone",
     455 + "output_path": "$WORKSPACE/portscan/$OUTPUT-aquatone/aquatone_report.html",
     456 + "std_path": "$WORKSPACE/portscan/std-$OUTPUT-aquatone.std",
    450 457   "waiting": "last",
    451 458   },
    452  -
    453 459   ],
    454 460   }
    455 461   
    skipped 136 lines
  • ■ ■ ■ ■ ■ ■
    lib/workflow/direct_list.py
    skipped 320 lines
    321 321   "note": "final",
    322 322   },
    323 323   {
    324  - "path": "$WORKSPACE/portscan/screenshot-$OUTPUT.html",
     324 + "path": "$WORKSPACE/portscan/$OUTPUT.html",
    325 325   "type": "html",
    326 326   "note": "final",
    327 327   },
    skipped 1 lines
    329 329   "path": "$WORKSPACE/portscan/beautify-$OUTPUT.txt",
    330 330   "type": "bash",
    331 331   "note": "final, slack, diff",
     332 + },
     333 + {
     334 + "path": "$WORKSPACE/portscan/$OUTPUT-aquatone/aquatone_report.html",
     335 + "type": "html",
     336 + "note": "final",
    332 337   },
    333 338   {
    334 339   "path": "$WORKSPACE/portscan/screenshot/$OUTPUT-raw-gowitness.html",
    335 340   "type": "html",
    336  - "note": "",
     341 + "note": "final",
    337 342   },
    338 343   ]
    339 344   logs = []
    340 345   commands = {
    341 346   'general': [
    342 347   {
    343  - "requirement": "$WORKSPACE/formatted/ip-$OUTPUT.txt",
     348 + "requirement": "$WORKSPACE/probing/ip-$OUTPUT.txt",
    344 349   "banner": "Masscan 65535 ports",
    345  - "cmd": "$ALIAS_PATH/portscan -i $WORKSPACE/formatted/ip-$OUTPUT.txt -o '$WORKSPACE/portscan/$OUTPUT' -s '$WORKSPACE/portscan/summary.txt' -p '$PLUGINS_PATH'",
     350 + "cmd": "$ALIAS_PATH/portscan -i $WORKSPACE/probing/ip-$OUTPUT.txt -o '$WORKSPACE/portscan/$OUTPUT' -s '$WORKSPACE/portscan/summary.txt' -p '$PLUGINS_PATH'",
    346 351   "output_path": "$WORKSPACE/portscan/$OUTPUT.csv",
    347 352   "std_path": "",
    348 353   "waiting": "first",
    skipped 9 lines
    358 363   },
    359 364   {
    360 365   "requirement": "$WORKSPACE/portscan/$OUTPUT.csv",
    361  - "banner": "Screenshot on ports found",
    362  - "cmd": f"$GO_PATH/gowitness file -s $WORKSPACE/portscan/scheme-$OUTPUT.txt -t {threads} --log-level fatal --destination $WORKSPACE/portscan/screenshot/raw-gowitness/ --db $WORKSPACE/portscan/screenshot/gowitness.db",
    363  - "output_path": "$WORKSPACE/portscan/screenshot/gowitness.db",
     366 + "banner": "CSV beautify",
     367 + "cmd": '''cat $WORKSPACE/portscan/$OUTPUT.csv | awk -F',' '{print $1":"$4}' | httprobe -c 30 | tee $WORKSPACE/portscan/http-$OUTPUT.txt''',
     368 + "output_path": "$WORKSPACE/portscan/http-$OUTPUT.txt",
    364 369   "std_path": "",
    365  - "waiting": "last",
    366  - "post_run": "clean_gowitness",
    367  - "pre_run": "get_scheme",
    368  - "cleaned_output": "$WORKSPACE/portscan/screenshot-$OUTPUT.html",
    369 370   },
    370 371   {
    371 372   "banner": "aquatone",
    372  - "cmd": f"cat $WORKSPACE/portscan/scheme-$OUTPUT.txt | $GO_PATH/aquatone -scan-timeout 1000 -threads {threads} -out $WORKSPACE/portscan/$OUTPUT-aquatone",
     373 + "cmd": f"cat $WORKSPACE/portscan/http-$OUTPUT.txt | $GO_PATH/aquatone -screenshot-timeout 50000 -threads {threads} -out $WORKSPACE/portscan/$OUTPUT-aquatone",
    373 374   "output_path": "$WORKSPACE/portscan/$OUTPUT-aquatone/aquatone_report.html",
    374 375   "std_path": "$WORKSPACE/portscan/std-$OUTPUT-aquatone.std",
    375 376   "waiting": "last",
    skipped 93 lines
  • ■ ■ ■ ■ ■ ■
    lib/workflow/general.py
    skipped 430 lines
    431 431   "note": "final",
    432 432   },
    433 433   {
    434  - "path": "$WORKSPACE/portscan/screenshot-$OUTPUT.html",
     434 + "path": "$WORKSPACE/portscan/$OUTPUT.html",
    435 435   "type": "html",
    436 436   "note": "final",
    437 437   },
    skipped 3 lines
    441 441   "note": "final, slack, diff",
    442 442   },
    443 443   {
     444 + "path": "$WORKSPACE/portscan/$OUTPUT-aquatone/aquatone_report.html",
     445 + "type": "html",
     446 + "note": "final",
     447 + },
     448 + {
    444 449   "path": "$WORKSPACE/portscan/screenshot/$OUTPUT-raw-gowitness.html",
    445 450   "type": "html",
    446  - "note": "",
     451 + "note": "final",
    447 452   },
    448 453   ]
    449 454   logs = []
    skipped 18 lines
    468 473   },
    469 474   {
    470 475   "requirement": "$WORKSPACE/portscan/$OUTPUT.csv",
    471  - "banner": "Screenshot on ports found",
    472  - "cmd": "$GO_PATH/gowitness file -s $WORKSPACE/portscan/scheme-$OUTPUT.txt -t 30 --log-level fatal --destination $WORKSPACE/portscan/screenshot/raw-gowitness/ --db $WORKSPACE/portscan/screenshot/gowitness.db",
    473  - "output_path": "$WORKSPACE/portscan/screenshot/gowitness.db",
     476 + "banner": "CSV beautify",
     477 + "cmd": '''cat $WORKSPACE/portscan/$OUTPUT.csv | awk -F',' '{print $1":"$4}' | httprobe -c 30 | tee $WORKSPACE/portscan/http-$OUTPUT.txt''',
     478 + "output_path": "$WORKSPACE/portscan/http-$OUTPUT.txt",
    474 479   "std_path": "",
    475  - "post_run": "clean_gowitness",
    476  - "pre_run": "get_scheme",
    477  - "cleaned_output": "$WORKSPACE/portscan/screenshot-$OUTPUT.html",
    478 480   },
    479 481   {
    480 482   "banner": "aquatone",
    481  - "cmd": f"cat $WORKSPACE/portscan/scheme-$OUTPUT.txt | $GO_PATH/aquatone -scan-timeout 1000 -threads {threads} -out $WORKSPACE/portscan/$OUTPUT-aquatone",
     483 + "cmd": f"cat $WORKSPACE/portscan/http-$OUTPUT.txt | $GO_PATH/aquatone -screenshot-timeout 50000 -threads {threads} -out $WORKSPACE/portscan/$OUTPUT-aquatone",
    482 484   "output_path": "$WORKSPACE/portscan/$OUTPUT-aquatone/aquatone_report.html",
    483 485   "std_path": "$WORKSPACE/portscan/std-$OUTPUT-aquatone.std",
    484 486   "waiting": "last",
    skipped 137 lines
Please wait...
Page is in error, reload to recover