Title:New ipad install Metasploit(New ipad 安装Metasploit) --2012-09-19 11:35

越狱以后,Ssh或者终端Ipad,把屏幕锁定最好暂时设置成永久,我的ipad有时候网络会断掉,熄灭以后。。

更新源,更新软件,安装wget subversion
apt-get update
apt-get dist-upgrade
apt-get install wget subversion

安装各种依赖包
apt-get install adv-cmds apt basic-cmds bootstrap-cmds bzip2 class-dump coreutils developer-cmds diskdev-cmds

file-cmds gawk gdb git gzip iokittools less make more nano network-cmds ldid openssh rsync shell-cmds system-cmds

com.ericasadun.utilities top uikittools findutils inetutils diffutils lsof subversion vim xar tar patch unrar unzip

wget whois xml2 zip p7zip nmap python -y

跳转目录
cd /private/var

下载安装各种,我下载ruby的时候安装的是这个版本,1.8.6我安装以后msf运行出错(见错误1),找不到一些包含文件

wget http://ininjas.com/repo/debs/ruby_1.9.2-p180-1-1_iphoneos-arm.deb

dpkg -i ruby_1.9.2-p180-1-1_iphoneos-arm.deb

wget http://apt.saurik.com/cydia/debs/rubygems_1.2.0-3_iphoneos-arm.deb

dpkg -i rubygems_1.2.0-3_iphoneos-arm.deb

wget http://ininjas.com/repo/debs/iconv_1.14-1_iphoneos-arm.deb

dpkg -i iconv_1.14-1_iphoneos-arm.deb

wget http://ininjas.com/repo/debs/zlib_1.2.3-1_iphoneos-arm.deb

dpkg -i zlib_1.2.3-1_iphoneos-arm.deb

删除deb包
rm -f *.deb

下载metasploit
svn co https://www.metasploit.com/svn/framework3/trunk/msf3

进入目录
cd msf3

运行
./msfconsole

错误1:
/private/var/msf3/lib/fastlib.rb:369:in `fastlib_original_require': no such file to load -- securerandom

(LoadError)
        from /private/var/msf3/lib/fastlib.rb:369:in `require'
        from /private/var/msf3/lib/gemcache/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support.rb:24
        from /private/var/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
        from /private/var/msf3/lib/fastlib.rb:369:in `require'
        from /private/var/msf3/lib/gemcache/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record.rb:24
        from /private/var/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
        from /private/var/msf3/lib/fastlib.rb:369:in `require'
        from /private/var/msf3/lib/msf/core/db_manager.rb:2
         ... 14 levels...
        from /private/var/msf3/lib/msf/ui.rb:11
        from /private/var/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
        from /private/var/msf3/lib/fastlib.rb:369:in `require'
        from ./msfconsole:131

参考:http://www.offensive-security.com/offsec/metasploit-4-on-iphone-4s-and-ipad-2/
参考:http://jiangym19860710.blog.163.com/blog/static/561532482012322111817707/

给出一张安装成功的图片

New ipad install Metasploit(New ipad 安装Metasploit)-LMLPHP

05-02 15:30