Skip to content

Instantly share code, notes, and snippets.

@d3417
Created September 5, 2016 14:18
Show Gist options
  • Save d3417/920ebce418188c067ba8b45ea28e6e8a to your computer and use it in GitHub Desktop.
Save d3417/920ebce418188c067ba8b45ea28e6e8a to your computer and use it in GitHub Desktop.
fix
nomefile="/usr/share/xerosploit/xerosploit.py"
ricerca="\/opt\/xerosploit\/"
sostituisci="\/usr\/share\/xerosploit\/"
if cat $nomefile | grep $ricerca; then
echo "XeroSploit Fixed"
sed -i "s/$ricerca/$sostituisci/" $nomefile
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment