Convert an ESXi VM to UNRAID KVM with qume-img convert

Here’s a quick guide on how to convert ESXi VMs to and UNRAID KVM virtual machine – it’s a simple process but a minefield to navigate on searches and forums. I currently have a windows 10 VM running on an ESXi server (vmdk) which I want to migrate to my UNRAID server which uses KVM to host VMs. The vmdk file is unfortunately thick provisioned, so I have had to do some disk juggling, due to my limited amount of available of space on my array. ...

February 3, 2020 · 3 min · Tom Cocking

Backup Google Photos with Rclone

Google photos auto backup is a nice way to make sure that all your photos on your mobile phone are backed up. It takes the pain out of backups by allowing you to automatically upload your photos and videos to Google servers. For those who would also like an offline copy of those photos, it is now easy to automate this. Here is how to backup your Google Photos library to your local computer or NAS with Rclone. ...

January 31, 2020 · 3 min · Tom Cocking

Kali Linux 2020.1 - No more root by default

** Rejoice! Kali Linux 2020.1 is here! The first release of 2020 has arrived and this post will contain some updates and my initial thoughts on the fresh release. Kali Linux 2020.1 features and changes Non-Root by default Kali single installer image Kali NetHunter Rootless Improvements to theme & kali-undercover New tools Full Kali release notes as per their release blog post: https://www.kali.org/releases/kali-linux-2020-1-release/ Got root? Kali has installed with root as the default user since the dawn of its existence, Backtrack, WHAX and Whoppix, but finally, the devs have decided that it time to bring Kali in line with Debian on this one and have a default user which is no longer root. ...

January 28, 2020 · 3 min · Tom Cocking

Secure DDNS - Namecheap SSL With DDClient

https://ddclient.net A quote short post on how to secure your DDNS updates with Namecheap, SSL and DDClient. For those of us who use dynamic DNS to work around roaming IP addresses, it is important to make sure that you are updating your DNS records securely with SSL. The default DDclient config has an example configuration file for using Namecheap’s DDNS service, however, it does not use SSL to check for your IP. In theory that connection could be manipulated and a false IP result could be returned – updating your DNS records to a wrong, malicious IP could cause a number of problems. ...

January 25, 2020 · 1 min · Tom Cocking

How to make a VirtualBox VM the same resolution as host

Yet another simple problem/resolution. If you are looking to make your VirtualBox VM’s resolution match that of your host making full-screen mode, truly full screen, look no further, here is the answer. Once again we are looking at an issue caused by a default setting. You can set your VM to full-screen mode, but it not likely to rescale to the native resolution of your display. The setting which you need to change requires you to have the VM powered off. Enter the settings for the VM > Display > Screen Tab > Graphics Controller: VBoxSVGA. ...

January 16, 2020 · 1 min · Tom Cocking

How to Enable Subnet Overlapping on a Fortigate (allow-subnet-overlap)

A short and sweet problem/resolution. If you are looking to enable subnet overlapping on a Fortigate so that you can give multiple interfaces an IP in the same subnet, this is the post for you. NOTE: This feature can only be enabled in the Fortigate’s CLI. To enable the overlapping feature, enter the following commands: config system settings set allow-subnet-overlap [enable/disable] end What is subnet overlapping? Subnet overlapping is disabled by default in fortiOS and for good reason; if you misuse subnet overlapping it can cause massive routing issues for your clients and their traffic. Subnet overlapping lets you apply IPs from the same subnet (e.g 192.160.1.X/24) to multiple interfaces that are not in the same virtual/physical switch. ...

January 7, 2020 · 2 min · Tom Cocking

Kasa home automation with IFTTT and python webhooks

They say that the long tail page titles are best for SEO, well this one certainly should be up there with the best of them. In this post, I am going to explain how easy it is to control Kasa a HS100 / HS110 with IFTTT and python webhooks. Using this basic code, you expand into building a very powerful home automation system which fits your needs and take your Kasa home automation to the next level. ...

December 4, 2019 · 3 min · Tom Cocking

AWUS036AC (rtl8812au) driver setup in Kali Linux

Note: This guide was written for Kali Linux 2019.4. The core dkms build method still works on current Kali, but package names and kernel headers may differ slightly on newer releases. Authorised use only: monitor mode and packet injection are standard tools for testing wireless networks you own or have written permission to assess. Using them against anyone else’s network is illegal in the UK under the Computer Misuse Act 1990. This post covers getting the adapter’s driver working and nothing else. ...

December 3, 2019 · 3 min · Tom Cocking

Getting started with Python 3 - a beginner's cheat sheet

*Python.Org* I have been getting started with python 3 – I want to make this my primary scripting language. One way I like to assist myself whilst I learn the rope is to maintain a crib sheet filled with all the trivial things I would otherwise forget. Python 3 Cheat Sheet #Define Variables programming_languages: "Python", "VB", "C++", "C#" #Print Variables print(programming_languages) print('--------------------') #Basic for loop + variables for language in programming_languages: print(language) print('--------------------') #Basic Function def FuncExample(): i: 1 for language in programming_languages: #Concatinate Strings and Integers in print statements print("Language " + str(i) + ":" + language) #Increment Integer i += 1 FuncExample() print('--------------------') #Functions with Variables #1 - Strings def FuncVarExample1(fname, lname): #Print with CRLF print("First Name: " + fname + "\r\n" + "Last Name: " + lname) FuncVarExample1("Joe","Bloggs") print('--------------------') #Functions with Variables #2 - Integers + Returning Values def FuncVarExample2(x, y): #Basic integer maths return x+y #Concatenating Strings and Integers print("33 + 42: " + str(FuncVarExample2(33,42))) print('--------------------') You can also find more code snippets here: https://exitcode0.net/code-samples/

November 23, 2019 · 1 min · Tom Cocking

Clipboard and Shared Folders on Kali Linux with VirtualBox

I spent more time that care to admit trying to setup a shared folder between my windows host and Kali VirtualBox VM. So hopefully the Google algos pick this one up and save you the time trying to find the right packages to fix this a clipboard sync. apt-get update apt-get install -y virtualbox-guest-x11 Go for a quick reboot once the above commands are complete and you should have clipboard sync (text) and shared folders should mount successfully. ...

November 21, 2019 · 1 min · Tom Cocking