How to get uBlock Origin working with Firefox 55.

The current version of Firefox 55 broke uBlock Origin. To get it working again, install the version of uBlock from the development channel. Scroll down the bottom of this page and select the development channel button. https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/?src=ss. This gets it working again instantly. This is the thing with free software, it gets a lot of … Read more

How to write a Hello World program in C that does not use main().

This simple program is a Hello World example that does not use the main() function. This is certainly possible in a C program. #define syscall(a, D, S, d) __asm__ __volatile__("syscall" : : "a"(a), "D"(D), "S"(S), "d"(d))   void _start(void) { syscall(1, 1, "Hello, World\n", 14); syscall(60, 0, 0, 0); }#define syscall(a, D, S, d) __asm__ … Read more

How to crack an Ubuntu user password easily with John The Ripper.

Cracking an Ubuntu password with John the Ripper is very easy. All that is needed is a good wordlist and the John The Ripper utility. Install the John the Ripper password cracking utility. jason@jason-desktop:~/Documents/Windows$ sudo apt install johnjason@jason-desktop:~/Documents/Windows$ sudo apt install john Dump the Linux user account information to a file from the shadow and … Read more

How to find saved WIFI passwords in Ubuntu easily.

To find all the saved WIFI passwords and Ethernet connection information on your Linux desktop or laptop, navigate to this directory. /etc/NetworkManager/system-connections/etc/NetworkManager/system-connections Here are the connections on my laptop. ┌─[root@parrot]─[/etc/NetworkManager/system-connections] └──╼ #ls -hula total 20K drwxr-xr-x 2 root root 4.0K Aug 24 13:36 . drwxr-xr-x 7 root root 4.0K Aug 24 13:29 .. -rw——- 1 … Read more

Cracking a WPA2 network with aircrack-ng and Parrot.

Starting a USB wireless interface in monitor mode. ┌─[root@parrot]─[/home/jason] └──╼ #airmon-ng start wlan1   Found 3 processes that could cause trouble. If airodump-ng, aireplay-ng or airtun-ng stops working after a short period of time, you may want to run ‘airmon-ng check kill’   PID Name 593 NetworkManager 749 wpa_supplicant 923 dhclient   PHY Interface Driver … Read more

How to install prboom+ on Ubuntu with the command line.

Install prboom+ on Ubuntu or Linux Mint like this. ubuntu ~ $ sudo apt install prboom-plusubuntu ~ $ sudo apt install prboom-plus Install prboom like this. ubuntu ~ $ sudo apt install prboomubuntu ~ $ sudo apt install prboom Install the shareware version of Doom with this command. This gives you the first episode of … Read more

An alternative to the wget command for Linux. How to use curl to download files.

How the curl command works on Linux. A good alternative to wget. This shows how to use the curl command to download a file from the Internet. I am retrieving a file from a website which I may then view with my local machine. ubuntu ~ $ curl http://s2.enemy.org/globe.gif > out.gif % Total % Received … Read more

Simple Linux commands to get information from your system.

Get your Internet routable IP address with the command line. [jason@localhost ~]$ curl ‘https://api.ipify.org’ ; echo[jason@localhost ~]$ curl ‘https://api.ipify.org’ ; echo Get the startup time of your Linux PC with Systemd. [jason@localhost ~]$ systemd-analyze Startup finished in 1.186s (kernel) + 9.653s (initrd) + 2min 37.144s (userspace) = 2min 47.984s[jason@localhost ~]$ systemd-analyze Startup finished in 1.186s … Read more

How to print out a list of all BBC news headlines with the command line. This is very cool.

This simple one-liner will print out all of the news headlines from the BBC news website in a simple text format. This is useful if you want to do something with a list like this. Or if you just want a listing to see if there is anything interesting happening. Updated command for 2017, as … Read more

Using the chmod command to change file permissions on a UNIX/Linux system.

Using the chmod command to change file permissions on a UNIX/Linux system. -rw-rw-r– 1 john john 203 09-02-12 07:16 pm out.out-rw-rw-r– 1 john john 203 09-02-12 07:16 pm out.out This file listing detail shows the information about the current file. The listing -rw-rw-r– shows the permissions for user, group and world. In this example, the … Read more

Linux and UNIX commands that are very useful.

To view the contents of an ISO image, the isoinfo command for Linux will come in very useful indeed. Just type isoinfo -f -i myiso.iso to view the contents of the ISO image as shown in this example. C:\MEDIA\ELEMENTS\FILES\ISOS> isoinfo -f -i linuxmint-11-gnome-dvd-64bit.iso /BOOT /CASPER /EFI /ISOLINUX /MD5SUM.TXT;1 /PRESEED /_DISK /BOOT/GRUB /CASPER/FILESYSTEM.MANIFEST;1 /CASPER/FILESYSTEM.MANIFEST_DESKTOP;1 /CASPER/FILESYSTEM.SIZE;1 /CASPER/FILESYSTEM.SQUASHFS;1 … Read more

What is a database management system?

A Database Management System is a system that allows multiple users to access, create and modify data entries in a database. The program is a multiuser application that will allow multiple users to access and change records easily, whilst maintaining the integrity of the data and also ensuring the security of the Database, with user … Read more

The ss command. A very useful way to find open and listening ports on a Linux system.

The ss command for Linux allows a user to list all listening ports on a Linux system. This command lists all listening TCP ports. homer@deusexmachina ~ $ ss -l -t State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 1 127.0.0.1:4101 *:* LISTEN 0 50 *:netbios-ssn *:* LISTEN 0 128 *:sunrpc *:* LISTEN 0 128 … Read more

The Midnight Commander file manager for Linux is indispensable for any Linux user.

The Midnight Commander file manager for Linux is indispensable for any serious Linux desktop or command line user. The ability to quickly copy or move files from one place to another and edit source code is amazing. Files can be copied between panes with the F5 key. F6 to move files. F8 will delete them. … Read more

How to get the CPU speed from the hardware in Linux with the dmidecode command.

How to get the CPU speed from the hardware in Linux with the dmidecode command. This command below will suffice. [root@localhost jason]# dmidecode –type 17 | grep -i speed Speed: 1333 MT/s Configured Clock Speed: 1333 MT/s Speed: 1333 MT/s Configured Clock Speed: 1333 MT/s Speed: Unknown Configured Clock Speed: Unknown Speed: Unknown Configured Clock … Read more