Get SSL information from a website using sslscan.

The sslscan command for the Kali Linux penetration testing distribution is very useful for gaining an insight into the SSL configuration of a web site. Here is example usage on healthcare.gov… root@darknet:~# sslscan healthcare.gov Version: 1.10.5-static OpenSSL 1.0.2e-dev xx XXX xxxx   Testing SSL server healthcare.gov on port 443   TLS renegotiation: Secure session renegotiation … Read more

How to use the ip command to bring down an interface on RHEL.

The ip command is a useful alternative to the ifconfig command and allows the user to manage network interfaces. This is a good way to use the command line to bring network interfaces up or down. In this example I am bringing the network interface down. [root@localhost jason]# ip link set eno16777736 down [root@localhost jason]# … Read more

How to get Steam running on Ubuntu 15.04 Linux.

I had problems getting Steam to run on Ubuntu 15.04, I would get this error. jason@darkstar:~$ steam Running Steam on ubuntu 15.04 64-bit STEAM_RUNTIME is enabled automatically [2016-01-05 11:03:24] Startup – updater built Dec 14 2015 11:15:53 SteamUpdateUI: An X Error occurred X Error of failed request: BadValue (integer parameter out of range for operation)jason@darkstar:~$ … Read more

Get the startup time of your Linux machine with systemd.

The systemd-analyze command will print the time taken for the system to boot up. This separates the time for the kernel and the userspace environment. root@darkstar:~# systemd-analyze Startup finished in 4.728s (kernel) + 28.339s (userspace) = 33.068sroot@darkstar:~# systemd-analyze Startup finished in 4.728s (kernel) + 28.339s (userspace) = 33.068s This command will get the date and … Read more

How to fix garbled console font in Ubuntu 15.04 Linux.

The console font in Ubuntu 15.04 can be quite garbled when a console application is loaded that requires ncurses characters to draw an interface. There as easy fix for this. Run this command in a virtual terminal or a terminal emulator window. sudo dpkg-reconfigure console-setupsudo dpkg-reconfigure console-setup Now choose UTF-8 from this list. On this … Read more

Download a Youtube video to mp3 with the Linux shell.

Firstly, install youtube-dl. jason@darkstar:~/Music$ sudo apt-get install youtube-dljason@darkstar:~/Music$ sudo apt-get install youtube-dl Then run this command with the Youtube video URL. jason@darkstar:~/Music$ youtube-dl -f bestaudio -x –audio-format mp3 –prefer-ffmpeg https://www.youtube.com/watch?v=UWFm2LIYNjg [youtube] UWFm2LIYNjg: Downloading webpage [youtube] UWFm2LIYNjg: Extracting video information [youtube] UWFm2LIYNjg: Downloading DASH manifest [download] Destination: Dune (1983) OST – Dune Prophecy (Long Version)-UWFm2LIYNjg.m4a [download] … Read more

HP releases new Star Wars laptop, just in time for holiday shopping.

Hewlett Packard have released a new Star Wars themed laptop, just in time for Christmas. This laptop, starting at $699.99 is a bargain and would be the perfect present for any Star Wars fan. See all of the options and customize before purchasing on this page: http://store.hp.com/us/en/mdp/Laptops/star-wars-special-edition#vao. Buy one today for the Star Wars fan … Read more

How to count the number of packages installed on your Ubuntu/Debian machine.

This useful command will display a count of all installed packages on your Debian Linux machine. jason@ubuntu:~$ dpkg-query -l | wc -l 2027jason@ubuntu:~$ dpkg-query -l | wc -l 2027 Grepping the output to find certain packages. jason@ubuntu:~$ dpkg-query -l | grep vim ii vim-common 2:7.4.052-1ubuntu3 amd64 Vi IMproved – Common files ii vim-tiny 2:7.4.052-1ubuntu3 amd64 … Read more

Misc commands to get system information from a Linux box.

List all network interfaces on your Linux machine that are up. [jason@localhost ~]$ ip addr | grep UP 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 2: eno16777736: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP qlen 1000 3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN[jason@localhost ~]$ ip addr | grep UP 1: lo: … Read more

Very old computing advertisements and images.

An old anti-piracy advertisement.

Some very old computer advertisements and images. This is an advertisement against piracy. 50,000 dollar 5 megabyte hard disk drive being loaded onto a truck. Windows 3.1 disk space indicator. This was the very old days of computing. You can certainly tell that disk space was far more restricted than on modern computers. IBM 5100 … Read more

Very useful and informative Linux commands.

While running Linux, if you want to list the contents of a folder in a vertical list format, just use the ls command with these switches. jason@ubuntu:~$ ls -luh –color=yes total 48K drwxr-xr-x 2 jason jason 4.0K Dec 15 03:03 Desktop drwxr-xr-x 2 jason jason 4.0K Nov 29 17:00 Documents drwxr-xr-x 2 jason jason 4.0K … Read more