List all of your IP addresses using the ip command.

The ip command will list all of your ip addresses when combined with the grep command to look for all inet words. This is a very useful one-liner. ubuntu ~/Documents $ ip a | grep "inet " inet 127.0.0.1/8 scope host lo inet 172.31.20.16/20 brd 172.31.31.255 scope global eth0 inet 10.8.0.1 peer 10.8.0.2/32 scope global … Read more

New GTK themes for 2015. Make Linux look awesome.

More awesome GTK themes and wallpapers for 2015. Gnome themes. Ceti-2: http://gnome-look.org/content/show.php/Ceti-2+-+Theme?content=167528. Plane GTK 3.6: http://gnome-look.org/content/show.php/Plane-Gtk3.6?content=156309. Ultra-Flat: http://gnome-look.org/content/show.php/Ultra-Flat?content=167473. Malys-Unisex: http://gnome-look.org/content/show.php/malys+-+uniSEX+?content=149602. Cinnamon themes. Zukitwo: http://gnome-look.org/content/show.php/Zukitwo-Cinnamon?content=161734. New Minty: http://gnome-look.org/content/show.php/New-Minty?content=161698. Icon themes. Evolvere icon theme: http://gnome-look.org/content/show.php/Evolvere+Icon+theme?content=164338. Wallpapers. Dead space wallpaper, creepy monster: http://4walled.cc/show-1364323. Giant world engine eating a planet: http://4walled.cc/show-1348020. Very cold looking planet with a misty atmosphere: … Read more

Calculate subnets with the Linux command line and sipcalc.

The sipcalc utility for Linux is used to calculate subnets for IP addresses. The below example shows a /26 address and the available IP addresses and number of network nodes in the subnet. This is a good way to calculate the network mask if the network administrator requires this information to input it into a … Read more

How to get information about logins on your Linux system.

Reading information about logins on a Linux system is very useful when you are running a Linux machine. The last command will print information about the last logins on a Linux system. ubuntu ~ $ last ubuntu pts/0 ip-10-8-0-6.ap-s Sun Apr 19 10:25 still logged in   wtmp begins Sun Apr 19 10:25:42 2015ubuntu ~ … Read more

Linux desktop has not changed much in ten years.

Gnome Flashback Linux desktop.

The Linux desktop has really not changed much in ten years of development. There are the new Gnome Shell and Unity desktops, but simpler alternatives like Gnome flashback are available that emulate the look of the classic two toolbar Gnome desktop environment. This desktop pictured above is the Fedora Core Linux distribution. This is the … Read more

How to get information about your Linux services with systemd.

The systemd init system may be used to get information about your running services. Here I am getting information about the openvpn service. jason@eyjafjallajkull:~$ systemctl -a status openvpn.service ● openvpn.service – LSB: Openvpn VPN service Loaded: loaded (/etc/init.d/openvpn) Active: active (running) since Mon 2015-04-13 14:57:18 AEST; 5h 2min ago Docs: man:systemd-sysv-generator(8) CGroup: /system.slice/openvpn.service └─1719 /usr/sbin/openvpn … Read more

How to get the routing table of your network with Windows and Linux.

Showing the routing table in Linux is very useful when you are required to get information about a network. This is the output when retrieving the routing table in Windows 7. C:\Users\jason>route PRINT =========================================================================== Interface List 16…00 ff f0 18 9a f5 ……TAP-Windows Adapter V9 13…00 13 46 3a 02 83 ……Realtek RTL8139/810x Family Fast … Read more

Another way to get the IP address of your machine with the arp command.

This command will lookup the network adapter that you are using and return the gateway IP address. jason@eyjafjallajkull:~$ arp -n | grep : | awk ‘{print $1}’ 10.10.0.1jason@eyjafjallajkull:~$ arp -n | grep : | awk ‘{print $1}’ 10.10.0.1 This looks for the : character that is in the MAC address like this. jason@Yog-Sothoth:~$ arp -n … Read more

Universal archive unpacker script for Linux. Easily unpack any archive with the terminal.

The unp script for Linux is a script that will detect what the archive is and call the appropriate program to handle it. This is a very useful script for the command line user. In the example below I am unpacking a zip file. jason@eyjafjallajkull:~/Downloads$ unp northwind.sql_.zip Archive: northwind.sql_.zip inflating: northwind.sqljason@eyjafjallajkull:~/Downloads$ unp northwind.sql_.zip Archive: northwind.sql_.zip … Read more

A good utility for finding all executables in a given path.

Finding all executables in a given path is easy if you use the lsx utility. Firstly install the required packages. jason@eyjafjallajkull:~$ sudo apt-get install suckless-tools [sudo] password for jason: Reading package lists… Done Building dependency tree Reading state information… Done Suggested packages: dwm stterm surf The following NEW packages will be installed: suckless-tools 0 to … Read more

How to force a re-boot or shutdown if the traditional commands will not work.

If your machine has errors with the hard disk and your machine has booted with a read-only filesystem, these commands can force your machine to either shutdown or reboot. Forced re-boot. echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-triggerecho 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger Forced shutdown. echo 1 > /proc/sys/kernel/sysrq echo o > … Read more

How to do a SQL injection attack against Damn Vulnerable Web App.

Damn Vulnerable Web App is a PHP web application that is deliberately vulnerable. This is used to learn how to attack websites by exploiting various vulnerabilities in the software. In this example, I am showing you how to use an SQL injection attack to get information out of the database. This line of code will … Read more

What is the loopback address of your network interface?

The loopback address of the network interface, usually 127.0.0.1, is the address used by the operating system to access the network interface itself. This is represented in IPv6 as 0:0:0:0:0:0:0:1:/128 or ::1/128 when compressed. This gives the computer user a way to ping a network interface and verify that it is actually working. The ping6 … Read more

How to find files on the Linux filesystem.

The find command is very useful for locating files on your Linux filesystem. Below is an example of wildcards to locate files in the /boot directory. ubuntu@ip-172-31-20-16:~$ sudo find /boot -name "vm*" /boot/vmlinuz-3.13.0-44-genericubuntu@ip-172-31-20-16:~$ sudo find /boot -name "vm*" /boot/vmlinuz-3.13.0-44-generic Here I am searching the whole / filesystem for a set of files that end in … Read more

How to use foremost to recover deleted files on a USB thumb drive with Kali Linux.

Below is a snippet of output from my Kali Linux session. I am trying to recover files from a USB thumb drive and I am having some success. root@kali:/home/root/Desktop/files# foremost /dev/sdb1 -v -o /home/root/Desktop/files/ Foremost version 1.5.7 by Jesse Kornblum, Kris Kendall, and Nick Mikus Audit File   Foremost started at Thu Mar 12 11:12:06 … Read more

How to use the runas command in Windows to elevate privileges.

The runas command in Windows allows a user to elevate their level of privileges to run a command as the Administrator user. The example below shows the usage of the runas command to open another cmd window as the Administrator user. C:\Users\mike\Documents\openvpn>runas /user:Scott\Dobbo cmd Enter the password for Scott\Dobbo: Attempting to start cmd as user … Read more

Information about satellite packet routing as it relates to the Internet.

This paper I found, PDF relates to the routing of network packets through a satellite connection. This might be very interesting to a student of networking who is interested in satellite networking and the unavoidable latency issues that come with such a connection. With a 250ms latency, this would add on to any existing latency … Read more