Jump to content

how to make a .exe shell output into the UI?

1832vin

i do python, but only a little, i though this would be easy, since i think i got the system, and would like to try it out.

i'm trying to make a program that does a brute force crack into a thingy, and i asure you, it's legal because i'm doing to my stuff. 

so brute-forcing would be something like:

look up at the library of exsisting character.

then loop to try

a -> b -> c ->> A -> B -> C

then loop and concatenate "a" and "b" to make "ab"

but the main problem is, i can print it in the .exe shell, but how can i make it so that it can type the outcome into the UI? and then press enter to go into it....

 

 

 

now, education is kinda my expertise, and when something is at steak, you learn better..  i'm a weak willed person, and i always give up, so, this time, i made a simple lock to my folders that i don't need for work.  and that's at steak...

i feel stupid..   and i want to unlock it..

it's not encryption or anything, it's just, type the password press enter and you gain access....

 

so.. is there a command that can output a programs output into the UI's input (keyboard in this case)

i don't mind learning a new language since i know little about python

Link to comment
Share on other sites

Link to post
Share on other sites

Well a few words of wisdom first.  While you say it is legal, in certain areas it actually is against the law....whether I believe it should be or not.

 

With that said, while I haven't made a program like this before, I have made bots that interact with other programs *and I don't necessarily mean for games either, some programs really need*  To be honest, I have no clue about python...I have never really worked with it, so I am going to suggest C#. (C++ and VB also have examples provided by microsoft on this as well so you can have a choice of what to use)

 

Anyways without further ado, try looking at this http://msdn.microsoft.com/en-us/library/ms171548%28v=vs.110%29.aspx it allows you to send simulated keyboard commands to the active program.  A word to the wise though, this is a simulation....so certain programs might not like the signal that is received *at which point the program becomes harder to make*.  Standard programs will accept this simulated keyboard press though.

0b10111010 10101101 11110000 00001101

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×