Misc

Replace value on vi

vi test.txt

[Esc] 
:s/ //g  
# search for space :s/ / 
/ replace nothing with space
g for global search for multiple time

[Esc]
:s/ /$/g
# Search for space and replace by $ sign

TShark

tshark -r file.pcap -Y 'fieldname' -Tfields -e ip.src | sort | uniq -c

TTL

Window TTL= 128
Linux TTL= 64

Bypass NAC via IPv6 address

Append text to end of line

Windows Hidden Files

Convert File to Base64 (Powershell)

Strnig

File

Last updated