Skip to content

Instantly share code, notes, and snippets.

@Anirbansingha1
Last active March 21, 2020 19:27
Show Gist options
  • Select an option

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

Select an option

Save Anirbansingha1/a2481f6504ca943e5c8cfd8dc0094af1 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+'_ctfr.txt'
amass_cmd='/mnt/software/ctfr.py -d '+line+' -o '+output
os.system(amass_cmd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment