Hi at my work i have five terminals that I have to log into and it gets really anoying so there is a trick if I write my log id as follows in wordpad "useridlocation password" and copy it then i can just right click on the window of each program and it will paste it in there and log me in.What I was thinking is couldnt i use the system() function or something to make myself a quick little program to do this for me.I am new but if anyone could help me out it would be appreciated.I prefer the code to be in c++ this is the language of which I am most familar with.

10-03-2005

FoodDude

No matter what you do, you are introducing a huge security problem. 5 terminals for a few minutes or security hole? You pick.

10-03-2005

glue21

I want to be able to enter the password user id and the location into a field not just store them in the program....see what im more interested in is how i can get the information into the separated windows the other stuff i know how to do.I can for instance enter the user name and password and location and have it print a message when thats done.However i want it to paste that info into those windows instead then give the message and close

10-03-2005

Ganoosh

You mean like using the clipboard?

10-04-2005

Salem

Yet another massively implementation specific question without any mention whatsoever of what OS/Compiler is involved.

I second FoodDude's comment.

10-04-2005

glue21

Im asking for suggestions on how to do this ways you would try to accomplish it.Links tutorials on anything related to the subject.I read an artical on using the clipboard but I still dont know how I will get it to paste in each window.Basically I want to right a program that will allow me to enter my user name and password then input those values into 5 separate programs.Im not asking you to do this for me just point me in the right direction.I appreciate your conern for my works security but lets not worry about that yet.

10-04-2005

durban

There is a way to do it but it's not easy, I suggest what FoodDude said, you are introducing a HUGE security hole and I take it if you have to login 5 times it's pretty important data so don't do it. I would fire you in a second if I knew you were doing this.

You need to know the inner workings of each window, are they different programs? Since they have already been compiled there is no way to do this easily. Disassemble them all and look for the address you need to change in memory, a process name would be helpful also. Make a program to grab the process of that window and change the addresses accordingly. Read up on game hacking or how to make trainers for games, they mess around alot in assembly.

10-04-2005

ryeguy

Just use autoit - www.autoitscript.com for something like this. Don't disassemble apps and stuff. You can make something like that in under 10 minutes. It can read files and simulate keystrokes (ctrl+v).

10-04-2005

glue21

oh well that was easy thanks for both of your answers

10-04-2005

|Wiz|

*brain freezes and explodes*
How do you get the program running before you log in?

But I also agree with FoodDude and durban's comments.

10-07-2005

glue21

The program has a login screen on it ...i do tech support property management systems and there are a ........ load of interfaces i have to log into at the start of my shift its a real pain having log into them all

10-07-2005

Decrypt

I hate to beat a dead horse here, but it's not worth it. It's only 5 interfaces. Assuming 10 characters for each ID and password, one tab, and one enter per interface, that's 110 keystrokes per day = about 27,270 keystrokes per year logging in. If you type 40 wpm (4 char/word) that's 173.25 = 2.89 hours. That's 2 hours, 53 minutes, and 24 seconds. per year spent on logging in.
For time investment alone, to come out ahead you'd have to spend less than

2:53:24 * how many years you'll be using it

making and implementing the program. As if. Coupled with the security risk, I can't see how this is a good idea. My sig says it all.