Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
#######
#
# Opens searchsploit results in Sublime
#
#######
script=$1
YEL='\033[1;33m'
NC='\033[0m' # No Color
if [ -z $script ]; then
echo "Usage: `basename $0` [KEYWORD]"
exit 1
fi
result=`subl /usr/share/exploitdb/platforms$script`
echo -e "$result"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment