Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 | |
sudo apt-get update && sudo apt-get upgrade -y | |
# Dependencies | |
sudo apt-get install -y \ | |
git autoconf automake libtool make libreadline-dev texinfo \ | |
pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \ | |
libc-ares-dev python3-dev libsystemd-dev python-ipaddress python3-sphinx \ | |
install-info build-essential libsystemd-dev libsnmp-dev perl libcap-dev \ |
This file contains hidden or 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 python3 | |
import requests | |
from ripe.atlas.sagan import Result | |
from ripe.atlas.cousteau import Probe | |
source = "https://atlas.ripe.net/api/v2/measurements/23515276/latest/?format=json" | |
response = requests.get(source).json() | |
for result in response: |
This file contains hidden or 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
user@host:~/Atlas$ ./RIPE-Atlas-GeoIP-Blocking.py | |
CN: 1000048: 127.0.0.1: OK | |
CN: 1000050: 127.0.0.1: OK | |
EC: 10032: 1.2.3.4: OK | |
CN: 1008: 127.0.0.1: OK | |
AM: 11623: 1.2.3.4: OK | |
RS: 12835: 1.2.3.4: OK | |
CN: 14584: None: Unknown | |
BA: 14628: 1.2.3.4: OK | |
GB: 14775: 1.2.3.4: OK |
This file contains hidden or 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 | |
sudo add-apt-repository ppa:wireguard/wireguard -y | |
sudo apt-get update && sudo apt-get upgrade -y | |
sudo apt install wireguard -y | |
cd | |
umask 077 | |
wg genkey | tee privatekey | wg pubkey > publickey |
This file contains hidden or 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 | |
cd /tmp | |
wget https://github.com/cloudflare/gortr/releases/download/v0.14.4/gortr_0.14.4_amd64.deb | |
sudo dpkg -i gortr_0.14.4_amd64.deb | |
sudo systemctl enable gortr | |
sudo systemctl start gortr |
OlderNewer