Conventions used
There are a number of 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: "Download and install the msi
file."
A block of code is set as follows:
#include <stdio.h> void AdminFunction() { printf("Welcome!\n"); printf("You are now in the Admin function!\n"); } void echo() { char buffer[25]; printf("Enter any text:\n"); scanf("%s", buffer); printf("You entered: %s\n", buffer); } int main() { echo(); return 0; }
Any command-line input or output is written as follows:
root@kali:~#apt-get install nmap
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Click on the Hosts menu."
Tips or important notes
Appear like this.