Projects STRLCPY Osmedeus Commits 81e19b4e
🤬
  • ■ ■ ■ ■ ■ ■
    lib/alias/format_input
    skipped 18 lines
    19 19   ips.append(m.group())
    20 20   if ips:
    21 21   return ips[0]
    22  - return ips
     22 + return ""
    23 23   
    24 24  def routine(args):
    25 25   target = args.input
    skipped 13 lines
    39 39   data = utils.just_read(target, get_list=True)
    40 40   for line in data:
    41 41   ips.append(grep_the_IP(line))
    42  - utils.just_write(f"{output}-range.txt", "\n".join(ips))
    43  - time.sleep(0.2)
     42 + if ips:
     43 + utils.just_write(f"{output}-range.txt", "\n".join(ips))
     44 + time.sleep(0.2)
    44 45   
    45 46   
    46 47  parser = argparse.ArgumentParser(description="VulnScan alias")
    skipped 6 lines
  • ■ ■ ■ ■ ■ ■
    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
  • ■ ■ ■ ■ ■ ■
    lib/workflow/general.py
    skipped 499 lines
    500 500  class DirbScan:
    501 501   reports = [
    502 502   {
    503  - "path": "$WORKSPACE/directory/raw-summary.txt",
     503 + "path": "$WORKSPACE/directory/summary.txt",
    504 504   "type": "bash",
    505 505   "note": "final, diff, slack",
    506 506   },
    skipped 8 lines
    515 515   'general': [
    516 516   {
    517 517   "requirement": "$WORKSPACE/probing/http-$OUTPUT.txt",
    518  - "banner": "Format fuzz URL",
    519  - "cmd": "cat $WORKSPACE/probing/http-$OUTPUT.txt | unfurl -u format %s://%d%p/FUZZ | tee $WORKSPACE/directory/fuzz-$OUTPUT.txt",
    520  - "output_path": "$WORKSPACE/directory/fuzz-$OUTPUT.txt",
    521  - "std_path": "",
    522  - "waiting": "first",
    523  - },
    524  - {
    525 518   "banner": "ffuf dirscan",
    526  - "cmd": "$ALIAS_PATH/dirscan -i [[0]] -w '$DATA_PATH/wordlists/content/quick.txt' -o '$WORKSPACE/directory/raw' -p '$GO_PATH' -s '$WORKSPACE/directory'",
    527  - "output_path": "",
    528  - "std_path": "",
    529  - "chunk": 5,
    530  - "cmd_type": "list",
    531  - "resources": "l0|$WORKSPACE/directory/fuzz-$OUTPUT.txt",
     519 + "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/probing/http-$OUTPUT.txt:HOST -w $DATA_PATH/wordlists/content/quick.txt:FUZZ -mode clusterbomb",
     520 + "output_path": "$WORKSPACE/directory/summary.csv",
     521 + "std_path": "$WORKSPACE/directory/std-$OUTPUT-ffuf.std",
    532 522   },
    533 523   {
     524 + "requirement": "$WORKSPACE/directory/summary.csv",
    534 525   "banner": "csv beautify",
    535  - "cmd": "cat $WORKSPACE/directory/raw/* | csvcut -c 2-6 | csvlook | tee -a $WORKSPACE/directory/beautify-summary.csv",
    536  - "output_path": "",
     526 + "cmd": "cat $WORKSPACE/directory/summary.csv | csvcut -c 3-6 | csvlook | tee -a $WORKSPACE/directory/beautify-summary.csv",
     527 + "output_path": "$WORKSPACE/directory/beautify-summary.csv",
    537 528   "std_path": "",
    538 529   "waiting": "last",
    539 530   },
    skipped 40 lines
Please wait...
Page is in error, reload to recover