Follow us on Twitter!
Your life is ending one minute at a time. If you were to die tomorrow, what would you do today?
Friday, April 18, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 13
Guests Online: 13
Members Online: 0

Registered Members: 82822
Newest Member: TheBunter
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Sending keys to a process


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 05-06-05 00:56
in VB I would like to send keys to a cmd box. Now I use the VBHide option to hide it and it still shows up in the process list. Now does anyone know how to send keys to a process? (If it's something really simple please don't bite my head off)


Author

RE: Sending keys to a process

Mr_Cheese




Posts: 2468
Location: Brighton, UK
Joined: 30.11.04
Rank:
Uber Elite
Posted on 05-06-05 11:38
instead of sending keys into the cmd box. Just do a shell command.

Shell ("shutdown -f", vbHide)


http://www.hellboundhackers.org/
Author

RE: Sending keys to a process


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 05-06-05 12:50
Well it depends, there are a few ways
first if it's just one command use the thing Mr_Cheese said.
Else make it run a bat file if you want a series of commands being executed.
If you just want to send random shit you need to get the window handle, you can do it llike this :
Code
AppActivate msnmcontact.FriendlyName & " - Conversation"




// code taken from the post of The_Inferno, all credits go to him lol

and then you can always use the win32 api to do it. but that i don't know from the top of my head but it should be easy to look up.

two good sites for looking up:
www.google.com
www.msdn.com

Cheers ;)


Author

RE: Sending keys to a process


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 21-06-05 03:12
Thanks Mr_Cheese for the info. I was able to make a small program that uses NET SEND. I intend to use if for EDUCATIONAL purposes in my school.


Author

RE: Sending keys to a process


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 21-06-05 08:05
Pfft i made a VB netsend ages ago when i installed linux i was working on an IRC client


Author

RE: Sending keys to a process


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 24-06-05 19:30
Darth_Pengo wrote:
Pfft i made a VB netsend ages ago when i installed linux i was working on an IRC client

noted and quickly forgotten