Title: Simple Sabotage Field Manual Author: Strategic Services Office of Strategic Services
Short version: I strongly do not recommend using any of these providers. You are, of course, free to use whatever you like. My TL;DR advice: Roll your own and use Algo or Streisand. For messaging & voice, use Signal. For increased anonymity, use Tor for desktop (though recognize that doing so may actually put you at greater risk), and Onion Browser for mobile.
This mini-rant came on the heels of an interesting twitter discussion: https://twitter.com/kennwhite/status/591074055018582016
This is the setup that worked for me after half a day of hacking around and chasing rabbit holes down old forum posts and open & closed Github issues.
Problem: While Go integration with VS Code is pretty slick in general, I needed to
pass compile-time build flags, e.g., -tags foo
[^1] to go build
and go run
directives, and I wanted to be able to properly debug with breakpoints etc. While there
are some promising tutorials out there like this on Digital Ocean and on Log Rocket it turned
out that one of the first things they both say to do is add the Delve extension to VS Code,
#!/usr/bin/env bash | |
# | |
# By Romeo Ninov: https://superuser.com/a/224263 | |
# | |
# OpenSSL requires the port number. | |
SERVER=$1 | |
DELAY=1 | |
ciphers=$(openssl ciphers 'ALL:eNULL' | sed -e 's/:/ /g') |
# Reproducible Debian 11 install steps for mongod v. 7.0.0 (defaults to gcc/g++ v 12, not 11, which requires more steps) | |
# NOT MEANT AS A TRUE SCRIPT -- SOME INTERACTION IS REQUIRED FROM PROMPTS | |
# DO NOT DO run apt get autoremove !!! | |
# | |
# THIS IN NO WAY IS OFFICIAL, OR REPRESENTS MongoDB Inc. USE AT YOUR OWN RISK | |
# | |
# Get ami # for Debian 11 Bullseye, from: https://wiki.debian.org/Cloud/AmazonEC2Image/Bullseye | |
echo 'deb http://http.us.debian.org/debian/ testing non-free contrib main' | sudo tee -a /etc/apt/sources.list >/dev/null | |
sudo apt -y update |
#!/usr/bin/env bash | |
# | |
# Example of multiple key AES encryption for text files using the openssl v. 0.9.8+ command line utility | |
# Uses n public certs as key for MIME PKCS envelope, any individual private key can decrypt. | |
# | |
# If standard RSA ssh keys exist, these can be converted to public certs as well (and ssh keys can decrypt) | |
# | |
# To sign (and verify) the encrypted file, one of the private keys is required, see: | |
# http://www.openssl.org/docs/apps/smime.html#EXAMPLES for openssl smime examples | |
# or http://www.openssl.org/docs/apps/cms.html#EXAMPLES for cms utility (OpenSSL v. 1.0+) |
package main | |
import ( | |
"crypto/tls" | |
"golang.org/x/crypto/acme/autocert" | |
"log" | |
"net" | |
"net/http" | |
) |
#!/bin/bash | |
# Simple install script for stock RedHat/CentOS 7.x | |
# Allows yum update to pull security & other fixes automatically from MongoDB.com's repos | |
# (versus ancient packages in Red Hat/Cent repos) | |
# To completely purge all remnants of Mongo (repo conf, rpms, yum cache, DB files, kernel tweaks: | |
# sudo service mongod stop ; sudo rm -rf /etc/yum.repos.d/mongo* ; sudo rm -rf /var/lib/mongo/* ; sudo sed -i.`date +%Y-%m-%d_%H-%M-%S`.bak '/^#.*$/!d' /etc/rc.d/rc.local ; sudo rm -rf /var/cach/yum ; sudo yum -y clean all ; sudo yum -y remove mongodb* | |
# Sanity check - are we on a RH family distro? | |
[ -f "/etc/redhat-release" ] || { echo -e "This script requires RedHat or CentOS. Quitting. \n"; exit 1 ;} |
# syntax=docker/dockerfile:1 | |
FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine3.15 | |
# FROM alpine:3.15 | |
# | |
ENV MDB_CONN_STR="mongodb+srv://user:password@clusterX.XXX.mongodb.net/test?retryWrites=true&w=majority" | |
# | |
RUN apk update | |
RUN apk add git make cmake g++ libbson-static musl-dev libc-dev openssl openssl-dev py3-pip icu-dev bash nano coreutils | |
RUN mkdir -p /code/app | |
WORKDIR /code/app |