Buenas amigos necesito de su ayuda, necesito abrir los puertos UDP/TCP ports "32400" en como seria para agregarlo al nat del mikrotik.. saludos..
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 <vector>
#include "../utils.cpp"
// g++ -I. -fPIC -shared -g -o elperiodicodemonagas.com.ve.so elperiodicodemonagas.com.ve.cpp
// regex
// http.*\.elperiodicodemonagas\.com\.ve.*(\.swf|\.jpg|\.png|\.gif)
string get_filename(string url) {
vector<string> resultado;
if (url.find("?") != string::npos) {
stringexplode(url, "?", &resultado);
stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
return resultado.at(resultado.size()-1);
} else {
stringexplode(url, "/", &resultado);
return resultado.at(resultado.size()-1);
}
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find(".elperiodicodemonagas.com.ve/") != string::npos) and
( (url.find(".png") != string::npos) or
(url.find(".jpg") != string::npos) or
(url.find(".gif") != string::npos) )
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "elperiodicodemonagas_imagenes";
} else {
r.match = false;
}
} else {
r.match = false;
}
return r;
}
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"
// use this line to compile
// g++ -I. -fPIC -shared -g -o teamviewer.com.so teamviewer.com.cpp
// regex
// http.*\.teamviewer\.com.*(\.jpg|\.png|\.gif|\.exe|\.rar)
string get_filename(string url) {
vector<string> resultado;
if (url.find("?") != string::npos) {
stringexplode(url, "?", &resultado);
stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);
} else {
stringexplode(url, "/", &resultado);
return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);
}
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find(".teamviewer.com/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "teamviewer.com";
} else {
r.match = false;
}
} else {
r.match = false;
}
return r;
}
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"
// g++ -I. -fPIC -shared -g -o banesco.com.so banesco.com.cpp
// regex
// http.*\.banesco\.com.*(\.png|\.jpg|\.gif|\.swf)
string get_filename(string url) {
vector<string> resultado;
if (url.find("?") != string::npos) {
stringexplode(url, "?", &resultado);
stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
return resultado.at(resultado.size()-1);
} else {
stringexplode(url, "/", &resultado);
return resultado.at(resultado.size()-1);
}
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find(".banesco.com/") != string::npos) and
( (url.find(".png") != string::npos) or
(url.find(".jpg") == string::npos) or
(url.find(".gif") == string::npos) )
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "banesco_imagenes";
} else {
r.match = false;
}
} else {
r.match = false;
}
return r;
}
http://www.cadivi.gob.ve/
http://www.seniat.gob.ve/
http://www.inces.gob.ve/
#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 laverdaddemonagas.com.so laverdaddemonagas.com.cpp
// Regex
// http.*\.laverdaddemonagas\.com.*(\.swf|\.jpg|\.png|\.gif)
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("laverdaddemonagas.com/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "laverdaddemonagas";
} else {
r.match = false;
}
}
else
{
r.match = false;
}
return r;
}
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"
// use this line to compile
// g++ -I. -fPIC -shared -g -o mlb.com.so mlb.com.cpp
// regex
// http.*\.mlb\.com.*(\.mp4| \.swf|\.jpg|\.png)
string get_filename(string url) {
vector<string> resultado;
if (url.find("?") != string::npos) {
stringexplode(url, "?", &resultado);
stringexplode(resultado.a t(resultado.size()-2), "/", &resultado);
return resultado.at(resultado.si ze()-1);
} else {
stringexplode(url, "/", &resultado);
return resultado.at(resultado.si ze()-1);
}
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find(".mlb.com/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "mlb";
} else {
r.match = false;
}
} else {
r.match = false;
}
return r;
}
nameserver 192.168.10.1
nameserver 8.8.8.8
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"
// use this line to compile
// g++ -I. -fPIC -shared -g -o movilnet.com.ve.so movilnet.com.ve.cpp
// regex
// http.*\.movilnet\.com\.ve.*(\.jpg|\.swf)
string get_filename(string url) {
vector<string> resultado;
if (url.find("?") != string::npos) {
stringexplode(url, "?", &resultado);
stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
return resultado.at(resultado.size()-1);
} else {
stringexplode(url, "/", &resultado);
return resultado.at(resultado.size()-1);
}
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find(".movilnet.com. ve/") != string::npos) and ((url.find(".jpg") != string::npos) or (url.find(".swf") != string::npos))
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "movilnet";
} else {
r.match = false;
}
} else {
r.match = false;
}
return r;
}