Remove error if executables already exist

pull/6/head
IMcPwn 2015-09-05 12:25:31 -04:00
parent 662ac7118e
commit 4096ca0cb3
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ function start {
echo "Meterpreter started with pid:"
pidof meterpreter
else
mkdir /etc/turtle/meterpreter
rm /etc/turtle/meterpreter/meterpreter_exec
mkdir -p /etc/turtle/meterpreter
rm -f /etc/turtle/meterpreter/meterpreter_exec
touch /etc/turtle/meterpreter/meterpreter_exec
chmod +x /etc/turtle/meterpreter/meterpreter_exec