Skip to content

Instantly share code, notes, and snippets.

View service-providers.json
[
{
"id": "keybase",
"description": "Keybase",
"items": [
{
"id": "nym-keybase",
"description": "Nym Keybase Service Provider",
"address": "Entztfv6Uaz2hpYHQJ6JKoaCTpDL5dja18SuQWVJAmmx.Cvhn9rBJw5Ay9wgHcbgCnVg89MPSV5s2muPV2YF1BXYu@Fo4f4SQLdoyoGkFae5TpVhRVoXCF8UiypLVGtGjujVPf",
"gateway": "Fo4f4SQLdoyoGkFae5TpVhRVoXCF8UiypLVGtGjujVPf"
View simple.sh
#!/usr/bin/env bash
if ! command -v ipset &> /dev/null
then
echo "ipset could not be found\nInstall it"
exit
fi
ipset -L blacklist-mixnode >/dev/null 2>&1
if [ $? -ne 0 ]; then
View sockets.sh
#!/usr/bin/env bash
# INSTALL wget https://gist.githubusercontent.com/sven-hash/56e1deb467b9ddb92b128a6772101cb7/raw -O /usr/local/bin/sockets && chmod +x /usr/local/bin/sockets
# RUN sockets <number of lines>, example sockets 15
RED="\e[31m"
GREEN="\e[32m"
ENDCOLOR="\e[0m"
PORTS=(1080 1789 1790 8000 9000)
@sven-hash
sven-hash / allowed.list
Last active Jul 16, 2022
Allowed URL
View allowed.list
nymtech.net
ifconfig.me
iplocation.net
rgbfaq.com
notrustverify.cn
nym.notrustverify.ch
mempool.space
duckduckgo.com
telegram.com
2001:b28:f23d:f001:0:0:0:a
@sven-hash
sven-hash / start.sh
Last active May 15, 2022
Start nym-socks5-client
View start.sh
cd ~/Downloads
# Init the client
./nym-socks5-client init --id network-client --provider 4auj7CMPkzLfM77NcFWFqY2fqbm65gFKLj9wbJRLxQV4.2ju5QkPtiUYUhXRWvsxTjS7kqd5ZVgrVEsM5k9S7DBMK@EBT8jTD8o4tKng2NXrrcrzVhJiBnKpT1bJy5CMeArt2w
# Run the client
./nym-socks5-client run --id network-client
@sven-hash
sven-hash / download.sh
Last active May 11, 2022
Download nym-socks5-client
View download.sh
cd ~/Downloads
# Download the client
wget https://github.com/nymtech/nym/releases/download/nym-binaries-1.0.1/nym-socks5-client
# Set execution permission
chmod +x nym-socks5-client
View Labo_05b_.idea_Labo_05b.iml
<?xml version="1.0" encoding="UTF-8"?>
<module type="CPP_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/CMakeLists.txt" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/Labo_05_Farina_Naimi.cpp" isTestSource="false" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="Header Search Paths">