Skip to content

Instantly share code, notes, and snippets.

@Sudistark
Created August 6, 2020 16:22
Show Gist options
  • Save Sudistark/9e32182e715e98ef371c04b7883bc1e1 to your computer and use it in GitHub Desktop.
Save Sudistark/9e32182e715e98ef371c04b7883bc1e1 to your computer and use it in GitHub Desktop.
from sys import argv
import os
script, filename = argv
target = [line.strip("\n") for line in open("{}".format(filename), encoding="utf-8")]
for i in target:
os.system("~/go/bin/ffuf -w ~/tools/dirsearch/db/dicc.txt -u {}/FUZZ -c -ac|tee dir-`echo {}|rev|cut -d / -f1|rev`".format(i,i))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment