Busybox
https://github.com/mirror/busybox/releases/tag/1_36_1
make menuconfig
make
You might need to edit .config
Set the CONFIG_TC to N and another CONFIG_TCPSVD to N as well to build on latest kernel
DOwnload deb and extract binary
https://pkgs.org/search/?q=xxx
ar x xxx.deb
Friday, September 11, 2026
Compiling Busybox stuff
Bash shortcuts!
Find all files that smells like xxx and copy to thumb
find /search/root -type f -name '*partial*' -exec cp --parents -t /media/user/thumb {} +
Getting a specific app version
apt update
#LIst all available versions
apt-cache policy <package_name>
#install the specific version
sudo apt install <package_name>=<package_version>
Cryptsetup!
cryptsetup luksFormat /dev/sss
cryptsetup luksOpen /dev/sss lala
sudo mkfs.ext4 /dev/mapper/lala
sudo mkdir /mnt/encrypted
sudo mount /dev/mapper/lala /mnt/encrypted
sudo umount /mnt/encrypted
sudo cryptsetup luksClose encrypted_drive
* https://codelucky.com/cryptsetup-command-linux/
Reverse SSH
ssh -N -L 18789:127.0.0.1:18789 user@somewhere
Saturday, March 28, 2026
Multiple VNC Users on a debian / ubuntu
Problem: My kids want to VNC into a VM and use it.
Solution:
apt update && apt install tigervnc-standalone-server xfce4 xfce4-goodies
adduser kid1
su - kid1
You should now be in the kid1 user.
==== KID1 ====
vncpasswd
nano ~/.vnc/xstartup
==== CODE ====
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec startxfce4
==== CODE ====
chmod +x ~/.vnc/xstartup
exit
==== KID1 ====
On the server,
nano /etc/tigervnc/vncserver.users
==== CODE ====
:3=kid1 #This means port 5900 + 3 = kid1 screen
==== CODE ====
systemctl daemon-reload
systemctl enable tigervncserver@:3.service
systemctl start tigervncserver@:3.service
Might need UFW allow
ufw allow 5901:5905/tcp
Default is listen to 127.0.0.1
To listen to 0.0.0.0
vim /etc/tigervnc/vncserver-config-defaults
enable > $localhost="no"
Blank screen after some time while using ESXi + Ubuntu / Debian
Problem: After some time, the screen went black. From VCSA, unable to click console.
Solution1: If you still can ssh, ssh in and issue `sudo systemctl restart gdm` for a temp fix.
Solution2: `sudo apt install -y dconf-editor gnome-shell-extension-manager`
Run dconf-editor in a GUI, search for power especially org > gnome > settings-daemon > plugins > power > ambient-enabled.
Turn off all sleep features.
Solution 3:
Changing the settings in /etc/gdm3/custom.conf to WaylandEnable=false worked well.
Links: https://github.com/vmware/open-vm-tools/issues/725