forked from 0x90/kali-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkali-mobile.sh
executable file
·40 lines (31 loc) · 1.13 KB
/
kali-mobile.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
. helper.sh
mobile_tools()
{
apt-get install gammu
}
android_tools(){
if ask "Install tools for Andoid hacking?" Y; then
apt-get install -y abootimg smali android-sdk apktool dex2jar
#TODO: check if file exists
add-apt-repository ppa:nilarimogard/webupd8
apt-get update -y && apt-get install android-tools-adb android-tools-fastboot
fi
}
ios_tools(){
if ask "Install tools for iOS hacking?" Y; then
apt-get install -y ifuse ipheth-utils iphone-backup-analyzer libimobiledevice-utils libimobiledevice2 python-imobiledevice usbmuxd
fi
}
msf_on_iphone(){
apt-get update && apt-get dist-upgrade && apt-get install wget subversion
wget http://ininjas.com/repo/debs/ruby_1.9.2-p180-1-1_iphoneos-arm.deb
wget http://ininjas.com/repo/debs/iconv_1.14-1_iphoneos-arm.deb
wget http://ininjas.com/repo/debs/zlib_1.2.3-1_iphoneos-arm.deb
dpkg -i iconv_1.14-1_iphoneos-arm.deb
dpkg -i zlib_1.2.3-1_iphoneos-arm.deb
dpkg -i ruby_1.9.2-p180-1-1_iphoneos-arm.deb
cd /private/var
svn co https://www.metasploit.com/svn/framework3/trunk/ msf3
ruby msfconsole
}