Description: Installing Metasploit in iPad 2 IOS 5.0.1
Tags: Metasploit ipad ipad2 5.0.1 ,
Disclaimer: We are a infosec video aggregator and this video is linked from an external website. The original author may be different from the user re-posting/linking it here. Please do not assume the authors to be same without verifying.
@Japtron: Nice! Thanks for your time and making a great tutorial. This also works on the iphone 4 iOS 5.0.1 I tested it.
There seems to be an issue trying to ssh into the phone but I managed to find a work around this using sbssettings. Mind if I post this on my blog? will add your name of course to the credits :)
@everybody: here are the commands used in this tutorial you can copy and paste them into the terminal instead of typing it all
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 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
cd /private/var
wget http://apt.saurik.com/cydia/debs/ruby_1.8.6-p111-5_iphoneos-arm.deb
dpkg -i ruby_1.8.6-p111-5_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
svn co https://www.metasploit.com/svn/framework3/trunk/ msf3/
cd msf3
./msfconsole
No problem
@Japtron: Thanks I posted it on my blog, peace
Guys, very noob question, but do you have to have the iPad jailbroken? I'm assuming you do, but just curious. Thanks.
Yes, you must jailbreak.
apt-get install : command not found....
can U help me? :)
Search and Install from cydia "BigBoss Recommended package"
Thank You so much .....
#dpkg -i rubygems_1.2.0-3_iphoneos-arm.deb
dpkg: regarding rubygems_1.2.0-3_iphoneos-arm.deb containing rubygems:
ruby conflicts with rubygems
rubygems (version 1.2.0-3) is to be installed.
dpkg: error processing rubygems_1.2.0-3_iphoneos-arm.deb (--install):
conflicting packages - not installing rubygems
Errors were encountered while processing:
rubygems_1.2.0-3_iphoneos-arm.deb
can U help me again? :D
delete from cydia any packages of ruby.
After
cd /private/var
wget http://apt.saurik.com/cydia/debs/ruby_1.8.6-p111-5_iphoneos-arm.deb
dpkg -i ruby_1.8.6-p111-5_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
and no upgrade ruby after
I need someone who is capable of hacking* websites & accessing their email database
I don't need scraping,web crawling or extractors
I need this sites HACKED so I gain access to their email DB
I will need to test the result u give me,if it checks out I shall send u 3000$ ASAP and 10-20 websites monthly,which will increase upon delivery of faster & quality service
Pls note,CONTINUITY is what I am after...I NEED A GOOD PARTNER I CAN WORK WITH FOR A VERY LONG TIME!. I HAVE AT LEAST 500 WEBSITES ON MY LIST AND IM WILLING TO PAY 3000$ PER WEBSITE
PLEASE SEND ME A MAIL IF U CAN DO THIS ASAP ; omorye007 (at) yahoo (dot) com
Cheers
Hi Hackix
can u tell me waht website and from country?
thankyou so much japtron...
i have everything up and running except some sort of database, neither
$gem install postgres or
$gem install pg
work for me, I get "could not find gem postgres locally or in a repository" any suggestions?
im having a problem, ruby is deleted from cydia btw.. in the terminal it says:
"cannot write to "ruby_1.8.6-p111-5_iphoneos-arm.deb"
(permission denied).
while trying to install it...
Try from console with root
ok, thanks
Any idea why I get this response after I invoke ./msfconsole?
iDevice:/private/var/msf3 root# ./msfconsole
/private/var/msf3/modules/auxiliary/bnat/bnat_router.rb:60: warning: parenthesize argument(s) for future version
/private/var/msf3/modules/auxiliary/bnat/bnat_router.rb:61: warning: parenthesize argument(s) for future version
/private/var/msf3/modules/auxiliary/bnat/bnat_router.rb:134: warning: parenthesize argument(s) for future version
=[ metasploit v4.2.0-dev [core:4.2 api:1.0]
+ -- --=[ 798 exploits - 435 auxiliary - 133 post
+ -- --=[ 246 payloads - 27 encoders - 8 nops
=[ svn r14691 updated today (2012.02.04)
http://dev.metasploit.com/redmine/issues/6236
Japtron - Is this normal because this version of msf is a developement environment? http://dev.metasploit.com/redmine/projects/framework/wiki/Setting_Up_a_Development_Environment
I'm running:
ruby_1.8.6-p111-5_iphoneos-arm.deb
rubygems_1.2.0-3_iphoneos-arm.deb
Are you running the same version of ruby & ruby gems? Anyone else getting these warnings? Regardless I still want to thank you, Japtron, for this video tutorial because everything seems to work fine except for the 3 warnings I get when I first invoke ./msfconsole.
-Cyph
Hi x.avant
Please send me a mail ASAP! (omorye007 -at- yahoo -dot-com)
i will reply u with details
@cyph
Did you get a solution to your problem? I am getting the same message when I try to run msfconsole and I have the same files as you also.
@cyph
I have the same problem. What is the solution?
/private/var/msf3/modules/auxiliary/bnat/bnat_router.rb:60: warning: parenthesize argument(s) for future version
/private/var/msf3/modules/auxiliary/bnat/bnat_router.rb:61: warning: parenthesize argument(s) for future version
/private/var/msf3/modules/auxiliary/bnat/bnat_router.rb:134: warning: parenthesize argument(s) for future version
Metasploit 3.4 works fine, but using the URL in this video (which I like because I do not have to update) gives me the following error:
/private/var/msf3/lib/msf/core/module.rb:1028:in `inject': no block given (LocalJumpError)
from /private/var/msf3/lib/rex/text.rb:1218:in `each'
from /private/var/msf3/lib/rex/text.rb:1218:in `inject'
from /private/var/msf3/lib/rex/text.rb:1218:in `checksum8'
from /private/var/msf3/lib/msf/core/handler/reverse_http.rb:70:in `generate_uri_checksum'
from /private/var/msf3/lib/msf/core/handler/reverse_http.rb:68:in `upto'
from /private/var/msf3/lib/msf/core/handler/reverse_http.rb:68:in `generate_uri_checksum'
from /private/var/msf3/modules/payloads/stagers/windows/reverse_ipv6_http.rb:80:in `generate'
from /private/var/msf3/lib/msf/core/payload.rb:166:in `size'
... 11 levels...
from /private/var/msf3/lib/msf/base/simple/framework.rb:71:in `create'
from /private/var/msf3/lib/msf/ui/console/driver.rb:81:in `initialize'
from ./msfconsole:134:in `new'
from ./msfconsole:134
same problem here jfidy.. any clues,,?
btw, how to uninstall metasploit from ipad 2 ?
thx.
i have one problem . see this
iPad:/private/var/msf3 root# ./msfconsole
/private/var/msf3/lib/fastlib.rb:368:in `fastlib_original_require': no such file to load -- securerandom (LoadError)
from /private/var/msf3/lib/fastlib.rb:368:in `require'
from /private/var/msf3/lib/gemcache/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support.rb:24
from /private/var/msf3/lib/fastlib.rb:368:in `fastlib_original_require'
from /private/var/msf3/lib/fastlib.rb:368:in `require'
from /private/var/msf3/lib/gemcache/ruby/1.9.1/gems/activerecord-3.2.4/lib/active_record.rb:24
from /private/var/msf3/lib/fastlib.rb:368:in `fastlib_original_require'
from /private/var/msf3/lib/fastlib.rb:368:in `require'
from /private/var/msf3/lib/msf/core/db_manager.rb:1
... 14 levels...
from /private/var/msf3/lib/msf/ui.rb:10
from /private/var/msf3/lib/fastlib.rb:368:in `fastlib_original_require'
from /private/var/msf3/lib/fastlib.rb:368:in `require'
from ./msfconsole:128
:)
you need ruby_1.8.6-p111-5_iphoneos-arm.deb not Ruby 1.9.1
/private/var/msf3/lib/fastlib.rb:368:in `fastlib_original_require': no such file to load -- securerandom (LoadError)
from /private/var/msf3/lib/fastlib.rb:368:in `require'
from /private/var/msf3/lib/gemcache/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support.rb:24
from /private/var/msf3/lib/fastlib.rb:368:in `fastlib_original_require'
from /private/var/msf3/lib/fastlib.rb:368:in `require'
from /private/var/msf3/lib/gemcache/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record.rb:24
from /private/var/msf3/lib/fastlib.rb:368:in `fastlib_original_require'
from /private/var/msf3/lib/fastlib.rb:368:in `require'
from /private/var/msf3/lib/msf/core/db_manager.rb:1
... 14 levels...
from /private/var/msf3/lib/msf/ui.rb:10
from /private/var/msf3/lib/fastlib.rb:368:in `fastlib_original_require'
from /private/var/msf3/lib/fastlib.rb:368:in `require'
from ./msfconsole:128
I get this error. I'm using the Ruby package that you gave us, not 1.9.1.
Thank you very much for the information, but I have a question.
What is the difference between "Temporary and Permanently" ?
Can I work in the same way ?
Thanks.
I have an error.
/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.2/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.2/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
What do you suggest ?
how to remove ruby and gems 1.9.1?
i tryed apt-get but i get the same error even after removing and reinstalling 1.8.6
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.2/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.2/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
by the way... i am not even sure it is the ruby version that is the problem... since :
root# ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [arm-darwin9]
seems ok right?