> Welcome on this blog, I share some dirty codes and projects.
Some are usefull and they become parts of my toolbox, other are just because it is possible.
Bash - REST-like API - socat
Asking myself, how to make an REST-like API with Bash<3 ?socat is used to open port and handle the network calls.
read more...
Mount qcow2 disk through qemu-nbd (and clean disconnect of nbd|dm devices) and socat
A simple shell script to mount qcow2 file through qemu-nbd and pop shell insidethe chrooted partition over the network through socat
read more...
tor2web nginx - check blacklist with lua
I recently operate a tor2web gateway andit is very recommended to restrict some onion urls.
read more...
From cx_Freeze multi-file .exe to one-file .with sfx
Pyinstaller offer the possibility to create one file exe directly but generally it is triggered as a virus byt most of commons AV included windefender.This is not very fair for sysadmin who need to deploy an home made exe.%%BR
But there is a solution with sfx archives.
read more...
ssh control (discord bot)
An oob discord bot to control ingress trafic of ssh port.You can keep iptables dropping ssh port.
Add iptables rules with simple one discord bot command.
read more...