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 -e | |
# | |
# wireguard helper script | |
# | |
IP=/sbin/ip | |
if [ "$IF_WG_CONF" -o "$IF_WG_PRIVATE_KEY" ] | |
then | |
$IP link del $IFACE |
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 | |
# ============================================================== | |
# CPU limit daemon - set PID's max. percentage CPU consumptions | |
# ============================================================== | |
# Variables | |
CPU_LIMIT=3 # Maximum percentage CPU consumption by each PID | |
DAEMON_INTERVAL=3 # Daemon check interval in seconds | |
BLACK_PROCESSES_LIST="sshd" # Limit only processes defined in this variable. If variable is empty (default) all violating processes are limited. | |
WHITE_PROCESSES_LIST= # Limit all processes except processes defined in this variable. If variable is empty (default) all violating processes are limited. |
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
<?php | |
error_reporting(0); | |
####################### | |
# General Config. # | |
####################### | |
$keys_tmp_dir = '/home/freenet/keys-tmp'; | |
$keys_dir_prefix = '/home/freenet/keys'; /* Place to store keys. */ |
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
import sys; reload(sys); sys.setdefaultencoding('utf-8'); del sys.setdefaultencoding | |
from pyblake2 import blake2s | |
GLOBAL_LUCKY = 'j3xyAxdP4vXAecJy' | |
PENALTY_BASE = 1 << 252 | |
results = [] | |
with open('forms.txt') as f: |
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 | |
### BEGIN INIT INFO | |
# Provides: ipv6 | |
# Required-Start: $local_fs $all | |
# Required-Stop: $local_fs $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the ipv6 tunnel | |
# Description: ipv6 tunnel start-stop-daemon |
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
package main | |
import ( | |
"reflect" | |
"net" | |
) | |
func main() { | |
addr, err := net.ResolveTCPAddr("tcp", "119.29.29.29:80") | |
if err != nil { |
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
import requests | |
import gevent | |
from gevent import monkey; monkey.patch_all(); del monkey | |
import random | |
import time | |
concurrent = 8 | |
delay = 0.5 | |
def get_user_agent(): |
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 | |
who am i 1>&2 | |
NSNAME=tox-bootstrapd | |
## ${VETH_PREFIX}0 is outside, and ${VETH_PREFIX}1 is inside. | |
VETH_PREFIX=tox | |
OUT_ADDRS=" | |
A.B.C.125/31 |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"os" | |
"strconv" | |
"strings" | |
"time" |
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
Wiphy phy0 | |
max # scan SSIDs: 4 | |
max scan IEs length: 2257 bytes | |
max # sched scan SSIDs: 0 | |
max # match sets: 0 | |
max # scan plans: 1 | |
max scan plan interval: -1 | |
max scan plan iterations: 0 | |
Retry short limit: 7 | |
Retry long limit: 4 |
NewerOlder