• Bienvenue à tous sur HackandModz !
  1. Ce site utilise des cookies. En continuant à utiliser ce site, vous acceptez l'utilisation des cookies. En savoir plus.
Rejeter la notice
Visiteur,
Bienvenue sur Hack & Modz

Fake id generator

Discussion dans 'C++' créé par lamento, Avr 28, 2015.

  1. lamento

    lamento Membre actif Elite

    107
    43
    58
    Hors Ligne
    Code:
    #include<random>
    #include<iostream>
    #include<string>
    #include<windows.h>
    #include<vector>
    using namespace std;
    typedef unsigned int uint;
    
    class FakeNameGenerator
    {
    private:
    uint mu_phoneNumber1,
    mu_phoneNumber2,
    mu_phoneNumber3,
    mu_ssn1,
    mu_ssn2,
    mu_ssn3,
    mu_cardExpireDateMonth,
    mu_cardExpireDateYear,
    mu_cardCvc2Number,
    mu_masterCardNumber1,
    mu_masterCardNumber2,
    mu_masterCardNumber3,
    mu_masterCardNumber4,
    mu_bdayDay,
    mu_bdayYear,
    mu_weight,
    mu_currentAge,
    mu_height;
    
    // Pretend all vectors are databases... aint nobody got time for that lol =P
    // All have 3 elements
    vector<string> mvs_vehicles,
    mvs_namesForUser,
    mvs_familyNames,
    mvs_companies,
    mvs_favoriteColor,
    mvs_websites,
    mvs_occupations,
    mvs_emailAddresses;
    // Id's for randomly selecting the elements in the vectors
    uint mu_idVeh,
    mu_idUsernames,
    mu_idFamilyNames,
    mu_idComp,
    mu_idColor,
    mu_idSites,
    mu_idMonths,
    mu_idJob,
    mu_idBloodType,
    mu_idEmail;
    vector<string> mvs_months;
    // 8 blood types
    vector<string> mvs_bloodTypes;
    random_device getRandomNum;
    public:
    FakeNameGenerator()
    {
    mvs_vehicles = { "Acura", "Chevy", "Buick" };
    mvs_namesForUser = { "Qqwerty", "banHam", "F_zGerald" };
    mvs_familyNames = { "Hornworth", "Neal", "Johnson" };
    mvs_companies = { "Apple", "Microsoft", "Ubisoft" };
    mvs_favoriteColor = { "Red", "Green", "Blue" };
    mvs_websites = { "Twitch", "Google", "Yahoo" };
    mvs_occupations = { "Nurse", "Programmer", "Police Officer" };
    mvs_emailAddresses = { "haters@gmail.com", "gonna@yahoo.com", "hate@hotmail.com" };
    mvs_months = { "Jan", "Feb", "Mar", "Apr", "May", "June", "July", "Aug", "Sept", "Oct", "Nov", "Dec" };
    mvs_bloodTypes = { "O+", "O-", "A+", "A-", "B+", "B-", "AB+", "AB-" };
    }
    
    void printAllInfo()
    {
    // Set ranges for all information
    static mt19937 setSeed(getRandomNum());
    static uniform_int_distribution<> setRange_phone1(100, 999),
    setRange_phone2(100, 999),
    setRange_phone3(1000, 9999),
    setRange_ssn1(100, 999),
    setRange_ssn2(10, 99),
    setRange_ssn3(1000, 9999),
    setRange_experDateM(1, 12),
    setRange_experDateY(2015, 2025),
    setRange_cvc(100, 999),
    setRange_mstrCard1(1000, 9999),
    setRange_mstrCard2(1000, 9999),
    setRange_mstrCard3(1000, 9999),
    setRange_mstrCard4(1000, 9999),
    setRange_bdayD(1, 30),
    setRange_bdayM(1, 12),
    setRange_bdayY(1975, 2014),
    setRange_weight(134, 332),
    setRange_height(4, 6),
    setRange_Veh(0, 2),
    setRange_userNames(0, 2),
    setRange_Mother(0, 2),
    setRange_company(0, 2),
    setRange_color(0, 2),
    setRange_sites(0, 2),
    setRange_jobs(0, 2),
    setRange_months(0, 11),
    setRange_blood(0, 7),
    setRange_mail(0, 2);
    
    // Initialize the values according to range
    mu_phoneNumber1 = setRange_phone1(setSeed);
    mu_phoneNumber2 = setRange_phone2(setSeed);
    mu_phoneNumber3 = setRange_phone3(setSeed);
    mu_ssn1 = setRange_ssn1(setSeed);
    mu_ssn2 = setRange_ssn2(setSeed);
    mu_ssn3 = setRange_ssn3(setSeed);
    mu_cardExpireDateMonth = setRange_experDateM(setSeed);
    mu_cardExpireDateYear = setRange_experDateY(setSeed);
    mu_cardCvc2Number = setRange_cvc(setSeed);
    mu_masterCardNumber1 = setRange_mstrCard1(setSeed);
    mu_masterCardNumber2 = setRange_mstrCard2(setSeed);
    mu_masterCardNumber3 = setRange_mstrCard3(setSeed);
    mu_masterCardNumber4 = setRange_mstrCard4(setSeed);
    mu_bdayDay = setRange_bdayD(setSeed);
    mu_bdayYear = setRange_bdayY(setSeed);
    mu_weight = setRange_weight(setSeed);
    mu_height = setRange_height(setSeed);
    mu_idUsernames = setRange_userNames(setSeed);
    mu_idVeh = setRange_Veh(setSeed);
    mu_idUsernames = setRange_userNames(setSeed);
    mu_idFamilyNames = setRange_Mother(setSeed);
    mu_idComp = setRange_company(setSeed);
    mu_idColor = setRange_color(setSeed);
    mu_idSites = setRange_sites(setSeed);
    mu_idJob = setRange_jobs(setSeed);
    mu_idEmail = setRange_mail(setSeed);
    mu_idBloodType = setRange_blood(setSeed);
    mu_idMonths = setRange_months(setSeed);
    
    cout << "Phone: " << mu_phoneNumber1 << "-" << mu_phoneNumber2 << "-" << mu_phoneNumber3 << endl;
    cout << "SSN: " << mu_ssn1 << "-" << mu_ssn2 << "-" << mu_ssn3 << endl;
    cout << "Username: " << mvs_namesForUser[mu_idUsernames] << endl;
    cout << "Family Name: " << mvs_familyNames[mu_idFamilyNames] << endl;
    cout << "Birthday: " << mvs_months[mu_idMonths] << " " << mu_bdayDay << ", " << mu_bdayYear;
    mu_currentAge = 2014 - mu_bdayYear;
    cout << " (" << mu_currentAge << " years old)" << endl;
    cout << "Master Card: " << mu_masterCardNumber1 << " " << mu_masterCardNumber2 << " " << mu_masterCardNumber3 << " " << mu_masterCardNumber4 << endl;
    cout << "Expires: " << mu_cardExpireDateMonth << '/' << mu_cardExpireDateYear <<endl;
    cout << "CVC2: " << mu_cardCvc2Number << endl;
    cout << "SSN #: " << mu_ssn1 << "-" << mu_ssn2 << "-" << mu_ssn3 << endl;
    cout << "Favorite Color: " << mvs_favoriteColor[mu_idColor] << endl;
    cout << "Occupation: " << mvs_occupations[mu_idJob] << endl;
    cout << "Company: " << mvs_companies[mu_idComp] << endl;
    cout << "Website: " << mvs_websites[mu_idSites] << endl;
    cout << "Vehicle: " << mvs_vehicles[mu_idVeh] << endl;
    cout << "Blood Type: " << mvs_bloodTypes[mu_idBloodType] << endl;
    cout << "Weight: " << mu_weight << " lbs" << endl;
    cout << "Height: " << mu_height << " ft" << endl << endl;
    }
    };
    
    int main()
    {
    FakeNameGenerator gen;
    cout << "Press [SPACE] to generate a fake ID.." << endl;
    cout << "Press [BACKSPACE] to clear your screen.." << endl << endl;
    Sleep(2000);
    
    while ( true )
    {
    if ( GetAsyncKeyState(VK_SPACE) )
    {
    gen.printAllInfo();
    Sleep(200); // here because if space is held down or simply tapped, it will print the id's too fast
    }
    if ( GetAsyncKeyState(VK_BACK) )
    system("CLS");
    }
    }
     
  2. Google AdSense Publicités Publicités

  • MrCrugZz

    MrCrugZz Membre

    5
    1
    33
    Hors Ligne
    Quand je veux le lancé il me dit que le projet est obsolete
     
  • Skez

    Skez Membre

    22
    0
    31
    Hors Ligne