Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<string>
- /*
- S1O Pro.
- ._____________. ______. .___________.
- | | / | | ._______. |
- | .________| / | | | | |
- | |________. /_ /| | | | | |
- | | | | | | | |
- |________. | | | | | | |
- .________| | | | | | | |
- | | .___| |___. | |_______| |
- |_____________| |____________| |___________|
- */
- using namespace std;
- float Version = 1.52;
- string PasswordLetters;
- string KeyR;
- string PersonName;
- int timesused = 0;
- int MCODE = 0 ;
- void wait(int seconds)
- {
- time_t start, current;
- time(&start);
- do
- {
- time(¤t);
- }
- while ((current - start) < seconds);
- }
- int SetUpSet(string pass, string k)
- {
- if ((pass == PasswordLetters))
- {
- if (k == KeyR)
- {
- return true;
- };
- }else return false;
- };
- int EditK(string pass, string k, string Name)
- {
- PasswordLetters = pass;
- KeyR = k;
- PersonName = Name;
- cout << "\n \n Password/Key/Name have been saved." << endl;
- //cout << "\n \nKey: " << Key << "\n Pass: " << PasswordLetters << endl;
- };
- int MCconver(string mc)
- {
- int convert = stoi(mc);
- int z = 0;
- if(convert%3 != 0){
- z = convert%3;
- if ((convert*z+z*z++*z--^7) == MCODE){
- return true;
- };
- }else{
- return false;
- };
- };
- string CreateMC(string ps2)
- {
- /*int val1 = (rand()%10);
- int val2 = (rand()%10);
- int val3 = (rand()%10);
- int val4 = (ps2.length());
- int val5 = (rand()%2001);
- int val6 = (val1^2+val2);
- int val7 = (val2^2+val3);
- int val8 = (rand()%10);
- int krse = (rand()%30303);
- string valI = to_string(val1);
- string valII = to_string(val2);
- string valIII = to_string(val3);
- string valIV = to_string(val4);
- string valV = to_string(val5);
- string valVI = to_string(val6);
- string valVII = to_string(val7);
- string valVIII = to_string(val8);
- string kles = to_string(krse);*/
- bool trfs = true;
- int y = 0;
- int z = 0;
- for (int k = 0; k < 15;k++){
- cout << "\n[Generating MCode]\n";
- wait(0.5);
- int x = rand()%100;
- int r = rand()%50;
- int g = rand()%999;
- string vx = to_string(x);
- string vr = to_string(r);
- string vg = to_string(g);
- string vs = vx+vr+vg;
- int rt = stoi(vs);
- int i = rt;
- if (i%2 == 0){
- rt = i++;
- trfs = false;
- }else{
- if(1%3 == 0){
- trfs = false;
- }else{
- z = (i%3);
- y = rt;
- break;
- };
- };
- };
- if (trfs == false){
- cout << "\n [Error]: Please try again.\n";
- trfs = true;
- };
- string valI = to_string(y);
- string crs = valI;//+valII+valIII+valIV+valV+valVI+valVII+valVIII+kles;
- //int vals = stoi(crs);
- //cout <<"\n MC: " << y << "*" << z << "+" << z << "*" << z++;
- MCODE = (y*z+z*z++*z--^7);
- return crs;
- }
- string CreateKY(string ps2)
- {
- //KEYCREATER
- int val1 = (rand()%10);
- int val2 = (rand()%10);
- int val3 = (rand()%10);
- int val4 = (ps2.length());
- int val5 = (rand()%200);
- int val6 = (val1^2+val2);
- int val7 = (val2^2+val3);
- int val8 = (val3^2+val4);
- string valI = to_string(val1);
- string valII = to_string(val2);
- string valIII = to_string(val3);
- string valIV = to_string(val4);
- string valV = to_string(val5);
- string valVI = to_string(val6);
- string valVII = to_string(val7);
- string valVIII = to_string(val8);
- string crs = valI+valII+valIII+valIV+valV+valVI+valVII+valVIII+"0x-"+ps2;
- return crs;
- };
- int kmpcheck(string check)
- {
- if(check == PasswordLetters){
- return true;
- }else if(check == KeyR){
- return true;
- }else if(MCconver(check) == true){
- return true;
- }else return false;;
- };
- //------------------------------------------------------------------------------
- string cmd = "[!gcmd]: Commands\n[!ghelp]: Use if hacked\n[!gname]: New Name\n[!gpass]: New Password(MustProvide SCode/MCode)\n[!gkey]: New Key\n[!ginfo]: Information\n[!menu]: Everything else\n";
- int mainmenu(string pw, string key, string name)
- {
- string userimpute;
- bool MCodeEnabled = false;
- cout << "\n \n Menu: \n";
- cout << "\n [Type in '!gcmd' for commands]\n";;
- cout << "\n [Type in '!gname' for a new name]\n";
- cout << "\n [Type in '!gpass' for a new password(Must provide Pass or SCode(Key)+MCode)]\n";
- cout << "\n [Type in '!gkey' for a new key(Must provide password)]\n";
- cout << "\n [Type in '!gmc' for a MCode]\n";
- cout << "\n [Type in '!ginfo' for information]\n";
- cout << "\n [Type in '!menu' for menu]\n";
- cout << "\n [Type in '!lhax' for hacker list]\n";
- cout << "\n [Type in '!haxg' for minigame]\n";
- cout << "\n [Type in '!term' for terminating your accout]\n";
- cout << "\n [Type in '!ghelp' if hacked]\n";
- cout << "\n [Type in '!add' for menu for adding iteams]\n";
- cout << "\n [We do not store the MCode's so it's recommended to keep it in a safe place]\n";
- while(true){
- cin >> userimpute;
- if(userimpute == "!gcmd"){
- cout << "\n \nCMDs:\n "+cmd;
- }else if(userimpute == "!gname"){
- cout << "Enter a new name: ";
- cin >> userimpute;
- name = userimpute;
- EditK(pw,key,name);
- cout << "\n You new name is now: "+userimpute+" [Changed]" << endl;
- }else if(userimpute == "!gpass"){
- cout << "\nEnter your current password/Key/MCode: ";
- cin >> userimpute;
- if (kmpcheck(userimpute) == true){
- cout << "\nEnter a new password: ";
- cin >> userimpute;
- string pw2 = userimpute;
- cout << "\nRe-enter your new password: ";
- cin >> userimpute;
- if (userimpute == pw2){
- pw = userimpute;
- EditK(pw,key,name);
- cout << "[Changed]";
- }else cout << "Wrong password!";;
- };
- }else if(userimpute == "!gkey"){
- cout << "\nEnter Password/Key/MCode: ";
- cin >> userimpute;
- if(kmpcheck(userimpute) == true){
- string kr3 = CreateKY(name);
- string oldkey = key;
- key = kr3;
- cout << "\nYour new key is: " << kr3;
- cout << "\n Enter Key: ";
- cin >> userimpute;
- if(userimpute == key){
- cout << "\n[Approved]\n[Changed]";
- EditK(pw,key,name);
- }else {key = oldkey; cout << "\n[Error]";EditK(pw,key,name);};
- }else cout << "\n[Inncorrect] Password/Key/MCode";;
- }else if(userimpute == "!ginfo")
- {
- cout << "\nPlease enter: (Name(first))+Password/Key/MCode\n";
- cin >> userimpute;
- if(userimpute == name){
- cout << "\n Please enter: Name+(Password/Key/MCode)\n";
- cin >> userimpute;
- if(kmpcheck(userimpute) == true){
- cout << "\nSystem Version:[" << Version << "]";
- cout << "\n Name: " <<name;
- cout << "\n Password: " << pw;
- cout << "\n Key: " << key;
- cout << "\n MC Value: " << MCODE;
- cout << "\n [SYSTEM]";
- cout << "\n [Creator]: Samuel M.G.P(S1O Pro)";
- cout << "\n [Exit] = 0\n";
- };
- };
- }else if(userimpute == "!gmc"){
- cout << "\nEnter Password/Key/MCode: ";
- cin >> userimpute;
- if(kmpcheck(userimpute) == true)
- if(timesused < 1){
- cout << "\nGenerating code...\n";
- string code = CreateMC(pw);
- cout << "\n Your MCode is: "+code;
- cout << "\n Enter your MCode: \n";
- cin >> userimpute;
- if(MCconver(userimpute) == true){
- cout << "\n[Set]\n";
- }else {
- cout << "[Error]";
- MCODE = 0;
- };
- };
- };
- };
- };
- //------------------------------------------------------------------------------
- int main()
- {
- /*string myUser;
- string myPass;*/
- string MyName;
- string MyPass;
- string MyPass2;
- string YN;
- string Text;
- string Key;
- string EnterCode;
- int PasswordCODE;
- cout << "This is a password simulator.\n";
- cout << "Enter a username:\n";
- cin >> MyName;
- cout << "Are you sure you want your username to be: " << MyName << " (y/n) " << endl;
- cin >> YN;
- while(YN != "y")
- {
- cout << "Enter a username:\n";
- cin >> MyName;
- cout << "\n Are you sure you want your username to be: " << MyName << " (y/n) " << endl;
- cin >> YN;
- };
- YN = "";
- cout << "Now enter a password:\n";
- cin >> MyPass;
- cout << "Enter it once more:\n";
- cin >> MyPass2;
- while(MyPass2 != MyPass)
- {
- cout << "Now enter a password:\n";
- cin >> MyPass;
- cout << "Enter it once more:\n";
- cin >> MyPass2;
- }
- string Hold;
- string * PT;
- PT = &MyPass;
- Hold = *PT;
- PT = &Hold;
- cout << "\nPT: " << *PT << endl;
- cout << "\n PS: " << MyPass << " /Len: " << MyPass.length() << endl;
- int set3;
- //cout << set3 << endl;
- for (int i = 1; i < 5; i++){
- int set = (rand()%(MyPass.length()));
- int set2 = ((set+rand()%23)*(set+rand()%10)*(MyPass.length()));
- cout << "set \n" << set <<"\n set2\n" << set2 << endl;
- int set4 = ((set2*5+6*10+20+40*rand()%11^2/rand()%9*2*rand()%11+rand()%40023*rand()%11*rand())*rand()^rand()%4);
- cout << "\nS4\n" << set4 << endl;
- //set3 = 0;
- set3 = (-1)*(set4*(MyPass.length())^2*rand()+2^9*rand()%2/(set+1));
- };
- cout << "\nS3: " << set3 << endl;
- int * Pointer;
- Pointer = &set3;
- PasswordCODE = set3;
- cout << "\nPSC: " << PasswordCODE << endl;
- string Code = to_string (PasswordCODE);
- Code = Code+"0x-"+MyPass;
- cout << "Based on your password this is the sec code we will make you use: "+Code;
- cout << "\n Enter your SECcode: ";
- cin >> EnterCode;
- while(EnterCode != Code)
- {
- cout << "\n Enter your SECcode: ";
- cin >> EnterCode;
- };
- EditK(MyPass, Code, MyName);
- MyPass = "";
- MyPass2 = "";
- Code = "";
- cout << "\n Do you wish to enter MX? ( y/n )";
- cin >> YN;
- while(YN != "y")
- {
- cout << "( y/n ) \n";
- cin >> YN;
- };
- YN = "";
- cout << "\n Login to enter: \n";
- cout << "Username: ";
- cin >> Text;
- while(Text != MyName)
- {
- cout << "Inncorrect username! \n";
- cout << "Username: ";
- cin >> Text;
- };
- Text = "";
- cout << "\n Enter your Password: ";
- cin >> MyPass;
- cout << "\n Enter Key: ";
- cin >> Key;
- while(SetUpSet(MyPass, Key) != true)
- {
- cout << "\n Inncorrect password/key! \n";
- cout << "Password: ";
- cin >> MyPass;
- cout << "\n Enter Key: ";
- cin >> Key;
- };
- cout << "\nWillFINDKEYS";
- Key = "";
- MyPass = "";
- string Key2 = "0";
- cout << "\nFound KEY!\n";
- cout << "Finding Pass\n";
- string * p;
- p = &Hold;
- string FoundKy;
- FoundKy = to_string(*Pointer);
- string ky = FoundKy+"0x-"+*p;
- cout << "Key: " << ky;
- cout << "\nPass: " << *p << " / " << Hold << " :PT: " << *PT;
- cout << "\nChanging KEY/Password" << endl;
- while(SetUpSet(MyPass, Key) != true)
- {
- cout << "\n Inncorrect password/key! \n";
- cout << "Password: ";
- MyPass = *p;
- cout << "***********/" << *p;
- cout << "\n Enter Key: ";
- Key = ky;
- cout << "000000000000*XRESE/" << ky;
- };
- EditK(*p+"rX3", ky+"03hx012", MyName);
- string newp = *p+"rX3";
- string newky = ky+"03hx012";
- for(int i = 0;SetUpSet(MyPass, Key)!= true; i++)
- {
- if(i > 4) {cout << "\n You entered the incorrect password/key too many times.\n";break;};
- cout << "\n Inncorrect password/key! ATTEMPTS:[ " << i << " ]\n";
- cout << "Password: ";
- cin >> MyPass;
- cout << "\n Enter Key: ";
- cin >> Key;
- if(Key == "!ghelp")
- {
- //Bypass SetCode
- printf("Exploit Bypass System Active");
- cout << "\nSet a new password: ";
- cin >> MyPass;
- cout << "\nSetting a new key....";
- for (int f = 1; f < 5; f++){
- int set = (rand()%(MyPass.length()));
- int set2 = ((set+rand()%23)*(set+rand()%10)*(MyPass.length()));
- cout << "set \n" << set <<"\n set2\n" << set2 << endl;
- int set4 = ((set2*5+6*10+20+40*rand()%11^2/rand()%9*2*rand()%11+rand()%40023*rand()%11*rand())*rand()^rand()%4);
- cout << "\nS4\n" << set4 << endl;
- set3 = (-1)*(set4*(MyPass.length())^2*rand()+2^9*rand()%2/(set+1))*f;
- };
- PasswordCODE = set3;
- Code = to_string(PasswordCODE)+"0x-"+MyPass;
- cout<< "\n New Key: " << Code << endl;
- EditK(MyPass, Code, MyName);
- //Code = "";
- //MyPass = "";
- };
- if(SetUpSet(MyPass, Key) == true){
- mainmenu(MyPass, Code, MyName);
- Code = "";
- MyPass = "";
- };
- };
- return 0;
- }
- //--------------------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement