O
O
OSCP Notes
Search
⌃K
Introduction
Port scanning
Passive Information Gathering
Ports enum:
Recon Tools
Tech Skills Needed
Linux Command Lines
Linux commands in-depth dictionary
linux intro
Command line fun
Converting comma seperated username:password into separate data for BF
Vim
Download files via curl from website
msfvenom
meterpreter commands
Web Apps
python scripts
Windows hacks
Port Forwarding
Reverse shells
Binary exploitation
Transfering Modules
Buffer Overflow
Cracking!
shellshock
Active Directory
Antivirus Evasion
Windows Priv Esc
Linux Priv Esc
Active Directory Case Studies
Pivoting
C program analysis
Misc
Hack the box Write-ups
THM Offensive Security Path
Proving Ground
Cyber Sec Labs
Powered By GitBook

Linux Command Lines

cat common_roots.txt| awk '{if (length($0) > 7) print}' > passv2.txt
captures text that's more than 9 letters and put it into a different file.
​
​
---
sed
sed 's/ //g'
replace space with nothing
​
----
grep -B5 -A5 -i password FILE_NAME
look for 5 lines before and after the keyword "password" in the specified file.
Previous
Tech Skills Needed
Next
Linux commands in-depth dictionary
Last modified 1yr ago
Copy link