How to build a 4.6 kernel on Ubuntu 16.04.

Firstly, download a kernel tarball from kernel.org. jason@jason-desktop:~$ wget https://cdn.kernel.org/pub/linux/kernel/v4.x/testing/linux-4.6-rc1.tar.xz –2016-03-29 10:22:34– https://cdn.kernel.org/pub/linux/kernel/v4.x/testing/linux-4.6-rc1.tar.xz Resolving cdn.kernel.org (cdn.kernel.org)… 103.245.222.69 Connecting to cdn.kernel.org (cdn.kernel.org)|103.245.222.69|:443… connected. HTTP request sent, awaiting response… 200 OK Length: 89423304 (85M) [application/x-xz] Saving to: ‘linux-4.6-rc1.tar.xz’   linux-4.6-rc1.tar.xz 100%[======================================================================>] 85.28M 1.29MB/s in 66s   2016-03-29 10:23:54 (1.28 MB/s) – ‘linux-4.6-rc1.tar.xz’ saved [89423304/89423304]jason@jason-desktop:~$ wget https://cdn.kernel.org/pub/linux/kernel/v4.x/testing/linux-4.6-rc1.tar.xz –2016-03-29 … Read more

Awesome Linux tricks and tips.

Some very useful Linux tricks and tips. Convert a Linux text file to DOS format with AWK. ┌──(john㉿DESKTOP-PF01IEE)-[~] └─$ awk ‘{sub(/$/,"\r")};1’ hello.txt > dodo2.txt┌──(john㉿DESKTOP-PF01IEE)-[~] └─$ awk ‘{sub(/$/,"\r")};1’ hello.txt > dodo2.txt Convert a DOS text file to UNIX format. [jason@darknet:~] awk ‘{sub(/\r$/,"")};1’ dodo2.txt > dodo3.txt[jason@darknet:~] awk ‘{sub(/\r$/,"")};1’ dodo2.txt > dodo3.txt Get your Internet-facing IP address from … Read more

Move the Unity launcher to the bottom of the screen with the new 16.04 release.

The new Ubuntu 16.04 release allows moving the Unity launcher to the bottom of the screen. This does make sense, screens are wider than they are tall, and I like having the bar on the bottom of the screen. Use the command below to move the bar to the bottom. jason@jason-desktop:~$ gsettings set com.canonical.Unity.Launcher launcher-position … Read more

How to format a new Linux partition with the command line.

This is how to format a hard disk partition that will hold data for your Linux system. The partition must be unmounted before formatting, but this is the ideal way to create a file-system on a new partition that has been created with fdisk. root@jason-desktop:~# mkfs.ext4 mkfs.ext4 mkfs.ext4dev root@jason-desktop:~# mkfs.ext4 /dev/sdd3 mke2fs 1.42.13 (17-May-2015) /dev/sdd3 … Read more

Cracking a pin number hash with hashcat on Debian Linux.

I recently needed to crack a pin number hash that was four digits and used the numbers 2490. This sounds easy, but hard until you realise that it is a relatively simple PIN. I used the command below to generate a 60 Gigabyte wordlist, containing all possible combinations of the numbers in the PIN. crunch … Read more

Cracking Windows 10 passwords with john the ripper on Kali Linux 2016.

Break Windows 10 password hashes with Kali Linux and John the Ripper Cracking the SAM file in Windows 10 is easy with Kali Linux. Use a Live Kali Linux DVD and mount the Windows 10 partition. Firstly, get the SAM and SYSTEM files from the C:\Windows\System32\config folder. Copy these to your desktop directory. Then dump … Read more

How to fix the read timeout with Me TV on Ubuntu GNU/Linux 16.04.

I was getting the read time-out error on Me TV on Ubuntu 16.04 and this is how I fixed it. Just run the application with this command line. ~$ me-tv –read-timeout 60~$ me-tv –read-timeout 60 This fixed the error. My ASUS My Cinema-U3100Mini Plus V2 device is now working and I am happy again. So … Read more

How to list all passwords on a Cisco switch.

This Cisco command will list all passwords on a switch. mrrobot#sh ru | inc password service password-encryption password 7 00141215174C04140B70 password 7 00141215174C04140B70mrrobot#sh ru | inc password service password-encryption password 7 00141215174C04140B70 password 7 00141215174C04140B70 The inc command looks for any text that matches the argument. Like this: mrrobot#sh ru | inc line line con … Read more

Use the ip route command to create an ip route manually on Linux.

This command will add an IP route to the 172.29.59.1 router using the wlan0 wireless interface card on my laptop. jason@darknet:~$ sudo ip route add 0/0 via 172.29.59.1 dev wlan0jason@darknet:~$ sudo ip route add 0/0 via 172.29.59.1 dev wlan0 This is part of the process of creating a network connection from your machine to a … Read more

Elevator spotted running GNU/Linux Ubuntu Unity desktop.

This photograph shows an elevator display screen that is displaying an Ubuntu Unity desktop environment with the updates manager prompting for updates to be installed. This is strange, this is not necessarily the most reliable desktop environment and running this on a computer in an elevator seems like a very dumb idea. But whoever designed … Read more