VMT 36 in ... AutoIt ! menu

User Tag List

Results 1 to 13 of 13
  1. #1
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    VMT 36 in ... AutoIt !

    Greetings,


    I've been trying to get the Interact function working in AutoIt but have some problems with calling CreateRemoteThread from kernel32.dll

    Here's a paste (YaY to shynd for the original code) : AutoIt pastebin - collaborative debugging tool

    The arguments of the function are as follows:
    Code:
    HANDLE WINAPI CreateRemoteThread(
      __in   HANDLE hProcess,
      __in   LPSECURITY_ATTRIBUTES lpThreadAttributes,
      __in   SIZE_T dwStackSize,
      __in   LPTHREAD_START_ROUTINE lpStartAddress,
      __in   LPVOID lpParameter,
      __in   DWORD dwCreationFlags,
      __out  LPDWORD lpThreadId
    );
    In AutoIt this would translate to:

    DllCall("kernel32.dll", "int", "CreateRemoteThread", typeN, argN)

    I'm unsure what to take as lpStartAddress and lpParameter

    Any help / hints to website are appreciated,


    And I know AutoIt sucks for memory-editing, thanks :[
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

    VMT 36 in ... AutoIt !
  2. #2
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I dont think the charmander will like this thread
    honestley i dun know how to do it in autoit u shoud do it in vb c# or c++ alot easier there

  3. #3
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nesox View Post
    I dont think the charmander will like this thread
    honestley i dun know how to do it in autoit u shoud do it in vb c# or c++ alot easier there
    I know it's easier in those languages, but I'm not to familiar with any of those. I only have experience with Java :/

    I'm reading up on them though, ordered a book "C++ for dummies" and following several guides on the internet.

    Oh and

    Charmander can't flame Spyro!1
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  4. #4
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Robske007a View Post
    Charmander can't flame Spyro!1
    u wish!
    if ure into c#, learning c# 2005 is a pretty good book..

  5. #5
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For the love of all things good in this world, please don't do this. >.<

    The last thing we need is encouraging people to use AutoIt.

  6. #6
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    For the love of all things good in this world, please don't do this. >.<

    The last thing we need is encouraging people to use AutoIt.
    Ok, AutoIt aside, I'm don't want to leave a job unfinished - the 2 arguments, lpStartAddress and lpParameter, what are they? I couldn't find an answer on MSDN :/
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  7. #7
    barthen's Avatar Contributor Authenticator enabled
    Reputation
    94
    Join Date
    Apr 2007
    Posts
    112
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  8. #8
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by barthen View Post
    10 bucks says he searched for the param name instead of API name.

  9. #9
    UnknOwned's Avatar Legendary
    Reputation
    713
    Join Date
    Nov 2006
    Posts
    583
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    There is a certain challange and charm coding stuff in AutoIt, like making Visual Basic or Batch files.
    Its a mess, but it works.

  10. #10
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by UnknOwned View Post
    There is a certain challange and charm coding stuff in AutoIt, like making Visual Basic or Batch files.
    Its a mess, but it works.

    Challenge, yes, and I'm all for that, but when theres a POINT to it. Its not challenging because you're doing something difficult, its challenging because the language is so ****ing restrictive.

    Charm? Only if you find things like mangled corpses and herpes charming.

    Yes it is a mess. Yes it does "work'. But just because something "works" doesn't mean it can't work BETTER.... and cleaner.... and easier.... and faster.... and so on and so forth.

  11. #11
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you're familiar with Java, learn C#.

    Edit: As an afterthought, this is how I used to inject a DLL via AutoIt. This is using the DllCall from AutoIt v3.2.2.0, so the syntax is probably different by now. LOOK HOW UGLY THIS IS

  12. #12
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by barthen View Post
    Where do you think I got the quoted code from? :/

    HANDLE WINAPI CreateRemoteThread(
    __in HANDLE hProcess,
    __in LPSECURITY_ATTRIBUTES lpThreadAttributes,
    __in SIZE_T dwStackSize,
    __in LPTHREAD_START_ROUTINE lpStartAddress,
    __in LPVOID lpParameter,
    __in DWORD dwCreationFlags,
    __out LPDWORD lpThreadId
    );


    Thanks shynd, will look into it
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  13. #13
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Robske007a View Post
    Where do you think I got the quoted code from? :/

    HANDLE WINAPI CreateRemoteThread(
    __in HANDLE hProcess,
    __in LPSECURITY_ATTRIBUTES lpThreadAttributes,
    __in SIZE_T dwStackSize,
    __in LPTHREAD_START_ROUTINE lpStartAddress,
    __in LPVOID lpParameter,
    __in DWORD dwCreationFlags,
    __out LPDWORD lpThreadId
    );


    Thanks shynd, will look into it
    Did you even read that page?

    Parameters

    hProcess [in]
    A handle to the process in which the thread is to be created. The handle must have the PROCESS_CREATE_THREAD, PROCESS_QUERY_INFORMATION, PROCESS_VM_OPERATION, PROCESS_VM_WRITE, and PROCESS_VM_READ access rights. For more information, see Process Security and Access Rights.

    lpThreadAttributes [in]
    A pointer to a SECURITY_ATTRIBUTES structure that specifies a security descriptor for the new thread and determines whether child processes can inherit the returned handle. If lpThreadAttributes is NULL, the thread gets a default security descriptor and the handle cannot be inherited. The access control lists (ACL) in the default security descriptor for a thread come from the primary token of the creator.

    Windows XP/2000: The ACLs in the default security descriptor for a thread come from the primary or impersonation token of the creator. This behavior changed with Windows XP with SP2 and Windows Server 2003.
    dwStackSize [in]
    The initial size of the stack, in bytes. The system rounds this value to the nearest page. If this parameter is 0 (zero), the new thread uses the default size for the executable. For more information, see Thread Stack Size.

    lpStartAddress [in]
    A pointer to the application-defined function of type LPTHREAD_START_ROUTINE to be executed by the thread and represents the starting address of the thread in the remote process. The function must exist in the remote process. For more information, see ThreadProc.

    lpParameter [in]
    A pointer to a variable to be passed to the thread function.

    dwCreationFlags [in]
    The flags that control the creation of the thread.

    Value Meaning
    0
    The thread runs immediately after creation.
    CREATE_SUSPENDED
    0x00000004
    The thread is created in a suspended state, and does not run until the ResumeThread function is called.
    STACK_SIZE_PARAM_IS_A_RESERVATION
    0x00010000
    The dwStackSize parameter specifies the initial reserve size of the stack. If this flag is not specified, dwStackSize specifies the commit size.
    Windows 2000: The STACK_SIZE_PARAM_IS_A_RESERVATION flag is not supported.
    lpThreadId [out]
    A pointer to a variable that receives the thread identifier.

    If this parameter is NULL, the thread identifier is not returned.

Similar Threads

  1. AutoIT
    By ashkanesla in forum World of Warcraft Bots and Programs
    Replies: 5
    Last Post: 08-31-2006, 12:43 PM
  2. [Autoit help]Modify hotkey to rightclick(fishbot)
    By darknavi in forum World of Warcraft General
    Replies: 4
    Last Post: 07-01-2006, 09:31 PM
  3. No fall dmg (autoIT)
    By KuRIoS in forum World of Warcraft Exploits
    Replies: 6
    Last Post: 06-19-2006, 12:22 PM
  4. autoIT question
    By Vel0city in forum World of Warcraft General
    Replies: 3
    Last Post: 06-18-2006, 02:54 PM
  5. AutoIt Macro for WoW AFK Bot
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 8
    Last Post: 04-06-2006, 06:01 AM
All times are GMT -5. The time now is 02:33 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search