LOOK THROUGH EVERYTHING IN DIRECTORY FOR TERMS #################################################### Made this article into an amazing program set/script called: termsearch Make a terms file in the directory where you want to recursively search forRead More…
TCPDUMP and save to another pc over SSH
Imagine your on PC1 doing a tcpdump to a file but you dont have enough room, solution stay on PC1 run the same tcpdump command but pipe it through ssh and saveRead More…
Tcpdump – trick – record to pcap and read after – also to record pcap to remote server
LOCAL pcap RECORDING with TCPDUMP When troubleshooting and doing tcpdumps it might be best to capture full output and then analyze it. Instead of later realizing that you might of missed someRead More…
Sys “look through” – read everything in /sys with find
WHAT IS THIS: ############## /sys holds alot of information about the system and its current settings and devices. Sometimes you want to read all those values. Here is a nice script thatRead More…
SSH Reverse Tunnel – Traversing NAT – Setup a permanent tunnel to your pc using remote ssh
TRAVERSING NAT: HOW TO SETUP A PERMANENT TUNNEL BETWEEN YOUR PC AND A SSH SERVER SO YOU CAN CONNECT TO YOUR PC @ ANYTIME ########################################################################################################################### Lets say you have a machine/pc/serverRead More…
SSH Passwordless login and running command – using key authentication
PASSWORDLESS LOGIN ################## This is not a lesson on public and private keys, I hope you know what those are. Also DSA vs RSA not covered here. But if you have aRead More…
Spying on your system with LSOF – LSOF command list
WHAT IS LSOF AND BENEFIT: lsof lists every used file (and in linux a file is everything) so this lists every used everything. AKA spying on your system (see if there isRead More…
Software RAID – mdadm – making a SPARE into an ACTIVE drive + Fix auto-read-only
MAKE SPARE AN ACTIVE MEMBER AND NOT A SPARE WITH RAID5 AND MAKE AUTO-READ-ONLY GO AWAY THIS FIX WORKS WITHOUT HURTING YOUR DATA IF YOU FOLLOW THE STEPS 🙂 WHAT WAS THERead More…
Simple HTTP Fileserver / Webserver on Debian
SIMPLE FILESERVER / WEBSERVER ON DEBIAN ========================================= Networking PreSteps ——————— Im assuming your web server is behind a NAT (router/firewall etc.) So all of the port forwards are completely configured from yourRead More…
secondary ip address – multihoming – with ifconfig – virtual interfaces
How to add secondary ip to linux ################################ NOTE: this is not a permanent method as we use ifconfig, to have a more permanent method we need to edit /etc/network/interfaces but thatsRead More…