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…
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…
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…
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…
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…
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…
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…
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 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…
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…
BE VERY CAREFUL!!! SCRIPT TO DELETE PROBLEMATIC FOLDERS AND FILES ============================================== * i had a problem where everything in the current folder wouldnt delete and then the system would turn readonly onRead More…