![]() |
Re: Metasploit
I use the Howto, so the commands are:
>load db_sqlite3 >db_create pentest >db_nmap 192.168.90.2 thanks sceliau |
Re: Metasploit
Mmmmm. I don't know what is wrong, but my first line of investigation would be nmap.
Does it work by itself from the command line? It is a bit stange that you had an error when you tried to install it using app manager. Can you install it and try again? Are you sure you are are installing from file and installing the version downloaded from the pierre-droids site? |
Re: Metasploit
i get errors when trying to install the nmap and scapy packages. i have followed the tutorial and am using the packages from the pierre-droids site.
|
Re: Metasploit
Quote:
|
Re: Metasploit
Hi, been lurking here for a while since I got my N800 earlier in the year and have followed mfresh's excellent howto to install metasploit etc using the .debs and .gems from Pierre's site.
I've got the latest firmware installed and kismet is working OK, as is nmap from the command line. Everything seemed to install OK from xterm (using osso-xterm from the maemo-hackers repository, and did a 'sudo gainroot' before I started the howto), and I followed the order laid out in the howto. The metasploit tarball is untarred to /media/mmc1/metasploit3/framework3.0 but when I try to run ./msfweb to launch the front end I get a "Permission Denied" error message (again, I've done a 'sudo gainroot' first). Does anyone have any suggestions? Thanks a million |
Re: Metasploit
P.S. I also get the same "Permission Denied" error if I try to run ./msfconsole :-(
|
Re: Metasploit
Try moving your whole Metasploit3 directory from the memory card into your home directory. Then run ./msfconsole or ./msfweb from there.
I think as root you can do this using the command from /media/mmc1/ # mv -rf Metasploit3 /home/user/ Let me know if that makes it work.... |
Re: Metasploit
Quote:
|
Re: Metasploit
Quote:
That fixed it. :D Thank you once again for your excellent HOWTO and your speedy reply. Metasploit Web console's a bit slow on the N800, but damn it's good stuff :cool: |
Re: Metasploit
After reflashing again I surrender. Maybe someday this program will be in the 'green arrow, install now package' ;)
|
Re: Metasploit
im getting a "require. no such file to load" when i try and run metasploit?? any ides!!!
|
Re: Metasploit
Quote:
For security maemo does not allow you to execute from mmc "vfat" |
Re: Metasploit
Quote:
New question though... I set up my 1 gb SD (external plain old Sandisk) card with 2 partitions ( small vfat and larger ext2. I'm eventually going to mv some of the filesystem to it, but my question is what kind of performance increase/decrease can I expect when running metasploit off the ext2 partition on the SD? |
Re: Metasploit
I'm a N800 OS 2007 v4.2007.26-8 newbie & I've followed the excellent metasploit install HOWTO and managed to download and install everything in the order listed in the HOWTO etc.
I had 2 problems, the 1st one will be much easier to resolve than the 2nd. Problem #1 The untarred Metasploit framework is in the wrong location at the moment i.e. Documents -> Metasploit -> framework 3.0 & from reading previous posts in this thread, I understand it needs to be moved to another location i.e. mv -rf Metasploit /home/user/ Is this correct? Or should it be mv -rf framework 3.0 /home/user? Problem #2 When I use Application Manager to install nmap_4.2.0_armel, it says "Unable to install. Incompatible application package." Does anyone have any ideas why I'm getting this error? I'm sure I'm not the only one trying to install metasploit using the howto on the latest N800 OS? Many thanks in advance for your help! DMTelf |
Re: Metasploit
Quote:
|
Re: Metasploit
Quote:
The infuriating thing is I was able to install sqlite3-ruby_1.2.1_armel.deb (and everything else in the HOWTO) without any problems. |
Re: Metasploit
Quote:
Any ideas whats going on? |
Re: Metasploit
You have to install it from command line with:
# dpkg -i /where/yuo/put/your/packet/nmap....deb bye scegliau |
Re: Metasploit
barry99705 - if you untarred the Metasploit tarball into your documents folder, you've probably got a folder called framework-3.0 or something like that in the documents folder, containing all the Metasploit stuff. You can run Metasploit from there, or you can move the whole framework-3.0 folder to somewhere more convenient if you want, like your home folder, by typing
mv -r framework-3.0 /home/user/ Hope that helps |
Re: Metasploit
Quote:
in the home stretch. I logged in as root. This is what I type & get: Nokia-N800-26:/home/user/Metasploit# ./msfweb : No such file or directory But its there... Nokia-N800-26:/home/user/Metasploit# ls -tla drwxr-x--- 30 user users 0 Jul 31 09:24 .. drwxrwxrwx 10 user root 0 Jul 31 05:16 data drwxrwxrwx 4 user root 0 Jul 31 05:16 documentation drwxrwxrwx 5 user root 0 Jul 31 05:14 external drwxrwxrwx 5 user root 0 Jul 31 05:12 lib drwxrwxrwx 7 user root 0 Jul 31 05:11 modules drwxrwxrwx 2 user root 0 Jul 31 05:11 plugins drwxrwxrwx 3 user root 0 Jul 31 05:11 scripts drwxrwxrwx 10 user root 0 Jul 31 05:11 . drwxrwxrwx 3 user root 0 Jul 31 05:11 tools -rwxr-xr-x 1 user root 1307 Mar 25 15:45 README -rwxr-xr-x 1 user root 6882 Mar 25 15:45 msfcli -rwxr-xr-x 1 user root 2040 Mar 25 15:45 msfconsole -rwxr-xr-x 1 user root 1669 Mar 25 15:45 msfd -rwxr-xr-x 1 user root 4349 Mar 25 15:45 msfencode -rwxr-xr-x 1 user root 1752 Mar 25 15:45 msfgui -rwxr-xr-x 1 user root 10200 Mar 25 15:45 msfopcode -rwxr-xr-x 1 user root 2457 Mar 25 15:45 msfpayload -rwxr-xr-x 1 user root 3089 Mar 25 15:45 msfpescan -rwxr-xr-x 1 user root 1883 Mar 25 15:45 msfweb edit: i run sudo ./msfweb and get "user user is not allowed to execute" i am trying to do this through xterm on the device |
Re: Metasploit
You have to run in xterm...
chmod +x -R /path/to/files |
Re: Metasploit
Quote:
|
Re: Metasploit
Quote:
repro: - login as user - sudo gainroot -> "Root shell enabled" - whoami -> root - chmod +x -R /home/user/Metasploit/ - cd /home/user/Metasploit - ls -tla drwxr-x--- 30 user users 0 Jul 31 22:42 .. drwxrwxrwx 10 user root 0 Jul 31 05:16 data drwxrwxrwx 4 user root 0 Jul 31 05:16 documentation drwxrwxrwx 5 user root 0 Jul 31 05:14 external drwxrwxrwx 5 user root 0 Jul 31 05:12 lib drwxrwxrwx 7 user root 0 Jul 31 05:11 modules drwxrwxrwx 2 user root 0 Jul 31 05:11 plugins drwxrwxrwx 3 user root 0 Jul 31 05:11 scripts drwxrwxrwx 10 user root 0 Jul 31 05:11 . drwxrwxrwx 3 user root 0 Jul 31 05:11 tools -rwxr-xr-x 1 user root 1307 Mar 25 15:45 README -rwxr-xr-x 1 user root 6882 Mar 25 15:45 msfcli -rwxr-xr-x 1 user root 2040 Mar 25 15:45 msfconsole -rwxr-xr-x 1 user root 1669 Mar 25 15:45 msfd -rwxr-xr-x 1 user root 4349 Mar 25 15:45 msfencode -rwxr-xr-x 1 user root 1752 Mar 25 15:45 msfgui -rwxr-xr-x 1 user root 10200 Mar 25 15:45 msfopcode -rwxr-xr-x 1 user root 2457 Mar 25 15:45 msfpayload -rwxr-xr-x 1 user root 3089 Mar 25 15:45 msfpescan -rwxr-xr-x 1 user root 1883 Mar 25 15:45 msfweb still - cd /home/user/Metasploit - ./msfweb -> ": No such file or directory" same with ./msfconsole blah... edit: I got it working by re-downloading framework 3.0 directly to my device. Navigated to /home/user/ and tar -xvzf the path of the tar.gz as directed by the blog README. I didn't remove the .svn files nor did I have to chmod. Thanks to everyone who helped. |
Re: Metasploit
hello.im kinda new to linux but believe i can work my way to instsll w the instructions.the only problem is 'untarring' the framework as i have never done that. Were would it be more convinient 2 untarred and whats the command on xterm?.thanks
|
Re: Metasploit
if ur getting PERMISSION DENIED then enter {chmod 777 msfconsole} and then enter {./msfconsole}
same for msfweb |
All times are GMT. The time now is 21:12. |
vBulletin® Version 3.8.8