dipsec / armitage

Automatically exported from code.google.com/p/armitage
0 stars 0 forks source link

password file and user file path errors in Armitage on Windows #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. select for example module "mysql_login"
2. for pass_file or user_file use for example D:\Program 
Files\Rapid7\framework\msf3\data\wordlists\root_userpass.txt
3.

What is the expected output? What do you see instead?
I get the following error: Auxiliary failed: Msf::OptionValidateError The 
following options failed to validate: User_FILE, PASS_FILE.

When looking back what Armitage sets as the path it says:
msf auxiliary(mysql_login) > set PASS_FILE D:\Program 
Files\Rapid7\framework\msf3\data\wordlists\root_userpass.txt
PASS_FILE => D:Program FilesRapid7frameworkmsf3datawordlistsroot_userpass.txt

What version of Metasploit are you using (type: svn info)? On which
operating system?
I am using v3.7.2-release [core:3.7 api:1.0]
svn r12982

Which database are you using?
Postgres

Please provide any additional information below.

I tried to svn update but Armitage didn't work at all for me in version 4 of 
Metsploit for Windows on XP.

It appears that Armitage sets the path correctly but metasploit strips the 
backslashes in Windows and interprets the path as wrong.
This error also appears on other login modules available.

Original issue reported on code.google.com by authoris...@gmail.com on 30 Jul 2011 at 6:39

GoogleCodeExporter commented 9 years ago
Ok, do this, put double backslashes in place and let me know if it works.

Original comment by rsmu...@gmail.com on 30 Jul 2011 at 7:04

GoogleCodeExporter commented 9 years ago
Ok fixed, hopefully this will make it into the msf svn today.

Original comment by rsmu...@gmail.com on 30 Jul 2011 at 7:28

GoogleCodeExporter commented 9 years ago
Hi,

I tried adding \\ and that seem to work.

Then I noticed that some modules for example postgres_login have the paths to 
the wordlists already filled in and are using / (forward slashes).

So \\ and / work on Windows XP SP3.

Off topic: I did a SVN update yesterday and noticed that version 4 of 
Metasploit downloaded. I have read that the database has been totally 
rewritten. I could not connect at all to metsploit 4 using Armitage on Windows 
XP SP3 after doing a svn update yesterday.

Original comment by authoris...@gmail.com on 30 Jul 2011 at 7:42