
| System Properties Hacker in VB6 | GIMP Tutorial- Nightvision |
| Submitted On: Sunday, February 21, 2010 at 10:07:48 AM |
Toasty Please login to rate this submission. Link to this Submission Blog and Forum Link HTML link Facebook / Pagereaders
|
DO NOT ATTEMPT: Articles provided here are for INFORMATIONAL PURPOSES ONLY. DO NOT undertake any project based upon any information obtained on the internet, including this website. We are not responsible for, nor do we assume any liability for, damages resulting from the use of any information on this site. Please read the Legal page for more information. Basic Keylogger Using Visual Basic 6 Note: I think that it goes without saying that there are very limited legal applications for this code. So if you write it, distribute it, use it, and so on you're legally liable. I'm simply posting this for the legal uses. Legal Uses: Background or full screen software, or custom keyboard handlers. This will allow you to trap keypresses even if the application does not have the focus. Getting Visual Basic 6 You will have to find VB6 (while VB4 and 5 may work, I'm not positive they do). Most editions will work, however I suggest at least the Standard Edition if you plan on compiling it. Any of the .NET Visual Basic editions (2003, 2005, 2008, 2010) will NOT work with this code. Microsoft molested the code base and most of the <=VB6 code does not run on those. Starting VB6 After you start VB6, you'll be presented with this dialog below: ![]() Select "Standard EXE" and press "Ok" A form will be generated for you, and it is titled "Form1" ![]() The "Timer" control is in the ToolBox (highlighted by a red box). Double click this, and a timer will appear in the middle of your Form. Single Click the Timer and look in the properties box... ![]() See in that box where it says "Interval"? Click on the 0 to the right, and change that to a 1. What does this do? When you click a button on a program, this triggers an "Event", which makes the program execute the code that is associated with that button. The Timer Control executes the code based on the Timer events (like the button), except it fires it every x milliseconds. As you can see, we set the timer for "1", meaning the code will (should) execute every 1 MS. Do note, however that when using the Timer control in VB that it is rather unreliable for timing, because there are several factors that tie into the Timer: - The block of code under the timer must execute before the timer can fire again, this is almost always more than 1MS. - If the system is under load (opening large applications, playing games, and so on), the timing will be sporadic at best. For this application, this timing is not critical, so we can deal with this fluctuation. - The Interval property is an Integer, meaning acceptable ranges are -32,768 through 32,767. The timer cannot process negative time (without a Flux Capacitor), so the range it accepts is 0 through 32,767. It is beyond the scope of the article to show how to extend this. Adding the Code to the Timer Double click the timer, and a code window will appear: ![]() In this image, you can see we're working with the Timer event of the Timer1 (named) control. Again, this code is ran when the timer is fired (1MS intervals). Insert this code Between the Private Sub... and End Sub lines: 'Now we will loop through any of the logical ASCII codes. 'The valid range is 0 through 255, but most of them won't help you. 'Actually, 32-125 is all you'll usually need, bu...
|
||||
| Tags: Visual, Basic, Programming, Tutorial, Keylogger |
| Sunday, February 21st, 2010 at 5:26:44 PM #32854 |
|
Source421 Member 'hnnggg' Level 19 Posts: 1,308 Submissions: 38 ![]() | Brilliant stuff! 5* |
| Sunday, February 21st, 2010 at 5:29:48 PM #32856 |
|
graboid90 Soldier 'Bandersnatch' Level 20 Posts: 812 Submissions: 10 ![]() | Sweet! 5* |
When there is no more room in hell, the dead will walk the earth. |
| Sunday, February 21st, 2010 at 9:27:32 PM #32888 |
|
Toasty SysOp Level 40 Posts: 7,388 Submissions: 227 ![]() | Glad you guys like it. Keep an eye out for the Advanced one I'll make a little later (in the next two weeks). |
![]() |
| Sunday, February 21st, 2010 at 10:14:12 PM #32897 |
|
m0rt Member 't(-_-t)' Level 6 Posts: 286 Submissions: 20 ![]() | cool. you gave me some ideas. might do some c# stuff for people to rate, |
мθят |
| Monday, February 22nd, 2010 at 12:14:00 AM #32915 |
|
ELECTRICJELLY Member 'Keep your cards close to you.' Level 19 Posts: 1,262 Submissions: 45 ![]() | Sweet, I don't understand the marority of this article but keylogging would come in handy to "acquire" imformation the non legal way. Awesome mate 5*s |
Hair doesn't grow on balls of steel |
| Tuesday, February 23rd, 2010 at 1:44:39 AM #33065 |
|
commandpromt Member 'N00b' Level 14 Posts: 638 Submissions: 32 ![]() | great, 5* |
![]() |
| Tuesday, February 23rd, 2010 at 8:15:55 PM #33137 |
|
gypsampile Member Level 3 Posts: 15 Submissions: 1 ![]() | kick ass. havent used VB in a while. would this format work for the 2008 version? |
coming to you live from my room... |
| Tuesday, February 23rd, 2010 at 9:02:26 PM #33161 |
|
Toasty SysOp Level 40 Posts: 7,388 Submissions: 227 ![]() | ^Nah, it wouldn't. Microsoft changed the code base for the .NET versions of Visual Basic (2003, 2005, 2008, and 2010). The last version this can work with is VB6. I'm not experienced with VB.NET, so I couldn't even provide help porting it over. |
![]() |