Commands Just a quick reminder here as I always forget this command. getent group <group name> getent passwd <account name> id –a <account name>
Simple Bash Ping Script
I saw this and thought hmmm, this could come in very handy. As did ‘The Stupid Engineer‘ As it says in the title, the command is: for i in `seq 1 255`; do ping -c 1 192.168.1.$i | tr \\n
Juniper Netscreen Packet-Tracer Alternative (Debug Flow)
Introduction Thought I would write a quick one on this as I often need to look it up as it is incredibly helpful. Cisco ASA has the packet-tracer command for testing but netscreen firewalls have something a bit different. Debug
Modify ASA Startup Config
Introduction If you ever need to modify an ASA startup config for example if you are changing internet provider and need your wife to just reboot the device so it works with your new ISP’s PPPoE settings, here’s what you
Isilon Delete Directory
Introduction If you’ve ever made the mistake of making a directory on an Isilon cluster with the wrong path but the directory contains huge amounts of data. What you need is the correct ISI command. Command This is the one
IPv6 Encapsulation using a tunnel broker
Introduction Ever since I started to learn more information about the IPv4 Internet as we know it and its eventual successor I was intrigued how I could connect to this new version of the Internet. Unfortunately my ISP was not
ESXi – Converting Thick Provisioned Disk to Thin and Vice Versa
Introduction If you need to do as per the title of this post. I am lazy so cannot be bothered to re-write a great post which already exists. Link http://www.petenetlive.com/KB/Article/0000579.htm Happy days. Thanks Pete
Turn a Linux Machine into a SOCKS Proxy in a Single Command
Introduction Need a proxy? Want to hide your IP? This is a sneaky and easy trick. Just use the following: ssh -f -N -D 0.0.0.0:1080 localhost Thats it! All there is to it. Doesn’t even need root access. Now Open-SSH
Base64-encoding Usernames & Passwords
Intoduction If a base 64 encoded password is needed for testing. Here’s the code required: Commands ~$ perl -MMIME::Base64 -e \ > ‘print encode_base64(“john\@example.org\0john\@example.org\0password”)’; This will output the following base 64 encoded string: ZGF2ZUBpcC1saWZlLm5ldABkYXZlaXAtbGlmZS5uZXQAcGFzc3dvcmQ=
Cisco ASA regex blocking
Introduction I was actually doing some research on DDOS attacks and what the ASA is capable of, when I came across this little known feature. Regex or regular expressions are used to match text strings or patterns in text. My