maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Metasploit N900 install (https://talk.maemo.org/showthread.php?t=81816)

n900_ 2013-04-02 20:04

Re: Metasploit N900 install
 
n900 can run metasploit 4.5 in 3minutes.

orlandohc 2013-04-02 22:32

Re: Metasploit N900 install
 
Quote:

Originally Posted by dzano (Post 1333683)
it's ok..it took me like 10-15 minutes

Thank you dzano, now my msf its working, it took me around 8 or 10 minutes.

Social Engineering Toolkit its working too, its so fast then msf. Try it, its my favorite. ;)

Greetings from México.

dzano 2013-04-03 08:13

Re: Metasploit N900 install
 
Quote:

Originally Posted by orlandohc (Post 1333821)
Social Engineering Toolkit its working too, its so fast then msf. Try it, its my favorite. ;)
Greetings from México.

Nice to hear that...I will try it, thanks :)

oguzhanssan 2013-04-12 08:21

Re: Metasploit N900 install
 
Hi there
i have nokia n9 and i wanna install metasploit package defined here for n900, but it fails everytime Load failed etc.
installation of whole deb file also is not ok!

could u drive me?

iNsaneOS 2013-05-06 15:35

Re: Metasploit N900 install
 
Quote:

Originally Posted by n900_ (Post 1333790)
n900 can run metasploit 4.5 in 3minutes.

Hi. I've had Metaspoit running on my N900 for a while, but I can't get the latest git version to work. I git cloned all the files, but when trying to run the new version, it says to run "gem install bundler". When I try that, I get "gem: not found".

Gem commands don't work on here. I've installed rubygems-1.8.10 that worked with the previous svn Metasploit, but I can't get the new Metasploit to run without error.

Can you please help me configure this? Thanks a lot.

s33k3rgr 2013-06-23 23:12

Re: Metasploit N900 install
 
Quote:

Originally Posted by adunanzav3x (Post 1293900)

I have created the deb file to automate the installation process.

Requirements:

- 400 Mb free memory in Optfs partition (applications).
- 40 minutes to install deb file (400 Mb include many files!)
- Extras repository ON
- Testing repository ON
- Devel repository ON
- Internet connection

How to install:

1) Download the attached file: http://ubuntuone.com/2Tf7xUeVT0V1HsVpxorLhM
2) Connect your N900 to your PC (mass storage)
3) Copy the files to the root of the memory to 32GB (MyDocs)
4) Disconnect N900 from your PC
5) Open a terminal and type:

Code:

root
cd /home/user/MyDocs
dpkg -i metasploit-n900_4.4.0_armel.deb

Will take about 40 minutes...

Completing installation libraries/settings:

Open a terminal and type:

Code:

root
. /usr/bin/Metasploit

This will start a script. N900 will be restarted at the end


This is what you will see after the reboot,two new icons:

- Ruby
- Metasploit

First run of Metasploit:

-For the first run of metasploit select the icon Ruby, this will open a terminal to install a setup.rb
-At the end (it will be very fast) the window will close.
-From this moment we will not use more the ruby icon.

Now you can start Metasploit ! ! ! (It will take 10/15 minutes to load the program, then it will be operational!)


If metasploit doesn't start by icon ,try with terminal

How to run metasploit and ruby by terminal, manually:

-Ruby
Code:

root
ruby1.8 /opt/rubygems-1.8.10/setup.rb

-Metasploit
Code:

root
ruby1.8 /home/opt/msf3/msfconsole -L




How to unistall:

Open a terminal and type:

Code:

root
. /usr/bin/Unistmetasploit
apt-get purge metasploit -y



I hope it will serve. :)

/adu

Ok i followed exactly the steps described in this helper-guide for installing metasploit. I am on the final stage where i give to the terminal :
Code:

ruby1.8 /home/opt/msf3/msfconsole -L
After that the below message appears :

Code:

/home/opt/msf3/lib/fastlib.rb:369:in `fastlib_original_require': no such file to load -- rubygems (LoadError)
from /home/opt/msf3/lib/fastlib.rb:369:in `require'
from /home/opt/msf3/lib/packetfu/packetfu.rb:12
from /home/opt/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
from /home/opt/msf3/lib/fastlib.rb:369:in `require'
from /home/opt/msf3/lib/packetfu.rb:4
from /home/opt/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
from /home/opt/msf3/lib/fastlib.rb:369:in `require'
from /home/opt/msf3/lib/msf/core/db.rb:28
from /home/opt/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
from /home/opt/msf3/lib/fastlib.rb:369:in `require'
from /home/opt/msf3/lib/msf/core/db_manager.rb:5
from /home/opt/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
from /home/opt/msf3/lib/fastlib.rb:369:in `require'
from /home/opt/msf3/lib/msf/core/framework.rb:69
from /home/opt/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
from /home/opt/msf3/lib/fastlib.rb:369:in `require'
from /home/opt/msf3/lib/msf/core.rb:34
from /home/opt/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
from /home/opt/msf3/lib/fastlib.rb:369:in `require'
from /home/opt/msf3/lib/msf/ui/console/driver.rb:2
from /home/opt/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
from /home/opt/msf3/lib/fastlib.rb:369:in `require'
from /home/opt/msf3/lib/msf/ui/console.rb:11
from /home/opt/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
from /home/opt/msf3/lib/fastlib.rb:369:in `require'
from /home/opt/msf3/lib/msf/ui.rb:11
from /home/opt/msf3/lib/fastlib.rb:369:in `fastlib_original_require'
from /home/opt/msf3/lib/fastlib.rb:369:in `require'
from /home/opt/msf3/msfconsole:131

What could i possibly miss? Can anyone help?

s33k3rgr 2013-06-24 11:37

Re: Metasploit N900 install
 
Ok forget the above post. I made it to start properly.

But now i have another problem. The database infrastructure does not work. When i give
Code:

db_status
it return
Code:

No database driver installed. Try 'gem install pg'
Do i need to install something?

shawnjefferson 2013-06-25 03:10

Re: Metasploit N900 install
 
Good luck getting the database to work. You'll need either postgres or MySQL, both of which I don't believe have easily obtainable/installable versions for the n900.

I did get sqllite3 working with an earlier version of Metasploit, but in newer versions it's deprecated/removed.

s33k3rgr 2013-06-25 13:24

Re: Metasploit N900 install
 
Quote:

Originally Posted by shawnjefferson (Post 1354521)
Good luck getting the database to work. You'll need either postgres or MySQL, both of which I don't believe have easily obtainable/installable versions for the n900.

I did get sqllite3 working with an earlier version of Metasploit, but in newer versions it's deprecated/removed.

Ok say i don't try to incorporate database support. Do i lose functionality in the long run? I mean how necessary is it ?

shawnjefferson 2013-06-26 03:32

Re: Metasploit N900 install
 
My understanding is that it's mainly used for the autopwn functionality... which you probably don't want to use anyway.

I could be wrong about the newest versions of metasploit and what they use DB for, there might be something new.


All times are GMT. The time now is 11:33.

vBulletin® Version 3.8.8