Skip to content

Instantly share code, notes, and snippets.

@adityathebe
Created January 16, 2021 06:26
Show Gist options
  • Save adityathebe/5fb86e87ea6948f53abdaf8f2a6036bd to your computer and use it in GitHub Desktop.
Save adityathebe/5fb86e87ea6948f53abdaf8f2a6036bd to your computer and use it in GitHub Desktop.
Script to download amass binary
#!/bin/bash
tmp_dir='amass-temp-dir'
mkdir $temp_dir
cd $temp_dir
wget "https://github.com/OWASP/Amass/releases/download/v$1/amass_linux_amd64.zip"
unzip amass_linux_amd64.zip
rm amass_linux_amd64.zip
mv amass_linux_amd64/amass ~/.local/bin/
cd ..
rm -rf $temp_dir
@adityathebe
Copy link
Author

wget 'https://gist.githubusercontent.com/adityathebe/5fb86e87ea6948f53abdaf8f2a6036bd/raw/d31b2bf14341b3927ba395d5ad77b32ceaf33cec/download-amass-bin.sh'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment