James McDonald

Test your AV client with Eicar

eicar.com is a special file that is NOT malicious (if gotten from the right place) it is simply a text file with a special string inside it as follows: It is handy if you want to test if your Anti-Virus solution is working To obtain a copy goto https://eicar.org wget...

SSH to Unifi USG Public Key Rejected

Trying to login using SSH with a Public Key to USG and only get a password prompt Using latest version of MacOS and the following ssh version ssh -V OpenSSH_8.8p1, OpenSSL 1.1.1l 24 Aug 2021 Run the following to get more info ssh user@usg -vvv get a heap of output but...

Git Merge Commits From One Branch Into Another

I created a feature in my Toggen WMS to be able to print an SSCC Label PDF from MessageXchange XML the branch in git was xmltopdf Later I fetched the production "live" code back to my development repo and changed a label print page to have 3 print forms instead of 2....

Unifi UDM to Azure Site to Site VPN Notes

The GUI doesn't keep some of the settings you set. But these worked for me. This doesn't include the Azure setup. Settings for UDM Name: TGN-MEL-AZR Name can be anything you want. I like to do <company prefix ><local site><remote site> e.g TGN is...

Memtester the Chuck Testa of memory testers

Just putting this here for future reference. For the record the reason I did this test was because I have a Ubuntu 20.04 workstation that had some disk corruption. I also noticed that my Windows 10 VMWare workstation guest was blue screening with a stop error which...

Using Curl & Powershell to POST Form Data to CakePHP

CakePHP 2 Form and trying to POST to it using curl This is what I am trying to duplicate with curl -----------------------------1993502965129257581246610166 Content-Disposition: form-data; name="_method" POST -----------------------------1993502965129257581246610166...

VSCode into Remote Docker Host Container XDebug

I have another post that is VSCode on Windows 10 SSH into remote host and working in the project source directory then Xdebug This post is different as it connecting to the Remote Docker Container and working inside the container. VSCode running on Windows 10 Remote...

VMWare Workstation Pro on Secure Boot Ubuntu

I enabled secure boot on my Ubuntu 20.04 workstation running VMWare Workstation Pro. Problem: Every time the kernel is upgraded VMWare cannot load its unsigned kernel modules Cause: Secure boot means that all kernel modules have to be marked as trusted by the secure...