
Untitled
By: a guest on
Jun 21st, 2011 | syntax:
C++ | size: 1.07 KB | hits: 36 | expires: Never
#ifndef __SITE_DATA_H
#define __SITE_DATA_H
#include <string>
#include <stdlib.h>
#include <iostream>
#include <curl/curl.h>
using namespace std;
#define NUM_MD5_SITES 3
#define NUM_SHA1_SITES 4
//#define NUM_MYSQL_SITES 0
//#define NUM_DES_SITES 0
extern bool VERBOSE;
extern bool RANDOMIZE;
/* Class to hold all of the websites, post data, etc.. */
class site_data {
private:
string *sites;
string *post_data;
string *is_found;
string *end_extractor;
int *offset;
int size;
public:
site_data(int, int, string);
const char* get_site(int x) { return(sites[x].c_str()); }
const char* get_post_data(int x) { return(post_data[x].c_str()); }
string get_is_found(int x) { return(is_found[x]); }
string get_end_extractor(int x) { return(end_extractor[x]); }
int get_offset(int x) { return(offset[x]); }
int get_size() { return(size); }
void randomize();
~site_data();
};
#endif