Skip to content

Instantly share code, notes, and snippets.

View msfjarvis's full-sized avatar

Harsh Shandilya msfjarvis

View GitHub Profile
@msfjarvis
msfjarvis / openpgp.txt
Created February 4, 2019 13:23
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:c5286e5857905f0be3411333c2e74282c2133d62]
@msfjarvis
msfjarvis / mullvad-vpn-speedtest-suite.md
Created January 9, 2019 14:28
Collection of bash hackery to determine which Mullvad WireGuard server is the lowest latency from your location
  • Grab all your wireguard configs from Mullvad and dump them in a folder. For this test, this folder is ~/wireguard/.
  • Add the following function to generate a list of all servers you have configs for
lswg ()  { 
    ls ~/wireguard/ | cut -d '-' -f 2 | sed 's/\.conf//'
}
  • Ping each server 10 times to determine latency.
lswg | xargs -I {} ping -c 10 {}-wireguard.mullvad.net | tee mullvadwgstats
@msfjarvis
msfjarvis / sepolicy.md
Last active November 27, 2025 00:11
How to write sepolicy to fix a denial