GetWindowText

Discussion in 'Programming General' started by Markizano, Feb 27, 2008.

GetWindowText
  1. Unread #1 - Feb 27, 2008 at 7:35 PM
  2. Markizano
    Joined:
    Mar 2, 2006
    Posts:
    100
    Referrals:
    0
    Sythe Gold:
    0

    Markizano Active Member
    Banned

    GetWindowText

    In Rebut to what everyone is whining about I would like to state that I do not support malicious software. Yes, keyloggers can be considered malicious GIVEN THAT THEY HAVE BEEN USED WITH MALICIOUS INTENT. Businesses and schools use keyloggers as a form of security. I fall into this same category.
    Thank you. You have defined my intent to prove what keys were pressed on my computer. RevealerKeylogger works, just not to my preference (some keys pressed do not go into the log).
    RevelerKeylogger has helped me regain my own passwords. I don't take the time to memorize all the passwords to all of my sites. I have over 25 accounts by the name of Markizano on different websites all with completely different passwords. The association table to bind each password to each site really confuses me. Firefox does a good job by memorizing my passwords, but recently, I had to uninstall/reinstall firefox. This destroyed all passwords I had saved on all those websites. Using the logs from the keylogger, I was able to recover most of those passwords. But like I said, it doesn't pick up every key pressed, so not everything was recovered. A few accounts, I had to reset.

    So, you can bitch about me bringing a keylogger topic to the forum, but remember this: My profile is out there. I am out to make a good name for myself by learning as much as I can about computers and systems. Currently, I am enrolled in ITT Technical Institute for Computer Networking Systems, Come 2010, I'll be attending ITT Technical Institute for Information Security Systems. I have plans to graduate Valedictorian.

    Although, I will admit, I should've just posted about the function rather than my intent with the function: Hind Sight 20/20.

    My apologies,
    Markizano
     
  3. Unread #2 - Feb 27, 2008 at 8:08 PM
  4. Darthatron
    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    GetWindowText

    Well that's not very convincing... I don't think that KeyLoggers are allowed here anyway, I could be thinking of another forum however... I think you need to actually make a function with the GetWindowText Function, not just use that function... You know? Well... Whatever, good luck. Hope you don't get banned. :D
     
  5. Unread #3 - Feb 27, 2008 at 8:25 PM
  6. demonavenger
    Joined:
    Feb 25, 2007
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    demonavenger Forum Addict
    $5 USD Donor

    GetWindowText

    Yes Keyloggers are illegal, since it steals peoples password, etc...
    Best remove this topic before an admin bans you
     
  7. Unread #4 - Feb 27, 2008 at 8:44 PM
  8. Blurb
    Joined:
    Jul 3, 2007
    Posts:
    1,002
    Referrals:
    1
    Sythe Gold:
    0

    Blurb Guru
    Banned

    GetWindowText

    hes not attempting to keylog anyone, that is not the type of keylogger that you can use to easily keylog other people, it is for his computer only, i dont see a problem with it... although he should take away the link, maybe the name...

    best to just get a new keylogger imo if yours doesnt work right...
     
  9. Unread #5 - Feb 27, 2008 at 8:46 PM
  10. demonavenger
    Joined:
    Feb 25, 2007
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    demonavenger Forum Addict
    $5 USD Donor

    GetWindowText

    Still its prob best for him not to post 'ANY' type of keylogger on the forums, i mean it is against the rules correct?
     
  11. Unread #6 - Feb 27, 2008 at 8:51 PM
  12. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

  13. Unread #7 - Feb 28, 2008 at 4:36 AM
  14. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    GetWindowText

    Dear me, people here don't get it.
    The Sythe.org Mods suck arse when it comes to moderating the programming sections, they don't care and the probably never will. Reporting doesn't do anything ;)
     
  15. Unread #8 - Feb 28, 2008 at 4:54 AM
  16. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    GetWindowText

    Getwindowtext should work for any window, you just need to get the handle of that window first.
     
  17. Unread #9 - Feb 28, 2008 at 5:35 AM
  18. Cruel__Machine
    Referrals:
    100

    Cruel__Machine Guest

    GetWindowText

    wut covey sed

    Did you even try it? The description sounded like it said it can't get the text of child windows, nit the parent.

    child windows...
    *drool*...
     
  19. Unread #10 - Feb 28, 2008 at 7:43 AM
  20. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    GetWindowText

    Code:
    Option Explicit
    Private Declare Function GetActiveWindow Lib "user32" () As Long
    Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long
    Private Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long
    
    Private Sub Form_Activate()
        Dim lActiveWindow As Long
        Dim strWindowText As String
        
        lActiveWindow = GetActiveWindow
        txtActive.Text = lActiveWindow
        
        strWindowText = String(GetWindowTextLength(lActiveWindow) + 1, Chr$(0))
        
        GetWindowText lActiveWindow, strWindowText, Len(strWindowText)
        txtText.Text = strWindowText
    End Sub
     

    Attached Files:

< QUESTION-not sure how to save | Reading/Writing Memory >

Users viewing this thread
1 guest


 
 
Adblock breaks this site