- Code: Select all
win.LocalPort = 2999
win.RemotePort = 455
win.Listen
and then listened for strings of data and changed the caption of a label to the string.
however (i was following a tut to make a trojan and adapting it) i was fine until it came to
To do this evil thing we need to add a module with the following code
Public Declare Function BlockInput Lib "user32" (ByVal fBlock As Long)
As Long
...
The code in the module is called a windows API. It uses a dll file to do tasks that we want. Now this code still wont block the users input but we are very close. We now need to program the DoActions function that we called on our main form. In case you were wondering the code that we added to the form does two different things. The first sub makes it so all connection requests are automatacly accepted. The second sub makes it so all data is automaticly accepted and it then passes all of the data to the function DoActions which we are about to code.
i researched this on google as i couldnt find a 'module' anywhere to insert into my program (i was going to edit this btw dont think im malicious enough to BlockInput :D), however the only help i got was one site that said go into references and select Windows API, i did this and searched my pc, its not on there :S i have VB6 Prof edition. can anyone help??
NOTE: if this would not be required in a IM then tell me and ill skip it, the tutorial can be found here: http://www.hackthissite.org/articles/read/509
EDIT TWO: AAAH FOUND IT THANKS



