Skip to content

Instantly share code, notes, and snippets.

@PhirePhly
Created August 22, 2015 03:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PhirePhly/dcbfc6515d3fa39fcd74 to your computer and use it in GitHub Desktop.
Save PhirePhly/dcbfc6515d3fa39fcd74 to your computer and use it in GitHub Desktop.
Short exec file for APRX to wrap a beacon file to delete it upon beaconing
#!/bin/bash
BEACONFILE="./beaconfile.txt"
if [ -f $BEACONFILE ]; then
cat ./beaconfile.txt
rm ./beaconfile.txt
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment