Prompt [Script]DSploit Updater

Dsploit is not an application I made, all credit belongs to evilsocket. I only made this script to update the apk.

Every hour or so, everytime the source code of the app changes. A apk is generated automatically.

So this script updates the apk every time you type the command in android terminal emulator.

HOW TO INSTALL?

1) Download the dsupdate.zip

2) Flash it in recovery mode.

HOW TO USE?

1) Download Android Terminal Emulator from the playstore if you had not done so..

2) Open the app

3) Type the following:-

su -
dsupdate

*NOTE Ignore the app_process warnings

4) That's it. You successfully updated the app.

What this script currently does?

1) Backs up the current apk.

2) Downloads the latest apk.

3) Installs the latest version.

This is the current script, if anyone has any suspicions...
Code:
#!/system/bin/sh
DT=$(busybox date)
echo "Script Made By La2o"
echo "Script started at:- $DT"
echo "Checking if old backup exists..."
if [ -e /data/app/it.evilsocket.dsploit-1.apk.bak ]; then
echo "Backup found! Deleting..."
rm -f /data/app/it.evilsocket.dsploit-1.apk.bak
fi
echo "Making a backup of the current apk..."
cp /data/app/it.evilsocket.dsploit-1.apk /data/app/it.evilsocket.dsploit-1.apk.bak
chmod 0644 /data/app/it.evilsocket.dsploit-1.apk.bak
echo "Done!"
cd sdcard
echo "Downloading Nightly APK"
busybox wget "http://94.75.228.27/dsploit/dSploit-nightly.apk"
echo "Installing!"
pm uninstall it.evilsocket.dsploit
pm install dSploit-nightly.apk
echo "Done..."
echo "Deleting Downloaded APK";
rm -f dSploit-nightly.apk
echo "Checking if the app installed correctly..."
cd ..
cd /data/app
ls -a -l | grep dsploit
echo "Done"
Attached Files
File Type: zip dsupdate.zip - [Click for QR Code] (155.4 KB, 35 views)
Helped ya out?
Press the Button Or Donate to me by clicking the button thats on the bottom of my avatar!
I'll really appreciate it xD