Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- PROJECT : LOCK BOX
- Makes a Personal Diary and Secret Hidden Folder which is Password Protected
- Coded By : H4T3D
- */
- #include<stdio.h>
- #include<iostream>
- #include <fstream>
- #include <windows.h>
- using namespace std;
- int main()
- {
- cout << "\t\t***********Security Cleareance Required**************\t\t\t\t\t\n\n\n\n";
- cout << "Please Enter Password:";
- char c[10];
- cin >> c;
- system("CLS");
- if (!(strcmp(c,"ali")))
- {
- system("mkdir MySecretfolder");
- system("attrib -h -s -r MySecretfolder");
- system("color f0");
- cout<<"\t\tType .LOG for the time\n\n\n";
- system(" TIME [/T | time]");
- system("copy con personal.txt");
- system("attrib -h -s -r personal.txt");
- }
- else
- {
- MessageBox(HWND_DESKTOP, "You Have Enterd Wrong Password", "Error 503", MB_OK);
- system("attrib +h +s +r personal.txt");
- system("attrib +h +s +r MySecretfolder");
- system("timeout /t 10");
- system("CLS");
- return main();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement