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)

akitta 2012-07-10 13:52

Re: Metasploit N900 install
 
i moved msf3 to /home/opt. installed all the ruby packages suggested.
There is no msfconsole in /home/opt/msf3.
This is error from

Nokia-N900:/home/opt/msf3# ruby1.8 /home/opt/msf3/msfconsole -L
ruby1.8: No such file or directory -- /home/opt/msf3/msfconsole (LoadError)
Where have i gone wrong..?

I used bzip2 and 7zip on a xp machine.
So I'm decompressing on the N900 this time.
Ok i have a /ms3/lib/ folder now. (This was not in /msf3/ last time)

saponga 2012-07-10 17:38

Re: Metasploit N900 install
 
Quote:

Originally Posted by akitta (Post 1235281)
i moved msf3 to /home/opt. installed all the ruby packages suggested.
There is no msfconsole in /home/opt/msf3.
This is error from

Nokia-N900:/home/opt/msf3# ruby1.8 /home/opt/msf3/msfconsole -L
ruby1.8: No such file or directory -- /home/opt/msf3/msfconsole (LoadError)
Where have i gone wrong..?

I used bzip2 and 7zip on a xp machine.
So I'm decompressing on the N900 this time.
Ok i have a /ms3/lib/ folder now. (This was not in /msf3/ last time)

did you chmod +x it ?

to start up msf try this:
Code:

ruby1.8 /home/opt/msf/msfconsole -L
and read the first post ;)

akitta 2012-07-10 17:55

Re: Metasploit N900 install
 
Yes. i chmod +x. As described in the original post.
Nokia-N900:/ cd /home/opt/msf3/
Nokia:/home/opt/msf3/ chmod +x msfconsole
:chmod msfconsole: no such file or directory.
I locked my directorys to read-only with chmod. fixed now.
Trying instructions from 1st post (Again).
Ok it's working.
Now i have to learn to use it properly. Only used it a little on BT5 using armitage.

indeo 2012-08-23 00:40

Re: Metasploit N900 install
 
I'm unable to get postgres installed on my n900, and I've been using git instead of subversion to update msf, since it no longer supports svn

akitta 2012-09-07 04:23

Re: Metasploit N900 install
 
Quote:

Originally Posted by rijkaard (Post 1217045)
Hey, hope you're doing fine I have metasploit working on my n900 but when I did the command the following error appear.


msf > svn update[*] exec: svn update

svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
msf >


Thanks in advance

Did you ever get round this svn 1.7 error when trying to update msf..?
I'm having same issue.!

n900_ 2012-09-12 19:49

Re: Metasploit N900 install
 
Something is wrong with the latest metasploit on n900 (I tested 4.4 and 4.5dev) - it start about 3 times slower than 4.4dev and fragment all my swap 1GB on microsd (I tested 2GB swap too - same effect)

Metasploit up to version 4.4dev is working fast and smooth
Maybe someone have a solution ?
I think we shuld create special version of metasploit for n900 - with all modules and latest exploits, but not eating swap.

PS: N900 is powerful device - on 1100MHz I get 130k/s in cracking wpa handshake by wpa (around 105k/s on 900MHz)

stevomanu 2012-09-19 20:03

Re: Metasploit N900 install
 
My N900 has just been on side really havnt looked at in a while but will check out the new version over the weekend .

I am not sure how to go about makin an N900 specific version but will have a look into it also modules an exploits are updated all the time so not sure you could encluded them .

I have 4.4 running ok takes a lot longer than older versions to start not sure why that is , i cant find version 4.5 you mentioned so i cant test it .

shawnjefferson 2012-10-03 23:04

Re: Metasploit N900 install
 
I've been playing with the various versions of Metasploit on my (new to me) N900. Here's what I've found to work and not:

Metasploit Framework 3.6:
Last version with sqlite3 DB support, so db_autopwn works with this version and the N900. There is a ruby sqlite3 deb available on the forums that works (just needs to be moved into the proper directory). I don't believe that there is a working postgres or mysql for the N900?

Metasploit Framework 4.5:
Completely unworkable... freeze the device and usually causes a reboot.

Metasploit Framework 4.4:
Works (pretty slow to load), but search is very slow and complains about db missing or cache not being built. Without search this is sort of hard to use. Not sure if there is a way to fix this issue.

Metasploit Framework 4.3:
Works very well, not too slow to load, search works properly.

Updating:
Newer versions you can update with git (avoids the svn 1.7 required problem), but there isn't much point as 4.5 is unusable. Older version you can update still with svn, but if you do a svn update, it gets you to version 4.5. I suppose you could update to a specific revision to maximise the benefit of updated exploits while still avoiding the problems above. I'm not sure what that revision number would be however... that requires more research and testing.

Personally, I think I will keep 3.6 and 4.3 on my device. 3.6 for autopwn and 4.3 for updated exploits/payloads and the search capability. Maybe 4.4 for those times I may require it, but I'll have to find the exploits/payload some other way (web?)

jd4200 2012-10-05 11:46

Re: Metasploit N900 install
 
Quote:

Originally Posted by shawnjefferson (Post 1276056)
I've been playing with the various versions of Metasploit...
<snip>

So with 4.3 you are stuck with the exploits/payloads that ship with it? Does MS not give the option to update them without updating the whole framework?

n900_ 2012-10-05 12:57

Re: Metasploit N900 install
 
solution for very slow metasploit 4.4/4.5 coming soon :D


All times are GMT. The time now is 16:02.

vBulletin® Version 3.8.8