Fixed issue downloading XML reports

The XML report has an extra </report> tag which prevents the .text
method from working properly. I used the .to_s method instead.

I also moved the rescue statement because it was masking other errors
that were being raised.
Handle single quotes for OpenVAS import
Merge pull request #1 from todb-r7/bug/pr1736-fix-db-import

Handle single quotes for OpenVAS import
Fixed issue downloading XML reports

The XML report has an extra </report> tag which prevents the .text
method from working properly. I used the .to_s method instead.

I also moved the rescue statement because it was masking other errors
that were being raised.
Handle single quotes for OpenVAS import
Merge branch 'master' of https://github.com/averagesecurityguy/metasploit-framework
Fixed issue downloading XML reports

The XML report has an extra </report> tag which prevents the .text
method from working properly. I used the .to_s method instead.

I also moved the rescue statement because it was masking other errors
that were being raised.
Handle single quotes for OpenVAS import
Merge branch 'master' of https://github.com/averagesecurityguy/metasploit-framework
Add regex fix
Added '2003 R2 SP2' to target selection
Add module for CVE-2013-2251
Give a chance to FileDropper too
Fix payload corruption
Tabs
Retab
Delete stop_service calls
Land #2151, @jvazquez-r7's Struts pwnage
Land #2152, @Meatballs1 fix for [SeeRM #7923]
Fix indentation