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)

one1002 2012-03-16 04:37

Re: Metasploit N900 install
 
Quote:

Originally Posted by stevomanu (Post 1155564)
uncompressed its 374MB ...... its a big program but worth the fun if you can work out how to use it ..

same thing..when i extracted on my mac..the folder was
Code:

352.9 MB on disk (227,470,908 bytes) for 9,942 items
when i SSHed it via Cyberduck, it shows only 129mb..

darksurfer 2012-03-16 22:54

Re: Metasploit N900 install
 
Quick question, I installed eveything, but when I try to run msfconsole nothing happens, does it take a while to load the 1st time?

Thanx

stevomanu 2012-03-16 23:14

Re: Metasploit N900 install
 
Yes it will take ages , i would suggest leaving it load up with out using phone it will load faster then with no errors ...


Quote:

Originally Posted by darksurfer (Post 1180471)
Quick question, I installed eveything, but when I try to run msfconsole nothing happens, does it take a while to load the 1st time?

Thanx


preflex 2012-04-06 19:26

Re: Metasploit N900 install
 
Hi. Thanks a lot for this guide. Unfortunately, I haven't been able to get this to run.
Code:

/home/opt/msf # ruby1.8 msfconsole -L
/home/opt/msf/lib/fastlib.rb:368:in `fastlib_original_require': /home/opt/msf/lib/rex/text.rb:274: syntax error, unexpected $end, expecting kEND (SyntaxError)
...
                              ^
        from /home/opt/msf/lib/fastlib.rb:368:in `require'
        from /home/opt/msf/lib/rex.rb:44
        from /home/opt/msf/lib/fastlib.rb:368:in `fastlib_original_require'
        from /home/opt/msf/lib/fastlib.rb:368:in `require'
        from msfconsole:121
/home/opt/msf #

And when I try to update, I get
Code:

/home/opt/msf # ruby1.8 msfupdate[*][*] Attempting to update the Metasploit Framework...[*]

svn: XML parser failed in 'external/source/vncdll/winvnc'
svn: Malformed XML: not well-formed (invalid token) at line 340
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
/home/opt/msf #

Any ideas? Thanks for the help.

stevomanu 2012-04-07 23:10

Re: Metasploit N900 install
 
Well i havnt faced them issues before to be honest , have you downloaded the latest version of MSF also make sure you use the ruby files i posted as i couldnt get this to run on any other version than i posted .....

Also did you do the svn clean up and the try an update again ....

.....

carbonjha 2012-04-11 01:27

Re: Metasploit N900 install
 
database connect working yet?? want to use autopwn. installed the mysql database & running it successfully but cant connect with msf.
db_status command gives:
no database driver installed. Try 'gem install pq'

found a problem with the sniffer "psnuff".

"pcaprub module not available"

solved it by making the N900 a full software development kit. compiled the "pcaprub.rb" module & put it in the correct directory. set the INTERFACE to wlan0 & then executed "run" command & I was successful. if anyone interested using the "psnuff" then I will write the whole tutorial.

werepacman 2012-04-15 11:16

Re: Metasploit N900 install
 
Sorry if this some kind of offtopic.
I was following this instruction:
https://community.rapid7.com/docs/DOC-1295
I downloaded metasploit from official site.
Everything installed flawless except metasploit.

Installation stops with an error

Quote:

./metasploit-latest-linux-installer.run
./metasploit-latest-linux-installer.run: line 2: syntax error: unexpected end of file (expecting “)”)

carbonjha 2012-04-18 22:24

Re: Metasploit N900 install
 
1 Attachment(s)
I've been googling & researching for 3 days if any database to work with metasploit. it was very hard to setup & running the mysql database but it didnt show up in db_status. it took one day. then I tried postgresql. I assumed that no deb package for maemo. so tried to compile it. yah...thts right,,,,,i tried hard solving lots of dependency but again it didnt work at all as the compilation wasnt successful. but I didnt stop my quest. searched the TMO. found this talk.maemo.org/showpost.php?p=1170244&postcount=5 followed it correctly. and finally oh I'm so happy. I'm soooo happy. It worked. now the postgresql is selected but the there is no connection & I'm too tired. going to sleep now.
Love my phone the mighty N900.

saponga 2012-04-24 12:06

Re: Metasploit N900 install
 
Quote:

Originally Posted by carbonjha (Post 1194074)
now the postgresql is selected but the there is no connection & I'm too tired. going to sleep now.

Hi man,
Did you solved that connection problem ?

carbonjha 2012-04-25 21:53

Re: Metasploit N900 install
 
2 Attachment(s)
I couldnt connect because the actual postgresql server package is not available for maemo. The thing that drives me crazy is for both sqlite3 and MySQL database I found every package needed. But sqlite3 is no longer supported by metasploit and MySQL didnt show up with db_status. I tried my best to make MySQL work but it just didnt work. oh!! GOD!! why this happens only with me??

Now Im setting up Maemo SDK to compile postgresql. I dont know what will happen this time. Though without any database I did a lot of pentest & I was successful almost every time. with the help of Wifite it takes 30 mins to 1hr to get into a machine remotely.
I have lots in my mind yet to try like client base exploit, pivoting, antivirus & firewall service manipulation and of course database as it is needed to pentest a large network with lot of machines.

added screenshots of successful meterpreter session I had yesterday with the help of WiFite and nmap. though sometimes N900 ran slowly even got stuck, some commands took a lot of time I was happy. It was a great day.


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

vBulletin® Version 3.8.8