This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NUM_CLIENT=500 | |
START_PORT=1080 | |
CURL_ENABLED=false | |
WAIT_TIME=10000000 | |
SP=(GiRjFWrMxt58pEMuusm4yT3RxoMD1MMPrR9M2N4VWRJP.3CNZBPq4vg7v7qozjGjdPMXcvDmkbWPCgbGCjQVw9n6Z@2xU4CBE6QiiYt6EyBXSALwxkNvM7gqJfjHXaMkjiFmYW 3zzhLtWvaJgn755MkRckG5aRnoTZich8ASn395iSsTgj.J1R5VuxXbh2eNHiaRbrwbKGXrrEQcHKLdzf8eg9HTB6q@3B7PsbXFuqq6rerYFLw5HPbQb4UmBqAhfWURRovMmWoj 4PDb96cck5btTj6G7rsomqwHJsp4qu8uPvFCbwHfjFUx.C5dKbaoakH7egsZvAueRbwLFbmxnQaVMeSr6QTMpuBAA@58ceEFaLJh6zAo3cirzT1BDQm7D3L5acnQrxGH1D6TAY C4w6ewbQtoaZEeoaaNw1xVASChqo4WVjNfuYEUFjZxpc.8F1D7rQXf2jGoj1Ken7PiGDM8HS2Ug79wSoc9nZ1iqh1@62F81C9GrHDRja9WCqozemRFSzFPMecY85MbGwn6efve G7y7e1nVBr8fmQSzdeAxXnCmmmJb5k8N3E8LBV31KE5g.GRRUCj6t6cCUUjakmTWzidMLiYA7EdCedKnup8osaBC6@AJad2R9virYEYXEsTcicN5y5tyPoixrhhAGsxoESZVnc) | |
SP_LEN=${#SP[@]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FindProxyForURL(url, host) { | |
// use proxy for these hosts | |
if (shExpMatch(host, "metamask.io|infura.io|pokt.network|arbitrum.io|polygon-rpc.com|pastenym.ch")) | |
return "SOCKS5 proxy.notrustverify.ch:443"; | |
// by default use no proxy | |
return "DIRECT"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "keybase", | |
"description": "Keybase", | |
"items": [ | |
{ | |
"id": "nym-keybase", | |
"description": "Nym Keybase Service Provider", | |
"address": "Entztfv6Uaz2hpYHQJ6JKoaCTpDL5dja18SuQWVJAmmx.Cvhn9rBJw5Ay9wgHcbgCnVg89MPSV5s2muPV2YF1BXYu@Fo4f4SQLdoyoGkFae5TpVhRVoXCF8UiypLVGtGjujVPf", | |
"gateway": "Fo4f4SQLdoyoGkFae5TpVhRVoXCF8UiypLVGtGjujVPf" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> |