Eric Range
Technical director of Enginsight

Disable Wi-Fi and Bluetooth on Linux

Ubuntu 20.04 Navigate to: Add following lines: And reboot: Raspbian (Buster) Navigate to: Add following lines: And reboot:

Today I implemented a few techniques to detect common web-based attacks and came across the following Nginx access log entry. I immediately spotted the command injection attempt but didn’t pay any attention due to the 400 “Bad Request” HTTP response status code. Somehow I was a little disappointed because the attack was easy to detect and […]

JavaScript: Is this a number?

Dynamic typing and JavaScript sometimes don’t fit together so well. This is especially important for numbers. A numeric value in a variable is not always declared as a number, although in theory it can only take numeric values. So how should one check whether it is a number “in the broadest sense” that can be […]

Automatic Updates on Linux

Copy&Paste… Debian / Ubuntu ● unattended-upgrades.service – Unattended Upgrades Shutdown Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2019-11-11 18:30:55 CET; 10min ago Docs: man:unattended-upgrade(8) Main PID: 18330 (unattended-upgr) Tasks: 2 (limit: 2301) Memory: 10.1M CGroup: /system.slice/unattended-upgrades.service └─18330 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown


When memory is running low, you not only risk inconsistent memory areas, but also a system crash that can lead to data loss. The SWAP is an extended memory area on the hard disk that can be used in an emergency to ensure operation. To create a SWAP area, simply copy and execute the following […]