Skip to content

Instantly share code, notes, and snippets.

@jhaddix
Created November 21, 2019 05:27
Show Gist options
  • Save jhaddix/857a2608a13cf706522731dcaa4edb8d to your computer and use it in GitHub Desktop.
Save jhaddix/857a2608a13cf706522731dcaa4edb8d to your computer and use it in GitHub Desktop.
copy in bghp.he.net to this script and get amass command
#!/bin/bash
expand $1 |cut -d " " -f1|sed 's/AS//g'
echo ""
echo ""
lined=`expand $1 |cut -d " " -f1|sed 's/AS//g'| tr '\n' ','`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment