Conventions used
There are several text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The --exclude
and --exclude-file
options will be ignored when -iL
is used."
A block of code is set as follows:
local vuln = { title = "<TITLE GOES HERE>", state = vulns.STATE.NOT_VULN, references = {"<URL1>", "URL2"}, description = [[<DESCRIPTION GOES HERE> ]], IDS = {CVE = "<CVE ID>", BID = "BID ID"}, risk_factor = "High/Medium/Low" }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
local vuln = { title = "<TITLE GOES HERE>", state = vulns.STATE.NOT_VULN, references = {"<URL1>", "URL2"}, description = [[<DESCRIPTION GOES HERE> ]], IDS = {CVE = "<CVE ID>", BID = "BID ID"}, risk_factor = "High/Medium/Low" }
Any command-line input or output is written as follows:
# nmap -sV --script vuln --script-args vulns.showall <target>
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "The -sV
option adds an additional column named VERSION that displays the specific software version."
Tips or important notes
Appear like this.