Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change how ms11_006_createsizeddibsection comes up with the outputpath #2176

Merged
merged 2 commits into from
Aug 5, 2013

Conversation

wchen-r7
Copy link
Contributor

The default outputpath for ms11_006_createsizeddibsection is invalid for systems such as OSX and Kali Linux, we should stop using that.

[See RM 8272]
http://dev.metasploit.com/redmine/issues/8272

@jvazquez-r7
Copy link
Contributor

Looks good, and module is creating the file successfully after modification:

msf > use exploit/windows/fileformat/ms11_006_createsizeddibsection 
msf exploit(ms11_006_createsizeddibsection) > show options

Module options (exploit/windows/fileformat/ms11_006_createsizeddibsection):

   Name      Current Setting  Required  Description
   ----      ---------------  --------  -----------
   FILENAME  msf.doc          yes       The file name.


Exploit target:

   Id  Name
   --  ----
   0   Automatic


msf exploit(ms11_006_createsizeddibsection) > rexploit
[*] Reloading module...

[*] Creating 'msf.doc' file ...
[+] msf.doc created at /Users/juan/.msf4/local/msf.doc
msf exploit(ms11_006_createsizeddibsection) > 

File created:

$ file /Users/juan/.msf4/local/msf.doc
/Users/juan/.msf4/local/msf.doc: CDF V2 Document, Little Endian, Os: Windows, Version 1.0
$ ls -la /Users/juan/.msf4/local/msf.doc
-rw-r--r--  1 juan  staff  10240 Aug  5 13:16 /Users/juan/.msf4/local/msf.doc

Landing!

jvazquez-r7 pushed a commit that referenced this pull request Aug 5, 2013
@jvazquez-r7 jvazquez-r7 merged commit 8c47f1d into rapid7:master Aug 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants