You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: bin/search.py
+16-14
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@
45
45
# parse command-line arguments
46
46
argParser=argparse.ArgumentParser(description='Search for vulnerabilities in the National Vulnerability DB. Data from http://nvd.nist.org.')
47
47
argParser.add_argument('-p', type=str, help='S = search product, e.g. o:microsoft:windows_7 or o:cisco:ios:12.1')
48
+
argParser.add_argument('--lax', default=False, action='store_true', help='Strict search for software version is disabled. Note that this option only support product description with numerical values only (of the form cisco:ios:1.2.3) ')
48
49
argParser.add_argument('-f', type=str, help='F = free text search in vulnerability summary')
49
50
argParser.add_argument('-c', action='append', help='search one or more CVE-ID')
50
51
argParser.add_argument('-o', type=str, help='O = output format [csv|html|json|xml|cveid]')
0 commit comments