Types of network attacks.

TCP attacks TCP SYN attack: This attack begins as a normal TCP connection, the client and server exchange information in TCP packets. A client sends an ACK packet to the server requesting a connection. The server will respond with a packet acknowledging the connection and then the data transmission may…

Read More

Various tricks with C on Linux.

There are various tricks for programming on Linux. One useful trick is to open a file for reading with C. This is how to do this. The “r” option for fopen() will read the file into memory. #include <stdlib.h> #include <stdio.h>   int main(void) { FILE *f; char buf[256];  …

Read More

How to install Docker on Linux to run virtual containers.

To install Docker on Ubuntu, we need to be able to add a custom repository. This is the command required. 4.4 Mon Dec 23 jason@Yog-Sothoth 0: $ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable"4.4 Mon Dec 23 jason@Yog-Sothoth 0: $ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \…

Read More

WIFI security getting better, but needs work.

The security of WIFI networks is getting better, but they still need work. Many routers with the default configuration have settings for WPS that limit the number of tries for each PIN attempt. But it is still possible to de-authenticate a user on the Wireless network and then capture a…

Read More

Scanning a Linux system for vulnerabilities can be a lot of fun.

Scanning a Linux system for vulnerabilities can be a lot of fun. I have used Nessus to find SSH vulnerabilities like Heartbleed. I was doing penetration testing on a Linux machine and I found a Heartbleed bug. Vulnerability Explanation: The installation of OpenSSL on the Linux webserver was found to…

Read More

Nice bash shell prompt examples.

This is a very simple, but nice shell prompt. PS1="\[\033[38;5;49m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;43m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput sgr0)\]\[\033[38;5;39m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]:\$?:\\$\[$(tput sgr0)\]"PS1="\[\033[38;5;49m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;43m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput sgr0)\]\[\033[38;5;39m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]:\$?:\\$\[$(tput sgr0)\]" This is what it looks like. /home/robert/Desktop:mycomputer@mario:0:$/home/robert/Desktop:mycomputer@mario:0:$ Another nice bash shell prompt. PS1="-\t– \u@\h [\w]\$ "PS1="-\t– \u@\h [\w]\$ " It looks like this. Not as good, but simpler…

Read More

Spice up your Linux desktop for christmas.

To get a nice Christmas themed Linux desktop, install xsnow. jason@jason-virtual-machine:~$ sudo apt install xsnowjason@jason-virtual-machine:~$ sudo apt install xsnow Then run it in a terminal to make your desktop snow. jason@jason-virtual-machine:~$ xsnow & exitjason@jason-virtual-machine:~$ xsnow & exit This is what it will look like. It even has a nice snow…

Read More

Windows 7 support ending in 2020.

Support for Windows 7 is ending in 2020. it will show a full-screen dialog explaining the risks of continued use after this time. This is the risk of running Windows, but it is also a problem if a user had an older version of Linux installed and did not install…

Read More

How to download only the audio from a Youtube video.

It is possible to download just the audio from a Youtube video. This is very easy. Use youtube-dl to view information about the Youtube video and find the m4a audio track. 4.4 Sat Dec 07 jason@Yog-Sothoth 0: $ youtube-dl -F https://www.youtube.com/watch?v=JWPe9uh7FWU [youtube] JWPe9uh7FWU: Downloading webpage [youtube] JWPe9uh7FWU: Downloading video info…

Read More

Old UNIX code from 1979. This is very interesting.

This very old UNIX source code from 1979. This is source code for the Bourne shell. This code looks alien compared to modern C code, I wonder if it would even compile on a modern machine. Have a look here: https://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh/expand.c. But I installed all the include files and it…

Read More

A Data Warehousing solution using SQL Server

I have been researching a system for deploying a database cluster. I have chosen the Microsoft SQL Server product. This does support server clustering and uses nodes clustered together on a network to create a failover network that will automatically maintain operation if one node is to fail. A virtual…

Read More

How to install and start SSH on Kali Linux 2019

Installing and setting up SSH on Kali Linux 2019 is very easy. This enables an SSH connection from Bitvise SSH Client into a VMWare instance of Kali Linux. Firstly, install the SSH service. root@kali:~# apt install sshroot@kali:~# apt install ssh Then, once it is installed, start the SSH service on…

Read More

Social Network movie showed KDE 2.2 desktop and Linux OS.

The Social Network movie featured a KDE 2.2 desktop and a nice Linux Konsole command line terminal. He is listing connections by viewing a log file with the watch utility. This also shows the Emacs text editor to edit the PHP code for his little project. This is a very…

Read More

Very useful Linux configurations for setting up a desktop.

IceWM configuration fileUseful Linux CommandsVery Verbose ps commandBlackbox ThemeGNU/Linux CD Burning: (Updated! for Debian Linux 6.0.)CD Burning with BraseroWriting Ghost Images to CD IceWM configuration file My ICEWM preferences file. from $HOME/.icewm/preferences. This file has a nice friendly time format and a good Win95 styled theme. This IceWM configuration file…

Read More

Convert a MIDI file to OGG in the best quality possible.

To convert a MIDI file to OGG on Linux, use the LMMS music-making application. Import a MIDI file by opening the Import menu. This is the Project->Import menu option. Then export the MIDI file to an OGG format file with default settings. This will create a very high-quality rendering of…

Read More