■ ■ ■ ■ ■ ■
lib/workflow/direct_list.py
| skipped 292 lines |
293 | 293 | | class DirbScan: |
294 | 294 | | reports = [ |
295 | 295 | | { |
296 | | - | "path": "$WORKSPACE/directory/raw-summary.txt", |
| 296 | + | "path": "$WORKSPACE/directory/summary.txt", |
297 | 297 | | "type": "bash", |
298 | 298 | | "note": "final, diff, slack", |
299 | 299 | | }, |
| skipped 8 lines |
308 | 308 | | 'general': [ |
309 | 309 | | { |
310 | 310 | | "requirement": "$WORKSPACE/formatted/$OUTPUT-paths.txt", |
311 | | - | "banner": "Format fuzz URL", |
312 | | - | "cmd": "cat $WORKSPACE/formatted/$OUTPUT-paths.txt | unfurl -u format %s://%d%p/FUZZ | grep -v 'http:///FUZZ' > $WORKSPACE/directory/fuzz-$OUTPUT.txt", |
313 | | - | "output_path": "$WORKSPACE/directory/fuzz-$OUTPUT.txt", |
314 | | - | "std_path": "", |
315 | | - | "waiting": "first", |
316 | | - | }, |
317 | | - | { |
318 | 311 | | "banner": "ffuf dirscan", |
319 | | - | "cmd": "$ALIAS_PATH/dirscan -i [[0]] -w '$DATA_PATH/wordlists/content/quick.txt' -o '$WORKSPACE/directory/raw' -p '$GO_PATH' -s '$WORKSPACE/directory'", |
320 | | - | "output_path": "", |
321 | | - | "std_path": "", |
322 | | - | "chunk": 5, |
323 | | - | "cmd_type": "list", |
324 | | - | "resources": "l0|$WORKSPACE/directory/fuzz-$OUTPUT.txt", |
| 312 | + | "cmd": "$GO_PATH/ffuf -t 40 -c -sf -fc '404,429,501,502,503' -D -e '.php,.asp,.jsp,.js,.html,.swp,.swf,.zip' -of csv -o $WORKSPACE/directory/summary.csv -c -u HOST/FUZZ -w $WORKSPACE/formatted/$OUTPUT-paths.txt:HOST -w $DATA_PATH/wordlists/content/quick.txt:FUZZ -mode clusterbomb", |
| 313 | + | "output_path": "$WORKSPACE/directory/summary.csv", |
| 314 | + | "std_path": "$WORKSPACE/directory/std-$OUTPUT-ffuf.std", |
325 | 315 | | }, |
326 | 316 | | { |
| 317 | + | "requirement": "$WORKSPACE/directory/summary.csv", |
327 | 318 | | "banner": "csv beautify", |
328 | | - | "cmd": "cat $WORKSPACE/directory/raw/* | csvcut -c 2-6 | csvlook | tee -a $WORKSPACE/directory/beautify-summary.csv", |
329 | | - | "output_path": "", |
| 319 | + | "cmd": "cat $WORKSPACE/directory/summary.csv | csvcut -c 3-6 | csvlook | tee -a $WORKSPACE/directory/beautify-summary.csv", |
| 320 | + | "output_path": "$WORKSPACE/directory/beautify-summary.csv", |
330 | 321 | | "std_path": "", |
331 | 322 | | "waiting": "last", |
332 | 323 | | }, |
| skipped 154 lines |