IT Security & Network Engineering Knowledge Base

Practical documentation and technical guides on network security, firewalls, Linux systems, monitoring, and automation.
We feature technical articles across the entire IT spectrum - Built from real-world experience and continuously updated.

PowerPoint – Error “Cannot create a hyperlink to ^0”

Issue When I try to play a slideshow I get the error, Cannot create a hyperlink to ^0 Solution This is down to the hlink.dll file being corrupt. The “Official” fix for this is to copy over a new one to system32 and register. You can register this by going to run and executing the … Read more

Linux – Setting up VNC Server

Below is a short guide to set up a VNC server within Linux. INSTALL Install the package by running the following commands, Ubuntu/Debian – apt-get install vnc4server xinetd Fedora/Redhat – yum install vnc-server PASSWORD Set the password for vnc by running the command vncpasswd START VNC Start the vnc server by running the command vncserver.You … Read more

SPLAT – Route / Static ARP startup Script

To create a static route script, create a file in /etc/init.d/ with the routes included. Below is an example, #!/bin/bash /sbin/route add -host 192.168.1.25 gateway 10.1.1.25/sbin/route add -host 192.168.1.19 gateway 10.1.1.19 exit 0 Then link this to the startup script, by running, ln -s /etc/init.d/staticroutes /etc/rc3.d/S68Staticroutes You can then do the same for the static … Read more

UNIX – Add an interface Redhat / Fedora

To add a interface you need to do the following,   1. Confirm what the mac address is by running ifconfig -a  2. Then edit the relevant script , which can be found at /etc/sysconfig/network-scripts/ifcfg-eth0. The script can be ifcfg-eth1, ifcfg-eth2 etc etc.  3. And it should look something like this (for a static IP), … Read more

BASH – F-Prot Scripts

Here are 2 scripts created for the AV software F-Prot, FProt_scan Runs a scan on your system, you will need to enter you own path under the variable $path #!/bin/bash #Variables path=/ #binaries fprot=/usr/local/f-prot/f-prot if [ ! -x “${fprot}” ]; then echo “Error: ${fprot} not found or not executable!” | /usr/bin/logger -t fprot_scan -p daemon.err … Read more

Linux – cp: omitting directory error

When trying to use the cp command you receive the error message, cp: omitting directory This can be overcome by using the -r option, cp -r [source file] [destination file]

BASH – Adding coloured text

This will simply print your text in red.  echo -e ‘\E[31mThis prints in red.’; tput sgr0 If you need any further information or want to know how to add bold, underlining, or background colours to your text click here. 

Windows – How to add a route

Go to the Command Prompt via `Start / Run / CMD`. And use the following syntax, Add a route route -p add [Destination] MASK [Mask] [Gateway] Remove a route route -p delete [Destination] MASK [Mask] [Gateway] Example This would add a route to network 10.1.1.0/24 via your gateway address of 192.168.1.100. route -p ADD 10.1.1.0 MASK … Read more