Keybase proof
I hereby claim:
- I am mikaelkall on github.
- I am mikaelkall (https://keybase.io/mikaelkall) on keybase.
- I have a public key whose fingerprint is A15F 4F1B 0E7E 6342 7A5D 57D3 A2FB 1DFE 298A 2EF6
To claim this, I am signing this object:
curl -sd '{"key":"value"}' https://www.hackthebox.eu/api/invite/generate | jq .data.code |tr -d '"' |base64 -d | xargs | |
Update this was shorter. | |
curl -s -X POST https://www.hackthebox.eu/api/invite/generate | egrep -o "[a-Z0-9]+\=" |base64 -d |
# Dump VM meory on Virtualbox | |
vboxmanage debugvm dumpvmcore Windows10 --filename windows10.img | |
volatility -f windows10.img vboxinfo |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Comment: https://keybase.io/download | |
Version: Keybase Go 1.0.39 (linux) | |
xsFNBFpjsvcBEAC3J+/YcN6F2Wvf8pzbiH2SF96w7z2Thg5rz9GgfCxtHbNS+X45 | |
ONvFgD272ppOt6hPz/7iMeVlHDWkrlmKOl6BN16eLl31zoYFSJhy5jp7Nqs6bupz | |
2Q8B3JWkGPUv47cK2X0lm6eRIUm1QPHUz0FUtHy+4N+oPgSh4aIUKbzBxuI5Niv8 | |
7AV7rol16hGWmwfvJsED9IpN0ytjXCDsLovGpHi6/Tp+jlILNJ4+mDgORTGP0Fmi | |
l4MTxTgX24RvXeMurOKp9Pgkn1R8sB7WWL7+jigMqzWvUyW61wbtDNmfkU8knwFz | |
YvsCJtJWlEsGw3NtUpLZMRkvj5UdbYa1dmvN16uDmNuiIPuGKO/fFWLWL4d7X1eE |
I hereby claim:
To claim this, I am signing this object:
Create point to point tunnel between two servers over ssh with a tun interface to avoid the need to open a firewall.
cli># ssh -w5:5 root@hserver
srv># ifconfig tun5 10.0.1.1 netmask 255.255.255.252
cli># ifconfig tun5 10.0.1.2 netmask 255.255.255.252
Oneliner to list block percentage on a filesystem
dumpe2fs -h /dev/sda1 2> /dev/null | awk -F ':' '{ if($1 == "Reserved block count") { rescnt=$2 } } { if($1 == "Block count") { blkcnt=$2 } } END { print "Reserved blocks: "(rescnt/blkcnt)*100"%" }'