This site is no longer active, all members have migrated to devotedcheating.com . Thankyou
This site is no longer active, all members have migrated to devotedcheating.com . Thankyou
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
Actionhacks.netHomeLatest imagesRegisterLog in

 

 Console App that starts on windows startup (to keep ppl off)

Go down 
3 posters
AuthorMessage
Tate
Admin
Admin
Tate


Posts : 208
Reputation : 17
Join date : 2009-09-19
Age : 27

Console App that starts on windows startup (to keep ppl off) Empty
PostSubject: Console App that starts on windows startup (to keep ppl off)   Console App that starts on windows startup (to keep ppl off) EmptySun Nov 29, 2009 9:50 am

I use this to keep my parents off my computer (because the windows automated login for windows xp isnt secure):

Code:
#include <windows.h>
#include <fstream>
#include <winable.h>
#include <iostream>
#include <stdio.h>
using namespace std;

int main(int argc, char *argv[])
{
keybd_event(VK_MENU,0x36,0,0);
keybd_event(VK_RETURN,0x1c,0,0);
keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0);
keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0);
 string password;
 cout << endl << endl << endl;
 cout << "Password :" << endl;
 getline(cin, password);
 if(password == "Actionhacks")
 {
 cout << "Good! That's the password!" << endl << endl;
 cout << "Play gratz music?" << endl;
 string yesno;
 getline(cin, yesno);
 if(yesno == "Yes")
 {
 Beep(50,50);
 Beep(100,100);
 Beep(150,150);
 Beep(150,150);
 Beep(100,100);
 Beep(150,150);
 Beep(200,200);
 Beep(200,200);
 Beep(150,150);
 Beep(200,200);
 Beep(250,250);
 Beep(250,250);
 Beep(200,200);
 Beep(250,250);
 Beep(300,300);
 Beep(300,300);
 Beep(300,300);
 Beep(300,300);
 Beep(500,500);
 Beep(500,500);
 Beep(500,500);
 Beep(300,100);
 Beep(400,400);
 }
 }
 else
 {
 cout << "Wrong! That's not the password!" << endl;
 cout << endl << endl << endl;
 BlockInput(true);
 }
 
 system("PAUSE>null");
 return 0;
           
}


If you have a question, just post, Ill try to answer it


Last edited by Tate on Sat Dec 05, 2009 12:24 pm; edited 3 times in total
Back to top Go down
Super Girl
General Member
General Member
Super Girl


Posts : 31
Reputation : 0
Join date : 2009-11-26
Location : Ireland

Console App that starts on windows startup (to keep ppl off) Empty
PostSubject: goooood job tate   Console App that starts on windows startup (to keep ppl off) EmptySun Nov 29, 2009 4:36 pm

you no you could, make it more simpler not saying you have to but i find it easier to simplify this stuff. on the other hand very good job Smile
Back to top Go down
TheFallen
General Member
General Member



Posts : 8
Reputation : 0
Join date : 2009-10-22

Console App that starts on windows startup (to keep ppl off) Empty
PostSubject: Re: Console App that starts on windows startup (to keep ppl off)   Console App that starts on windows startup (to keep ppl off) EmptyWed Dec 02, 2009 9:54 am

ok i just had to respond to this ctrl+alt+delete or simply close the app
in order to do this full proof you would have to catch windows messages and send messages to widows to do this
Back to top Go down
Tate
Admin
Admin
Tate


Posts : 208
Reputation : 17
Join date : 2009-09-19
Age : 27

Console App that starts on windows startup (to keep ppl off) Empty
PostSubject: Re: Console App that starts on windows startup (to keep ppl off)   Console App that starts on windows startup (to keep ppl off) EmptyWed Dec 02, 2009 10:04 am

TheFallen wrote:
ok i just had to respond to this ctrl+alt+delete or simply close the app
in order to do this full proof you would have to catch windows messages and send messages to widows to do this

Try it

At least on my computer, you can't do alt+f4 or ctrl+alt+delete (but if you leave it up for like, 30 mins, it does go off)



so like every 10 minutes it should do a message that says "Are you going to enter your password?"


It's foolproof on my computer
Back to top Go down
Sponsored content





Console App that starts on windows startup (to keep ppl off) Empty
PostSubject: Re: Console App that starts on windows startup (to keep ppl off)   Console App that starts on windows startup (to keep ppl off) Empty

Back to top Go down
 
Console App that starts on windows startup (to keep ppl off)
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
 :: Public Section: Coding :: C++ :: Source Codes-
Jump to: