metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

Msf::DBManager::Import#import_filetype_detect

Returns one of the following:

:acunetix_xml
:amap_log
:amap_mlog
:appscan_xml
:burp_session_xml
:ci_xml
:foundstone_xml
:fusionvm_xml
:ip360_aspl_xml
:ip360_xml_v3
:ip_list
:libpcap
:mbsa_xml
:msf_cred_dump_zip
:msf_pwdump
:msf_xml
:msf_zip
:nessus_nbe
:nessus_xml
:nessus_xml_v2
:netsparker_xml
:nexpose_rawxml
:nexpose_simplexml
:nikto_xml
:nmap_xml
:openvas_new_xml
:openvas_xml
:outpost24_xml
:qualys_asset_xml
:qualys_scan_xml
:retina_xml
:spiceworks_csv
:wapiti_xml

If there is no match, an error is raised instead.

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open lib/msf/core/db_manager/import.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--DBManager--Import-import_filetype_detect-for-pr


# Commit to git

git add lib/msf/core/db_manager/import.rbgit commit -m "better docs for Msf::DBManager::Import#import_filetype_detect"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Msf--DBManager--Import-import_filetype_detect-for-pr

hub pull-request


# Celebrate!