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
| 2a10:cc40:cc40::/44 | IL | IL-TA | Petah Tiqwa | ||
|---|---|---|---|---|---|
| 2a0b:4e00::/29 | CH | CH-ZH | Zurich | ||
| 2a10:2f01:21a::/48 | IL | IL-TA | Petah Tiqwa |
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 | |
| if [ ! -f "/dev/shm/node-ip" ]; then | |
| curl -s4 checkip.amazonaws.com > /dev/shm/node-ip | |
| echo "*********** IP renewed *************" | |
| fi | |
| nn_ipaddress=$(cat /dev/shm/node-ip) | |
| echo $nn_ipaddress |
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
| # Cloudflare Dynamic DNS update script | |
| # Required policy: read, write, test, policy | |
| # Add this script to scheduler | |
| # Install DigiCert root CA or disable check-certificate | |
| # Configuration --------------------------------------------------------------------- | |
| :local TOKEN "__TOKEN__" | |
| :local ZONEIDv6 "__ZONEID__" | |
| :local RECORDIDv6 "__RECORDID__" |
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 | |
| source pubkey.txt | |
| args=("$@") | |
| seed_ip='78.47.196.146' | |
| komodo_binary='./komodod' | |
| delay=2 | |
| function komodo_asset () | |
| { | |
| if [ $[RANDOM % 10] == 1 ] |
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 /mnt/heartbeat | |
| /usr/bin/docker exec heartbeat komodo-cli getinfo > www/heartbeat.json | |
| bid=$(cat www/heartbeat.json | jq '.blocks') | |
| notarized=$(cat www/heartbeat.json | jq '.notarized') | |
| nhash=$(cat www/heartbeat.json | jq '.notarizedhash' | sed -e 's/"//g') | |
| txid=$(cat www/heartbeat.json | jq '.notarizedtxid' | sed -e 's/"//g') |
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
| <?php | |
| header("Content-Type: text/plain"); | |
| // Comment the following line if you're not under cloudflare | |
| echo @$_SERVER["HTTP_CF_CONNECTING_IP"] ? $_SERVER["HTTP_CF_CONNECTING_IP"] : $_SERVER["REMOTE_ADDR"]; | |
| // Uncomment the following line if you're not under cloudflare | |
| // echo $_SERVER["REMOTE_ADDR"]; |
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
| myip=`curl -s4 checkip.amazonaws.com` | |
| sleep 4 | |
| curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"SuperNET\",\"method\":\"myipaddr\",\"ipaddr\":\"$myip\"}" | |
| tests/addnotarys_7776 | |
| ./btc_7776 | |
| ./kmd_7776 | |
| #curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"$myip\"}" | |
| ./dpow_7776 | |
| sleep 3 | |
| ./wp_7776 |
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 | |
| # 1 | |
| wget -qO root.zone http://www.internic.net/domain/root.zone | |
| # 2 | |
| cat root.zone | grep "IN\sNS" | awk '{print $1}' | uniq | sort | sed -r 's/\.//g' | sed '/^$/d' > zone.list 2> /dev/null | |
| # 3 |
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
| <?php | |
| if ($_REQUEST["sender"] == "+7921*******" AND $_REQUEST["pass"] == "****") { | |
| // You're free to do any actions - post to twitter, send another SMS or just write to file | |
| // As I do for displaying this on my homepage | |
| $fp = fopen("/home/kolo/****/****.txt","w"); | |
| fwrite($fp, stripslashes($_REQUEST["text"])); | |
| fclose($fp); | |
| mail("kolo@****", "SMS Alarm @ +7926****", var_export($_REQUEST, true)); // Good for debugging | |
| } | |
| ?> |
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
| <?php | |
| $do = preg_match("/^[a-z0-9-.]+$/iD", $_GET["host"]); | |
| if ($do) { | |
| $host = escapeshellcmd($_GET["host"]); | |
| passthru("`which traceroute` -m15 -w3 ".$host." 2>&1"); | |
| } else { | |
| echo "Invalid input."; | |
| } | |
| ?> |
NewerOlder