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)

wicozani 2012-11-14 21:38

Re: Metasploit N900 install
 
Quote:

Originally Posted by adunanzav3x (Post 1294327)
In this moment you can try to run metasploit by xterminal,manually:

Code:

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

I will make some test... I'm sorry

When I try the above code I get this reply:
Code:

-sh: ruby1.8: not found

adunanzav3x 2012-11-14 21:51

Re: Metasploit N900 install
 
Quote:

Originally Posted by wicozani (Post 1294333)
When I try the above code I get this reply:
Code:

-sh: ruby1.8: not found

Have you run:
Code:

root
. /usr/bin/Metasploit

To complete the installation?

Were there any errors?

wicozani 2012-11-14 22:51

Re: Metasploit N900 install
 
Quote:

Originally Posted by adunanzav3x (Post 1294336)
Have you run:
Code:

root
. /usr/bin/Metasploit

To complete the installation?

Were there any errors?

No, I had not, so I just did and terminal told me it could not located var dpkg and other dpkg-related files, and asked if it was in use by another process. However, the script runs quickly and reboots the phone before I can copy the entire error message.

santiago 2012-11-14 23:22

Re: Metasploit N900 install
 
Quote:

Originally Posted by wicozani (Post 1294357)
No, I had not, so I just did and terminal told me it could not located var dpkg and other dpkg-related files, and asked if it was in use by another process. However, the script runs quickly and reboots the phone before I can copy the entire error message.

Log it in this way
Code:

Metasploit > /home/user/MyDocs/Debug.txt

adunanzav3x 2012-11-14 23:38

Re: Metasploit N900 install
 
However try to re-run now:

Code:

root
. /usr/bin/Metasploit

After this, run:

- Ruby by icon
- Metasploit by icon

wicozani 2012-11-15 02:27

Re: Metasploit N900 install
 
Quote:

Originally Posted by santiago (Post 1294365)
Log it in this way
Code:

Metasploit > /home/user/MyDocs/Debug.txt

Thanks, but I'm not quite sure how to enact this debugger (exposing my noobiness now).

Quote:

Originally Posted by adunanzav3x (Post 1294369)
However try to re-run now:

Code:

root
. /usr/bin/Metasploit

After this, run:

- Ruby by icon
- Metasploit by icon

Ok, I tried again, and I entered dpkg by X-term and an attempt to install many different packages was made, though I already had the newest version of most of them. I then tried both Ruby and Metasploit by icon without success. Metasploit continues to try opening an X-term window but quickly closes. I have also tried to open through the terminal, and no matter if I'm root or not, neither ruby nor ruby1.8 are ever found, whether in /home/opt/ or /usr/bin/. However, I do have a ruby.sh file in /usr/bin/ and a rubygems-1.8.10 directory in /home/opt/. My rubygems directory is complete, for I have compared it in SSH commander view (using WinSCP) to a .zip file that I dl'd to my computer.

I also have both msf3 and Metasploit directories in /home/opt. However, under no circumstances has my system ever found ruby or ruby1.8, and I have also never been successful at enacting setup.rb in rubygems-1.8.10. Thanks very much for your help and assistance!

wicozani 2012-11-15 03:09

Re: Metasploit N900 install
 
Code:

# apt-get remove rubygems
results in
Code:

Package rubygems is not installed, so not removed
So, I apparently have not successfully installed rubygems. I do have, however, a rubygems-1.8.10 directory in /home/opt. I think that I will delete this directory, and try again to reinstall using dpkg the rubygems-1.8.10.tgz file I have in MyDocs. Will report back.

wicozani 2012-11-15 03:34

Re: Metasploit N900 install
 
Code:

Nokia-N900:~# apt-get install ruby1.8
Reading package lists... Done
Building dependency tree     
Reading state information... Done
ruby1.8 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
Nokia-N900:~# cd /home/opt/rubygems-1.8.10/
Nokia-N900:/home/opt/rubygems-1.8.10# ruby1.8 setup.rb
-sh: ruby1.8: not found


adunanzav3x 2012-11-15 11:08

Re: Metasploit N900 install
 
Have you try with:
Code:

root
apt-get install --reinstall ruby1.8 -y
apt-get install -f -y


bharathkumarst 2012-11-15 14:57

Re: Metasploit N900 install
 
Quote:

Originally Posted by q6600 (Post 1154633)
Metasploit - The Penetration Testers Guide - 2011 pdf

http://pcsci3nce.info/?p=441
thx to Unhuman

Link is not working. Can anybody fwd me this book? Thanks in advance.


All times are GMT. The time now is 13:51.

vBulletin® Version 3.8.8