Red Team Notes
Sorted Linux notes, need to separate to different pages and reorganize
Last updated
Was this helpful?
Sorted Linux notes, need to separate to different pages and reorganize
Last updated
Was this helpful?
Hack Responsibly.
Always ensure you have explicit permission to access any computer system before using any of the techniques contained in these documents. You accept full responsibility for your actions by applying any knowledge gained here.
Website for searching for shells through random programs such as vi
"living off the land binaries":
Run commands on remote system without a shell through SSH with a "Herefile". HERE
can be anything, but it must begin and end with the same word.
Raw memory location so no files on disk: /dev/shm/
list all running commands:
'new' netstat: ss -lnp | grep 9001
#check if any connections on port 9001
copy files to local machine without file transfer:
script to copy contents of file directly to clipboard; Save in PATH location then enjoy!
pretty print JSON text in console (). Pipe the JSON output to jq
. Example from NASA ISS API: curl -s http://api.open-notify.org/iss-now.json | jq
vi -c 'let $enc = &fileencoding | execute "!echo Encoding: $enc" | q' <file_to_check>
check encoding of a text file (needed especially when doing crypto with python, or cracking passwords with rockyou.txt
- hint: needs latin encoding!) (how to make an alias for the above command)
If you like this content and would like to see more, please consider !