Active Topics

 


Reply
Thread Tools
Posts: 28 | Thanked: 16 times | Joined on Jan 2012 @ South Dakota
#71
Originally Posted by adunanzav3x View Post
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
 
Posts: 74 | Thanked: 88 times | Joined on May 2012 @ Italy
#72
Originally Posted by wicozani View Post
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?
 
Posts: 28 | Thanked: 16 times | Joined on Jan 2012 @ South Dakota
#73
Originally Posted by adunanzav3x View Post
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's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#74
Originally Posted by wicozani View Post
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
 

The Following User Says Thank You to santiago For This Useful Post:
Posts: 74 | Thanked: 88 times | Joined on May 2012 @ Italy
#75
However try to re-run now:

Code:
root
. /usr/bin/Metasploit
After this, run:

- Ruby by icon
- Metasploit by icon

Last edited by adunanzav3x; 2012-11-14 at 23:44.
 
Posts: 28 | Thanked: 16 times | Joined on Jan 2012 @ South Dakota
#76
Originally Posted by santiago View Post
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).

Originally Posted by adunanzav3x View Post
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!
 
Posts: 28 | Thanked: 16 times | Joined on Jan 2012 @ South Dakota
#77
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.
 
Posts: 28 | Thanked: 16 times | Joined on Jan 2012 @ South Dakota
#78
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
 
Posts: 74 | Thanked: 88 times | Joined on May 2012 @ Italy
#79
Have you try with:
Code:
root
apt-get install --reinstall ruby1.8 -y
apt-get install -f -y
 
Posts: 93 | Thanked: 18 times | Joined on Oct 2011 @ Coimbatore, India
#80
Originally Posted by q6600 View Post
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:41.