Skip to content

Instantly share code, notes, and snippets.

@Anirbansingha1
Created March 21, 2020 20:46
Show Gist options
  • Select an option

  • Save Anirbansingha1/5cef90c2f3321e8e8c682de82beb479a to your computer and use it in GitHub Desktop.

Select an option

Save Anirbansingha1/5cef90c2f3321e8e8c682de82beb479a to your computer and use it in GitHub Desktop.
#!/usr/bin/python3
import sys,os
domain_file=sys.argv[1]
with open(domain_file) as d:
for line in d:
line=line.strip()
output=line+'_shuffle.txt'
amass_cmd= 'shuffledns -d '+line+' -w -o '+output
os.system('shuffledns -d '+line+' -w /mnt/software/subdomain_word.txt -r resolvers.txt -o '+output)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment