Eric Range
Technical director of Enginsight

Raspberry Pi 4 Shutdown: Trouble Shooting

If you ever do a rpi-update on your Raspberry Pi 4, it may occur that the shutdown process do not work anymore as expected, due to the newer firmware version. The newer version has changed the default “HALT” state after the launch firmware. The default state is now “idle” and “not power-off”. The ethernet adapter […]

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:

Venom.sh

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

SWAP

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 […]