$ wg genkey | tee privatekey | wg pubkey > publickeyRotate your public key via the same logic as in Mullvad's source code:
- Step 1: Obtaining an access token:
$ curl -fsSL -X POST \
-H 'Content-Type: application/json' \| #!/bin/bash | |
| # Function to display usage information | |
| usage() { | |
| echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]" | |
| exit 1 | |
| } | |
| # Check if at least one argument (input file) is provided | |
| if [ $# -lt 1 ]; then |
| # .golangci.yml | |
| run: | |
| modules-download-mode: vendor | |
| skip-dirs: [vendor] | |
| linters-settings: | |
| staticcheck: | |
| # Select the Go version to target. The default is '1.13'. | |
| go: "1.19" |
$ wg genkey | tee privatekey | wg pubkey > publickey$ curl -fsSL -X POST \
-H 'Content-Type: application/json' \Custom format for displaying bytes as kb, mb, gb or tb.
Response to a few places on the internet: https://productforums.google.com/forum/#!topic/docs/x_T_N-yRUYg And here: https://stackoverflow.com/questions/1533811/how-can-i-format-bytes-a-cell-in-excel-as-kb-mb-gb-etc
Here is one that I have been using:
[<1000000]0.00," KB";[<1000000000]0.00,," MB";0.00,,," GB"
| #!/usr/bin/sudo ruby | |
| # | |
| # revealer.rb -- Deobfuscate GHE .rb files. | |
| # | |
| # This is simple: | |
| # Every obfuscated file in the GHE VM contains the following code: | |
| # | |
| # > require "ruby_concealer.so" | |
| # > __ruby_concealer__ "..." |