recog_pick: Find first fingerprint match for a given source

Description Usage Arguments Examples

Description

Unlike the full search sibling, this function will only return the first match found. It does this in preference_value order but is not guaranteed to find the best match, only the first one (for speed).

Usage

1
recog_pick(recog_db, source, protocols = ".*", matches = NULL)

Arguments

recog_db

a structure created with load_fingerprints() or use_builtin_fingerprints()

source

the 1-element character vector to compare against

protocol, matches

regexs to limit what you're comparing against. These are boolean OR'd together

Examples

1
2
recog_db <- use_builtin_fingerprints()
recog_pick(recog_db, "VShell_Special_Edition_2_5_0_204 VShell", "ssh")

hrbrmstr/rrecog documentation built on May 5, 2019, 6:55 p.m.