dwelch-r7
1617b3ec9b
Use zeitwerk for lib/msf/core folder
2020-12-07 10:31:45 +00:00
Grant Willcox
b0f96fd755
Land #14200 , Fix whitespace issue in OpenVAS importer that was breaking some imports
2020-09-30 14:02:28 -05:00
Alan Foster
33fbd52d8b
Fix port parsing error when importing openvas
2020-09-30 09:51:30 +01:00
Adam Galway
a0d6431ed5
adds protocol to search terms
2020-09-22 12:44:32 +01:00
adfoster-r7
9ef5822d3a
Revert "Replaces erroneous calls to get_service"
2020-09-18 19:09:25 +01:00
Adam Galway
4918ecf826
replaced get_service calls with services calls
2020-09-16 12:29:15 +01:00
gwillcox-r7
c79f293e52
Land #13846 , Add support for import Nmap vulners script output
2020-08-13 12:21:31 -05:00
Jeffrey Martin
35017886b8
Land #13935 , Preliminary Version 6
2020-08-06 10:19:34 -05:00
adfoster-r7
18b2c32c78
Land #13831 , update to rails 5.2
2020-08-05 21:05:49 +01:00
dwelch-r7
1bf75e338f
delete commented out code
2020-08-03 17:34:49 +01:00
Jeffrey Martin
07cbe426e2
Rails 5, all models inherit from ApplicationRecord
...
ApplicationRecord is a new superclass for all app models, analogous to app controllers subclassing ApplicationController instead of ActionController::Base. This gives apps a single spot to configure app-wide model behavior.
https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#active-record-models-now-inherit-from-applicationrecord-by-default
Deprecated Relation#uniq use Relation#distinct instead.
https://edgeguides.rubyonrails.org/5_0_release_notes.html#active-record-deprecations
2020-07-31 11:56:49 -05:00
Brent Cook
3887fb41b1
Allow OpenVAS import to import vulns without references.
...
Local scanning didn't show any results that had CVEs or BIDs, which the default OpenVAS import logic skips. This modifies the importer to allow for importing vulns even if they do not have references.
2020-07-25 03:18:39 -05:00
Jeffrey Martin
65039a5091
Merge upstream into 6.x
2020-07-15 09:58:07 -05:00
dwelch-r7
bdabebfb3c
Refactor code into functions
2020-07-15 13:15:04 +01:00
dwelch-r7
02b8d436c8
Import vulns discovered from nmap
2020-07-14 13:22:09 +01:00
Spencer McIntyre
7745eafa17
Replace usage of Array.filter with Array.select for Ruby < 2.6
2020-07-09 09:00:05 -04:00
Spencer McIntyre
af4dcdb22f
Add documentation and fix rubocop issues for the new library code
2020-07-07 15:56:22 -04:00
Spencer McIntyre
cfae4c76d0
Shuffle the block API source code every time
2020-07-07 15:55:32 -04:00
Spencer McIntyre
e29e3be5d4
Add a basic GraphML parser to Rex
2020-07-06 15:23:41 -04:00
cn-kali-team
430e06f218
Simplify code
2020-06-03 20:23:25 +08:00
cn-kali-team
a55fef053c
add docs
2020-05-29 01:16:29 +08:00
cn-kali-team
1d39112fc7
NetSarang Encryption Decryption parser
2020-05-27 19:52:51 +08:00
Auxilus
260099b506
remove spaces at EOL
2020-03-24 18:15:31 +05:30
Jeffrey Martin
25e0355951
update port processing for openvas
...
Port in openvas OMP version 7.0 reports serialize in a new format.
<ports max="1000" start="1"><count>3</count>
<port>general/tcp<host>192.168.8.100</host><severity>2.6</severity><threat>Low</threat></port>
<port>general/CPE-T<host>192.168.8.100</host><severity>0.0</severity><threat>Log</threat></port>
<port>general/icmp<host>192.168.8.100</host><severity>0.0</severity><threat>Log</threat></port>
<port>445/tcp (IANA: microsoft-ds)<host>192.168.8.100</host><severity>9.3</severity><threat>High</threat></port>
<port>139/tcp (IANA: netbios-ssn)<host>192.168.8.100</host><severity>0.0</severity><threat>Log</threat></port>
<port>135/tcp (IANA: epmap)<host>192.168.8.100</host><severity>5.0</severity><threat>Medium</threat></port>
</ports>
2020-01-11 15:15:56 -06:00
Jeffrey Martin
ba06624e57
consistent usage of :workspace key
2019-11-22 11:16:22 -06:00
Jeffrey Martin
289a9c56f3
when making requests to report send workspace
...
The report methods of the db layer require the workspace during import.
2019-10-15 15:32:00 -05:00
William Vu
dd101a0469
Add nil check
...
Just in case.
2019-06-07 00:16:44 -05:00
William Vu
53ea7e577f
Add sanitized new XML format
2019-06-07 00:07:50 -05:00
William Vu
40eeae541b
Fix style
2019-06-06 23:38:41 -05:00
Jeffrey Martin
f646a973a7
Update retina imports to better handle parsing
2019-06-06 19:13:06 -05:00
James Barnett
ecbbf1d940
Pass workspace when using db_nmap
2018-03-30 15:27:32 -05:00
loftwing
51c1cddb5c
Removed requirement for a host to have ports
2017-09-27 12:43:50 -05:00
Brent Cook
6300758c46
use https for metaploit.com links
2017-07-24 06:26:21 -07:00
Brent Cook
0eaffde4b3
fix rex arguments parser to handle adjacent flags, update accordingly
2017-06-22 09:54:03 -05:00
Pearce Barry
c4f1130619
Acunetix XML import improvements.
...
This patch updates the MSF db_import functionality w.r.t. importing Acunetix XML files to do the following:
- import web vulnerabilities identified by Acunetix
- import all services for each scanned host
- does not pull in the specifc program/version name of each service, as that's pretty loosely formatted in the Acunetix XML
2017-04-26 12:16:20 -05:00
William Vu
94a0b4b06c
Stop special-casing masscan
2017-04-04 00:33:13 -05:00
William Vu
7de2aa1a63
Update Nmap parser to handle masscan
...
masscan is missing <status>, meaning hosts aren't treated as alive.
Thanks to @jhart-r7 and @jlmurray for working on this previously.
2017-04-03 02:26:14 -05:00
Tim
ef53e6a593
fix execute and kill cmd usage/help
2017-03-22 16:29:47 +08:00
Brent Cook
a1be63e449
fix warnings in rex argument parser
2017-03-16 03:57:49 -05:00
Brent Cook
836da6177f
Cipher::Cipher is deprecated
2017-01-22 10:20:03 -06:00
David Maloney
7857c58655
remove all the left voer cruft
...
remove all the files that got xfered out to the gems
MS-1715
2016-09-07 11:38:28 -05:00
David Maloney
eb73a6914d
replace old rex::ui::text::table refs
...
everywhere we called the class we have now rewritten it
to use the new namespace
MS-1875
2016-08-10 13:30:09 -05:00
Rich Whitcroft
b1efd4e749
fix VAR=VAL loading from config
2016-07-23 00:26:18 -04:00
Brendan
3ed6632f88
Let's actually delete the line....
2016-07-15 08:47:29 -07:00
Brendan
db2850b51c
Changed the Burp import to import vulns with blank references
2016-07-14 13:03:24 -07:00
Adam Cammack
08f1e68487
Fix Acunetix import with a blacklist
...
If a host is blacklisted, we won't create the service for it. If we
don't create the service, we don't want to create entries for the web
pages.
MS-1517
2016-06-03 19:40:29 -05:00
thao doan
5e36a3128c
Fix #5197 , Fixed yard doc errors
...
Fix #5197 Fixed issues that caused errors during yard doc generation
2016-04-21 13:06:00 -05:00
Brian Patterson
11d6740e7f
Modify syntax in burp_issue_nokogiri.rb to conform to code style guidelines
2016-04-12 17:33:20 -05:00
Brian Patterson
e5ee5b903b
Merge branch 'master' of github.com:rapid7/metasploit-framework into bug/MS-247/OpenVas-default-workspace
2016-04-05 09:36:27 -05:00
Brian Patterson
2a7e3fb600
Fix an error in the OpenVas and Burp Issue importers where the vuln and host info would import into the default workspace instead of the current workspace
2016-04-04 17:35:31 -05:00