| skipped 560 lines |
561 | 561 | | class DirbScan: |
562 | 562 | | reports = [ |
563 | 563 | | { |
564 | | - | "path": "$WORKSPACE/directory/quick-$OUTPUT-dirsearch.txt", |
| 564 | + | "path": "$WORKSPACE/directory/raw-summary.txt", |
565 | 565 | | "type": "bash", |
566 | | - | "note": "final", |
| 566 | + | "note": "final, diff, slack", |
| 567 | + | }, |
| 568 | + | { |
| 569 | + | "path": "$WORKSPACE/directory/beautify-summary.csv", |
| 570 | + | "type": "bash", |
| 571 | + | "note": "final, diff, slack", |
567 | 572 | | }, |
568 | 573 | | ] |
569 | 574 | | logs = [] |
570 | 575 | | commands = { |
571 | 576 | | 'general': [ |
572 | 577 | | { |
573 | | - | "requirement": "$RAW_TARGET", |
574 | | - | "banner": "dirsearch", |
575 | | - | "cmd": "python3 $PLUGINS_PATH/dirsearch/dirsearch.py -b -e php,aspx,jsp,html,swp,swf,zip --wordlist=$DATA_PATH/wordlists/content/really-quick.txt -x '302,404' --simple-report=$WORKSPACE/directory/quick-$OUTPUT-dirsearch.txt -t 50 -L $RAW_TARGET", |
576 | | - | "output_path": "$WORKSPACE/directory/quick-$OUTPUT-dirsearch.txt", |
577 | | - | "std_path": "$WORKSPACE/directory/std-$OUTPUT-dirsearch.std" |
| 578 | + | "requirement": "$WORKSPACE/formatted/$OUTPUT-paths.txt", |
| 579 | + | "banner": "Format fuzz URL", |
| 580 | + | "cmd": "cat $WORKSPACE/formatted/$OUTPUT-paths.txt | unfurl -u format %s://%d%p/FUZZ | grep -v 'http:///FUZZ' > $WORKSPACE/directory/fuzz-$OUTPUT.txt", |
| 581 | + | "output_path": "$WORKSPACE/directory/fuzz-$OUTPUT.txt", |
| 582 | + | "std_path": "", |
| 583 | + | "waiting": "first", |
| 584 | + | }, |
| 585 | + | { |
| 586 | + | "banner": "ffuf dirscan", |
| 587 | + | "cmd": "$ALIAS_PATH/dirscan -i [[0]] -w '$DATA_PATH/wordlists/content/quick.txt' -o '$WORKSPACE/directory/raw' -p '$GO_PATH' -s '$WORKSPACE/directory'", |
| 588 | + | "output_path": "", |
| 589 | + | "std_path": "", |
| 590 | + | "chunk": 5, |
| 591 | + | "cmd_type": "list", |
| 592 | + | "resources": "l0|$WORKSPACE/directory/fuzz-$OUTPUT.txt", |
| 593 | + | }, |
| 594 | + | { |
| 595 | + | "banner": "csv beautify", |
| 596 | + | "cmd": "cat $WORKSPACE/directory/raw/* | csvcut -c 2-6 | csvlook | tee -a $WORKSPACE/directory/beautify-summary.csv", |
| 597 | + | "output_path": "", |
| 598 | + | "std_path": "", |
| 599 | + | "waiting": "last", |
578 | 600 | | }, |
579 | 601 | | ], |
580 | 602 | | } |
| 603 | + | |
581 | 604 | | |
582 | 605 | | |
583 | 606 | | class GitScan: |
| skipped 37 lines |