Closed tsellers-r7 closed 3 years ago
CCing @hdm since you're one of the primary users/contributors for most of these files, the changed *.device
fields, and Recog in general.
No issues on this side, I was more worried about changes to this affecting the Nexpose folks. If they are good to go, even better =D
"Web cam" -> "Web Cam" is something we do internally in Rumble today, but we left the original variant in place because that was how Nexpose tracked things. That whole category should probably be "IP Camera" these days.
I think this is a great idea particularly since we already use IP Camera elsewhere (and I missed it). I'll reach out to a few folks internally.
I have switched all instances Web Cam
in *.device
to IP Camera
.
The single instance of POS
as a device type has been changed to Point of Sale
. This brings the number of Point of Sale
fingerprints to ... 2.
@hdm - In this PR I deleted the indentifiers/software_*.txt
files since they weren't used by bin/recog_standardize
or Recog in general. In the case of software_class.txt
I wasn't sure where you might have pulled the data from unless it was from non-Recog data such as Rumble.
Did you have a vision for how these should be used? Would you like to see them returned? If so, how would you generate them?
Thanks for the note! I think these came from the original email from the Nexpose team that started this.
We can probably omit from the standardize code and identifier list, but the source of those was Rapid7 originally.
Thanks @hdm
We can probably omit from the standardize code and identifier list..
AFAIK, there wasn't any code in bin/recog_standardize
that dealt with or generated the software_*.txt
files. I removed them because I assumed they were just artifacts left over from the development process.
I think these came from the original email from the Nexpose team that started this.
Do you know if I was on that email thread or PRs that contain them? Also, we can take this to another medium if it's easier for you.
No PR, but I forwarded the thread by email. Thanks!
Description
The goal of this PR is to reset the standard identifiers after the change in PR #302. There are quite a few changes here that are due to updates being made while
bin/recog_standardize
wasn't working as expected. There are also cleanup of records that appear to be from the original PR.NOTE: Most consumers of Recog will only care about the tweaks to the fingerprint files that standardized device types, vendor names, etc. which are toward the end of the diff.
The process to perform the update was to:
.txt
files in/identifiers
for db in xml/*.xml; do ruby bin/recog_standardize $db -w ; done
to sequentially work through each database fileCHANGES OF CONCERN
os.device
andhw.device
since most values already were.Web cam
orWeb Cam
in*.device
fields are nowIP Camera
software_class.txt
,software_family.txt
, andsoftware_product.txt
in theidentifiers
directory since this codebase doesn't use these files at all.How Has This Been Tested?
Local testing and review rspec
Types of changes
Checklist: