El rapaz no se encrespa nada you tube, ahora actualizado los plugins y nada creado a partir de los mismos plugins y nada!
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Menú Mostrar Mensajes#include <iostream>
#include <cstring>
#include <string>
#include <vector>
#include "../utils.cpp"
using namespace std;
// use this line to compile
// g++ -I. -fPIC -shared -g -o youtube.com.so youtube.com.cpp
// Regex
// https.*\.youtube\.com.*(\.swf|\.webm|\.avi|\.wmv|\.m4v|\.x-m4v|\.mp4|\.flv|\.on2|\.h264|\.jpg|\.png|\.gif|\.bmp|\.iso|\.rar|\.zip|\.7z|\.exe|\.mp3|\.deb|\.pdf|\.doc|\.cgi|\.gpg|\.bz2|\.diff|\.sql|\.sh|\.tif|\.sas|\.cab|\.kmz|\.msi|\.upd|\.msp|\.swz|\.aup|\.crl|\.psf|\.dsft|\.mar|\.ref)
string get_filename(string url) {
vector<string> resultado;
string retorna = "";
stringexplode(url, "/", &resultado);
retorna = resultado.at(resultado.size()-2) + "-"+resultado.at(resultado.size()-1);
return retorna;
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find("youtube.com/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "youtube.com";
} else {
r.match = false;
}
}
else
{
r.match = false;
}
return r;
}
/ip firewall nat
add action=dst-nat chain=dstnat comment="Redirecionamento Pará Raptor Cache" disabled=yes dst-port=80 hotspot=auth protocol=tcp src-address=!192.168.10.2 to-addresses=192.168.10.2 to-ports=3128
/tool netwatch
add comment=Raptorcache disabled=yes down-script="/ip firewall nat set [find c\
omment=\"Redirecionamento Pará Raptor Cache\"] disabled=yes" host=192.168.10.2 \
interval=2s timeout=2s up-script="/ip firewall nat set [find comment=\"Redirecionamento Pará Raptor Cache\"] disabled=no"