This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
- Domain filtering
- Referrer filtering
- Embed buster
# clone repos | |
git clone https://github.com/kiwiirc/kiwiirc.git ~/kiwiirc/kiwiirc | |
git clone https://github.com/kiwiirc/webircgateway.git ~/kiwiirc/webircgateway | |
git clone https://github.com/kiwiirc/plugin-fileuploader.git ~/kiwiirc/plugin-fileuploader | |
# make destination directories | |
mkdir -p ~/kiwiirc/run/plugins | |
mkdir -p ~/kiwiirc/run/www | |
# setup fileupload as plugin |
This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
103.120.66.35 | |
103.120.66.51 | |
103.227.255.101 | |
103.60.9.27 | |
103.60.9.75 | |
103.62.49.193 | |
103.62.49.195 | |
103.62.49.198 | |
103.62.49.203 | |
103.62.49.205 |
This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
#!/bin/bash | |
# HR Proxy Scraper Script | |
# Rebuilded By Kyxrec0n | |
# Demo video : youtube.com/watch?v=iXCeR_XsP6o | |
# USAGE: ./proxy-scraper.sh <ARGUMENT> <OPTIONS> | |
# ARGUMENTS: | |
# Proxy Checker - Single Proxy Check | |
# -s <IP>:<PORT> | |
# | |
# Proxy Checker - List Scan: |
<?php | |
function getProxy() { | |
$data = json_decode(file_get_contents('http://gimmeproxy.com/api/getProxy'), 1); | |
if(isset($data['error'])) { // there are no proxies left for this user-id and timeout | |
echo $data['error']."\n"; | |
} | |
return isset($data['error']) ? false : $data['curl']; //gimmeproxy returns 'curl' field that is CURLOPT_PROXY-ready string, see curl_setopt($curl, CURLOPT_PROXY, $proxy); | |
} | |
/** |
<?php | |
/** | |
* @param $baseUrl - non protected part of the URL including hostname, e.g. http://example.com | |
* @param $path - protected path to the file, e.g. /downloads/myfile.zip | |
* @param $secret - the shared secret with the nginx server. Keep this info secure!!! | |
* @param $ttl - the number of seconds until this link expires | |
* @param $userIp - ip of the user allowed to download | |
* @return string | |
*/ |
<?php | |
require dirname(__FILE__).'/smtp-validate-email.php'; | |
$from = 'your@emailaddress.com'; | |
if (!$db = new mysqli('localhost', 'username', 'password', 'databasename')) { | |
die('Can\'t connect to the database.'); | |
} else { | |
// after I imported all email addresses into the data I select 25 records for validation | |
$res = $db->query("SELECT ID, email FROM emailaddresses WHERE status = 'valid' ORDER BY RAND() LIMIT 25"); |
"""ssh-copy-id for Windows. | |
Example usage: python ssh-copy-id.py ceilfors@my-remote-machine | |
This script is dependent on msysgit by default as it requires scp and ssh. | |
For convenience you can also try that comes http://bliker.github.io/cmder/. | |
""" | |
import argparse, os | |
from subprocess import call |
#!/usr/bin/env sh | |
# Download lists, unpack and filter, write to stdout | |
curl -s https://www.iblocklist.com/lists.php \ | |
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| xargs wget -O - \ | |
| gunzip \ | |
| egrep -v '^#' |