Created
August 22, 2015 03:44
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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