Results 1 to 9 of 9

Thread: Code Injection

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    9

    Smile Code Injection

    Well this is my first post so here are the things im tryin to learn:
    Code injection
    Disableing a hWind

    ty for your time

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

    Re: Code Injection

    Welcome to the forums.

    What do you mean by "Code Injection"?

    You can't disable the handle (hWnd) of a program as Windows needs that handle to organize itself. You can manipulate it however. What are you trying to do?

  3. #3
    Fanatic Member
    Join Date
    Mar 2002
    Location
    AUSTRALIA
    Posts
    603

    Re: Code Injection

    I saw the posting a bit earlier, and was tempted to change it to -
    here are the things im tryin to learn:
    Code injection
    Disableing a hWind
    Clear and detailed specifications
    but I stopped my self, because I thought that wouldn't be nice.
    (And also because, he is 'no orphan' when it comes to unclear posts)
    Rob C

  4. #4
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    Re: Code Injection

    Code injection cannot be done safely with VB6.
    VB6 uses apartment threading, and it is not safe to inject apartment threaded code into a free threaded application.

    You will probably need C++ for this.
    Frans

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

    Re: Code Injection

    Quote Originally Posted by Frans C
    Code injection cannot be done safely with VB6.
    VB6 uses apartment threading, and it is not safe to inject apartment threaded code into a free threaded application.

    You will probably need C++ for this.
    Ohhhhhhhhhhhhh...that is what he meant by 'Code Injection' - I'd not heard this term before.

  6. #6
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    Re: Code Injection

    Quote Originally Posted by Hack
    Ohhhhhhhhhhhhh...that is what he meant by 'Code Injection' - I'd not heard this term before.
    Yes, I assume he meant DLL injection.
    Frans

  7. #7
    Lively Member
    Join Date
    Apr 2005
    Posts
    103

    Re: Code Injection

    Quote Originally Posted by Frans C
    Yes, I assume he meant DLL injection.
    That sounds dangerous, but then again you hear of people putting them under their eyelids

  8. #8
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    Re: Code Injection

    It is also possible that he is talking about the techniques that are used by virusses and hackers. Trick a process into running code (e.g. by causing a buffer overflow like sasser did).

    I don't know how to do it, and if I knew how to do it, I wouldn't tell, because I think it can only be used for malicious reasons.
    Frans

  9. #9
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: Code Injection

    There are plenty of valid reasons to do code injection.
    For an example of code injection check out the thread in my signature.

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