Hugo Freire
Upload/download to/from AWS Glacier using aws-cli
Note
Ebba AI at Keybroker's Seminar on Chatbots
Note
Leak server IP addresses behind CloudFlare
Clone CloudFair GitHub repo git clone https://github.com/christophetd/CloudFlair.git Change current directory cd CloudFlair Set up Censys environment API authentication export CENSYS_API_ID=<my-censys-api-id> export CENSYS_API_SECRET=<my-censys-api-secret> Get Medium server IP addresses python cloudflair.py medium.com
Note
Copy data through SSH while handling symbolic links
rsync -avz -e ssh <source> <destination>
Note
Download a YouTube video playlist
Download MPEG 4 format videos youtube-dl -i -f mp4 "https://www.youtube.com/playlist?list=PL3FW7Lu3i5JvHM8ljYj-zLfQRF3EO8sYv"
Note
Using DKMS to recompile and install rtl8812au Linux driver for Raspberry Pi whenever a new kernel gets installed
Clone rtl8812au GitHub repo cd /usr/local/src && git clone https://github.com/aircrack-ng/rtl8812au.git && cd rtl8812au && git checkout v5.1.5 Add DKMS configuration file to rtl8812au source cat << EOF | tee dkms.conf PACKAGE_NAME="realtek-rtl88xxau" PACKAGE_VERSION=
Note
Capture Wi-Fi WPA/WPA2 client handshakes
Scan for access points and clients in all channels airodump-ng <interface> Capture client handshakes to a specific access point airodump-ng -c <channel> --bssid <access_point_mac_address> <interface> -w /tmp/dump Force clients to handshake by deauthenticating them aireplay-ng --deauth 10 -a
Note
Use hashcat with an Intel CPU
Install dependencies apt-get install ocl-icd-libopencl1 Install OpenCL drivers and CPU runtime from https://software.intel.com/en-us/articles/opencl-drivers#latest_CPU_runtime Clone the hashcat GitHub repo cd /usr/local/src && git clone https://github.com/hashcat/hashcat.git && cd hashcat && git submodule update
Antifragile system design principles
1. Stick to simple rules 2. Decentralize 3. Develop layered systems 4. Build in redundancy and overcompensation 5. Resist the urge to suppress randomness 6. Ensure everyone has skin in the game 7. Give higher status to practitioners rather than theoreticians Sources: https://www.wired.com/2013/04/antifragile-system-design-principles/, http:
Note
Recover Docker for Mac leaked disk space
Remove Docker.qcow2 file rm -rf ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 Restart Docker daemon killall -HUP com.docker.hyperkit