Posts
AArch64 assembly - part 5
Feb 27, 2025 (updated)
assembly
arm64
aarch64
coding
AArch64 Index Home Let’s break the ice Under the surface Under the microscope Cross-compilation Resources AArch64 Exploring AArch64 assembler
A Guide to ARM64/AArch64 Assembly on Linux with Shellcodes and Cryptography
AArch64 assembly - part 4
Feb 27, 2025 (updated)
assembly
arm64
aarch64
coding
AArch64 Index Home Let’s break the ice Under the surface Under the microscope Cross-compilation Resources Cross-compilation Interestingly, one does not need to own an ARM64 processor. With the help of QEMU user mode emulation (qemu-user) and the GNU C compiler for AArch64 (gcc-aarch64-linux-gnu), assembling and linking native code is a breeze.
AArch64 assembly - part 3
Feb 27, 2025 (updated)
assembly
arm64
aarch64
coding
AArch64 Index Home Let’s break the ice Under the surface Under the microscope Cross-compilation Resources Under the microscope We could be happy with the overall result but, since we’re dealing with a very low-level language, this little intro wouldn’t be complete if GDB wasn’t mentioned here.
AArch64 assembly - part 2
Feb 27, 2025 (updated)
assembly
arm64
aarch64
coding
AArch64 Index Home Let’s break the ice Under the surface Under the microscope Cross-compilation Resources Under the surface In the process we’ve followed not only we’ve generated file answer.s but answer.
AArch64 assembly - part 1
Feb 27, 2025 (updated)
assembly
arm64
aarch64
coding
AArch64 Index Home Let’s break the ice Under the surface Under the microscope Cross-compilation Resources Let’s break the ice … or, let’s quickly generate some assembly code and run it.
AArch64 assembly - part 0
Feb 27, 2025 (updated)
assembly
arm64
aarch64
coding
AArch64 Index Home Let’s break the ice Under the surface Under the microscope Cross-compilation Resources Background I’m not exactly a programmer. I can write some (mostly bad) code, understand a few tiny bits here and there, but I can’t claim to be an expert in this field.
CRUD with MongoDB and Go - part #1
Oct 29, 2024
mongodb
go
golang
crud
docker
containers
I’ve always been fascinated by DataBases. Such a long history and, nowadays, so many different flavours.
Here’s my attempt to put together a simple application to Create, Read, Update, and Delete (hence, CRUD) records in a DB.
CRUD with MongoDB and Go - part #2
Oct 29, 2024
mongodb
go
golang
crud
docker
containers
In part #1 we’ve done a lot of manual interaction with MongoDB. Scratching the surface is easy but there’s a lot under the hood. As always, remember to read the manual.
Docker Swarm on ClusterHAT
Sep 23, 2024 (updated)
docker
armv6
armv7
arm64
aarch64
containers
INDEX
The basics: hardware architecture Our app, an HTTP server Docker Swarm, finally! Installation of ClusterHAT has been described in a previous post.
The basics: hardware architecture Controller:
pi@ctrl $ docker info | grep Architecture Architecture: armv7l Pi Zeros:
Raspberry PI: install ClusterHAT software
Jan 29, 2024 (updated)
I’ve had these nice Raspberry Pi Zero (vanilla, not ‘W’) lying around for quite some time and I wanted to give them a purpose in life.
By chance (meaning, during my endless browsing of the Twitter-verse and the Reddit-verse) I have discovered the ClusterHAT (Hardware Attached on Top) which “interfaces a (Controller) Raspberry Pi A+/B+/2/3 with 4 Raspberry Pi Zeros configured to use USB Gadget mode”.
Buildx: building multi-arch images
Jan 29, 2024 (updated)
docker
x86_64
x64
amd64
armv6
armv7
arm64
aarch64
containers
In this post I’ll explore how to build images that can run on multiple architectures. My scenario is composed of the two following hosts:
on x86_64: $ docker info | grep Architecture Architecture: x86_64 $ cat /proc/cpuinfo | grep "model name" | uniq model name: Intel(R) Core(TM) i5-3317U CPU @ 1.
Docker in depth: namespaces, cgroups, images from scratch
Jun 13, 2023 (updated)
docker
arm64
aarch64
containers
Images and containers Let’s take a closer look at what’s in an image.
NOTE: I’m filtering out lots of info by using Docker’s –format command.
user@laptop $ docker inspect --format="{{json .
CIBot: CounterIntelligence Bot
May 26, 2023 (updated)
linux
brute force
security
A cheap (but useful, IMHO) approach at keeping your home network under control I know shouldn’t have been but I was genuinely surprised when, upon login onto my tiny home server, I was greeted by:
Breaking the ice with Shodan
Apr 1, 2020
Shodan.io Shodan defines itself as the search engine for Internet-connected devices. Replace Internet-connected devices with webcams, refrigerators, power plants… Raspberry Pis… you-name-it.
I’d always been curious about Shodan but not that curious to break into someone else’s webcam, not my cup of tea.
Running a REPL on-premise
Mar 29, 2020
Nodebook Nodebook is a multi-language REPL offering both a web UI and a CLI interface. Github: https://github.com/netgusto/nodebook
NOTE: REPL: Read-Eval-Print Loop
Set up OS (e.g. CentOS 7) sudo sed -i "s/^#PermitRootLogin yes/PermitRootLogin prohibit-password/" /etc/ssh/sshd_config sudo sed -i "s/^#UseDNS yes/UseDNS no/" /etc/ssh/sshd_config sudo systemctl restart sshd sudo firewall-cmd --permanent --add-port=9001/tcp && sudo firewall-cmd --reload IMPORTANT: be aware of any security implcations when running such an application.
Docker Swarm on KVM (CentOS)
Mar 13, 2020
Docker Swarm on KVM (CentOS) Fast re-run of the previous post, this time streamlined to match VM’s on KVM.
One thing I like about KVM is the ability to have templates and quickly install VM’s through Kickstart.