Cita de: 07350286 en Diciembre 27, 2013, 11:13:58 PM
¿Son Plugins de Raptorcache?
Si son plugins de Raptorcache.
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 MensajesCita de: 07350286 en Diciembre 27, 2013, 11:13:58 PM
¿Son Plugins de Raptorcache?
#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 rionegro.gov.ar.so rionegro.gov.ar.cpp
// Regex
// http.*\.rionegro\.gov\.ar.*(\.swf|\.jpg|\.png|\.gif|\.pdf|\.exe)
string dominiotxt="Rionegro.gov.ar";
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("rionegro.gov.ar/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = dominiotxt;
} else {
r.match = false;
}
}
else
{
r.match = false;
}
return r;
}
#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 laprensademonagas.info.so laprensademonagas.info.cpp
// Regex
// http.*\.laprensademonagas\.info.*(\.swf|\.jpg|\.png|\.gif|\.flv)
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("laprensademonagas.info/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "Laprensademonagas";
} else {
r.match = false;
}
}
else
{
r.match = false;
}
return r;
}
#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 jdownloader.org.so jdownloader.org.cpp
// Regex
// http.*\.jdownloader\.org.*(\.swf|\.jpg|\.png|\.gif|\.flv|\.class)
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("jdownloader.org/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "jdownloader.org";
} else {
r.match = false;
}
}
else
{
r.match = false;
}
return r;
}
#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 sourceforge.net.so sourceforge.net.cpp
// Regex
// http.*\.sourceforge\.net.*(\.swf|\.jpg|\.png|\.gif|\.flv|\.exe|\.zip|\.rar|\.iso)
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("sourceforge.net/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "Sourceforge";
} else {
r.match = false;
}
}
else
{
r.match = false;
}
return r;
}
#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 gamib.com.so gamib.com.cpp
// Regex
// http.*\.gamib\.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("gamib.com/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "gamib.com";
} else {
r.match = false;
}
}
else
{
r.match = false;
}
return r;
}
#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 superantispyware.com.so superantispyware.com.cpp
// Regex
// http.*\.superantispyware\.com.*(\.swf|\.jpg|\.png|\.gif|\.sas|\.exe)
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("superantispyware.com/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "Superantispyware";
} else {
r.match = false;
}
}
else
{
r.match = false;
}
return r;
}