Password Protected Cheat

Posts 115 of 15 · Page 1 of 1
Password Protected Cheat
Hello guys & girls!

I Want to make my cheats password protected, because i gave them to friend and he needs password protect because he's brother is using same computer and if he finds cheat he will use it, so i need make them password protected..

So what i need is, Make program start with right password & username and i cant code it myself any help?

I Can code the normal Login with password
:code:
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <cstring>
using namespace std;
int main(){
string username;
string password;
cout << "Username: ";
cin >> username;
cout << "Password: ";
cin >> password;
system("cls");
if(username=="manta"){
if(password=="hotd00g"){
cout << "Access valid.";
cout << "\n\n";
system("pause");
return 0;
}
else{
cout << "Access denied.\n";
cout << "Wrong password.\n\n";
system("pause");
return 0;
}
}
else{
if(password=="hotd00g"){
cout << "Access denied.\n";
cout << "Wrong username.\n\n";
system("pause");
return 0;
}
else{
cout << "Access denied.\n";
cout << "Wrong username and password.\n\n";
system("pause");
return 0;
}
}
}
:code:
Quote Originally Posted by Linde69 View Post
Hello guys & girls!

I Want to make my cheats password protected, because i gave them to friend and he needs password protect because he's brother is using same computer and if he finds cheat he will use it, so i need make them password protected..

So what i need is, Make program start with right password & username and i cant code it myself any help?

I Can code the normal Login with password
:code:
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <cstring>
using namespace std;
int main(){
string username;
string password;
cout << "Username: ";
cin >> username;
cout << "Password: ";
cin >> password;
system("cls");
if(username=="manta"){
if(password=="hotd00g"){
cout << "Access valid.";
cout << "\n\n";
system("pause");
return 0;
}
else{
cout << "Access denied.\n";
cout << "Wrong password.\n\n";
system("pause");
return 0;
}
}
else{
if(password=="hotd00g"){
cout << "Access denied.\n";
cout << "Wrong username.\n\n";
system("pause");
return 0;
}
else{
cout << "Access denied.\n";
cout << "Wrong username and password.\n\n";
system("pause");
return 0;
}
}
}
:code:
just paste this into a function and call it in main
>my cheats
>how do I add password

Sigh. But yes, do as stated above and call your functions afterwards.
But, now he is going to know the password lmao
Quote Originally Posted by Delex View Post
But, now he is going to know the password lmao
He tells him?
Quote Originally Posted by Skips View Post
He tells him?
Quote Originally Posted by Linde69 View Post
if(password=="hotd00g"){
/10charssssss
Quote Originally Posted by Linde69 View Post
Hello guys & girls!

I Want to make my cheats password protected, because i gave them to friend and he needs password protect because he's brother is using same computer and if he finds cheat he will use it, so i need make them password protected..

So what i need is, Make program start with right password & username and i cant code it myself any help?

I Can code the normal Login with password
:code:
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <cstring>
using namespace std;
int main(){
string username;
string password;
cout << "Username: ";
cin >> username;
cout << "Password: ";
cin >> password;
system("cls");
if(username=="manta"){
if(password=="hotd00g"){
cout << "Access valid.";
cout << "\n\n";
system("pause");
return 0;
}
else{
cout << "Access denied.\n";
cout << "Wrong password.\n\n";
system("pause");
return 0;
}
}
else{
if(password=="hotd00g"){
cout << "Access denied.\n";
cout << "Wrong username.\n\n";
system("pause");
return 0;
}
else{
cout << "Access denied.\n";
cout << "Wrong username and password.\n\n";
system("pause");
return 0;
}
}
}
:code:
lol... it's 2016 bud, put the hack on a usb driver, maybe hide it thru like a bunch of windows files or even upload it to a ******* and when he wants to use them he can download them . There is really no need to add a password for that reason.
There is literally no point in doing a login system without at least encrypting the strings or getting the password from a web server.
Even an idiot could open the binary file with notepad and find the password string.

Also, if you have to ask this question, then you obviously didn't code "your" cheats and just copy pasted without understanding basic C++.
Make .zip password protected ?
It is a lot faster option to block access to certain files and folders
Quote Originally Posted by Zaczero View Post
Make .zip password protected ?
It is a lot faster option to block access to certain files and folders
Listen to this man ^
How i paste it to a function?
Quote Originally Posted by Linde69 View Post
How i paste it to a function?
Highlight *code*
Press: CTRL + C

Type:
Code:
void impasting()
{
*HERE YOU PRESS CTRL + V*
}
In the main function you type: impasting();

If you didn't make it work then learn C++ (even if you did, you should probably learn more)
"system("pause");" why the fuck are you doing that? Just make a loop... You're actually incapable of pasting.
why do you have to make it so difficult *sigh* Select the file or folder you want to encrypt.
Right-click the file or folder and select Properties.
On the General tab, click the Advanced button.
Check the box for the "Encrypt contents to secure data" option.
Click Apply and then OK.
why do you want a password protected cheat, better go to hwid locking, if someone steals your cheat (.exe file) he wont be capable of use it
Posts 115 of 15 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?