[Release] LuaFoo - Use Lua Protected Commands menu

User Tag List

Page 1 of 4 1234 LastLast
Results 1 to 15 of 47
  1. #1
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release] LuaFoo - Use Lua Protected Commands

    NOTE: This was detected (for ~4-5 hours). I have updated it to randomize Lua callback registration addresses. See kynox's blog for more info. While, for the moment, it is still safe to use. I would suggest not using it on an account you value. (As soon as Warden starts scanning for the LuaFoo modules, I'll probably pull the project completely.)

    First things first; this does NOT enable you to just use commands all willy-nilly like. That is no longer possible, as Warden is now actively scanning that address. However, there are workarounds, and this is one of them!

    What this app does

    It registers 2 new commands in WoW.

    Do

    In short; you can pass a STRING containing any Lua you want WoW to execute (this includes protected functions) and it will be executed. You can pass as many params (note: all params must be strings of valid Lua) as you please, and all will be executed in sequential order. This is an UNLIMITED parameter command. It does very little in the way of error checking, so be careful.

    DoFile

    Requires a valid path to a .lua file. (Does no error checking as far as the extension of the file is concerned, as long as it is valid Lua.) It will run the entire contents of the Lua file in one fell swoop. Be careful with this! This is very useful for things that are too large to fit in a macro for example. Multiple files can be passed to this command. Each file will be parsed in sequence.


    Please do note; these commands require strings. So you WILL need to escape things when required.

    Example

    /run Do("CastSpellByName(\"Renew\")")

    That is proper. However;

    /run Do(CastSpellByName("Renew"))

    Is not. The actual Lua commands must be parsed AFTER being passed to the Do command. (That is the whole point of this thing after all)


    Quick little FAQ to piss off those who are paranoid dipshits;

    This IS detectable. I won't lie. It is currently not detected, however it's fairly easy for Blizzard to detect it. I do hook the CRC function to avoid some minor issues (those who know why I hook it, well... you know why I hook it.) Other than that, only minor patches are applied in memory.

    It DOES use injection. No, I will not register commands out of process. You can go to hell.

    It requires .NET 2.0, and may require some VC++ runtime. Honestly, I don't care enough to check it.



    I've included an injector (written by Cypher with some minor edits). It's up to you to figure out how to use it. It's really not that difficult. I won't bother explaining how it works.



    Credits;

    kynox; most of the .NET bootstrapper.
    Cypher; the injector, even though it kinda fails on XP.
    jjaa; being awesome
    Parog; helping test some quick functionality
    Errage; being a dumbass and not knowing what OS he's on
    Bobbysing; original Lua_DoString prototype, and some others.


    Download:
    http://filebeam.com/f86d531020a70cfccbb037225a4e6279

    Instructions:

    Start WoW
    Run the Injector.exe
    Follow the instructions to inject into WoW.

    You should see at least 2 popups containing Lua command register addresses. (One for Do, and another for DoFile)

    Instructions for those on XP:

    Figure it the **** out yourself. I'm lazy.

    If you get an error about LoadLibraryW, find another injector, and inject LuaFoo.Injectee.dll into WoW.



    Feel free to report any bugs, etc.

    Please keep all macros and whatnot IN THIS THREAD. I don't want to have to cleanup the forums because someone can't post in the proper thread.
    Last edited by Apoc; 08-20-2009 at 05:46 AM.

    [Release] LuaFoo - Use Lua Protected Commands
  2. #2
    P1raten's Avatar Banned
    Reputation
    500
    Join Date
    Mar 2008
    Posts
    1,323
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks awesome. +rep.

    Edit: First.

  3. #3
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You fail, I told you I'd open-source the new one but noooo, you needed something to bitch about like a little girl.

    Also, XP is ghey anyway. Take your antiquated OS and stick it in your pooper.

  4. #4
    Parog's Avatar Kitsune Da-O! M.L.G. CoreCoins Purchaser Authenticator enabled
    Reputation
    1528
    Join Date
    May 2007
    Posts
    3,169
    Thanks G/R
    540/266
    Trade Feedback
    20 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Apoc, I was on XP when I tested this, it's the exact same thing.

    PS: This rocks.

    PSS: MASSIVE LOL @ "
    Errage; being a dumbass and not knowing what OS he's on"
    What's a Parog?
    Looking for competitive Valorant team!

  5. #5
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    You fail, I told you I'd open-source the new one but noooo, you needed something to bitch about like a little girl.

    Also, XP is ghey anyway. Take your antiquated OS and stick it in your pooper.
    Apparently it's Errage's fault then. Blame him.

    I don't use XP (as you already know) nor do I really care if it does/doesn't work on XP.

  6. #6
    Barrt73Rus's Avatar Banned
    Reputation
    171
    Join Date
    May 2009
    Posts
    1,272
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    3.2.0a already fixed this?
    Copyright (c) 2009 Cypher. All rights reserved. (Compiled & Edited by Apoc)

    Please choose a method to choose the target process:
    1. Process Name
    2. Window Name
    3. Process ID
    Choice:
    2
    Please enter the window name:
    World of Warcraft
    General Error:
    Call to LoadLibraryW in remote process failed.
    and with
    1. Process Name
    3. Process ID

    the same
    Last edited by Barrt73Rus; 08-20-2009 at 05:40 AM.

  7. #7
    Parog's Avatar Kitsune Da-O! M.L.G. CoreCoins Purchaser Authenticator enabled
    Reputation
    1528
    Join Date
    May 2007
    Posts
    3,169
    Thanks G/R
    540/266
    Trade Feedback
    20 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure you have .NET Framework 2.0 or higher and select 1. Process Name, then enter wow.exe and press enter.
    What's a Parog?
    Looking for competitive Valorant team!

  8. #8
    Barrt73Rus's Avatar Banned
    Reputation
    171
    Join Date
    May 2009
    Posts
    1,272
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Parog View Post
    Make sure you have .NET Framework 2.0 or higher and select 1. Process Name, then enter wow.exe and press enter.
    i have net framework 3.5 on win xp sp3

  9. #9
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you get an error about LoadLibraryW, find another injector, and inject LuaFoo.Injectee.dll into WoW.

  10. #10
    Malmis's Avatar Member
    Reputation
    1
    Join Date
    Aug 2009
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does it support sleep()? Then you could easily write loops and stuff without having to repress keys

  11. #11
    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)
    Anxiously awaiting Blizzard's response, lets see if this can beat Kynox' record of "quickest response time to a hack"

    Would be an annoyance if they brick CLR hosting / EndScene hooks / Lua Command registering though...
    "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

  12. #12
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Robske View Post
    Anxiously awaiting Blizzard's response, lets see if this can beat Kynox' record of "quickest response time to a hack"

    Would be an annoyance if they brick CLR hosting / EndScene hooks / Lua Command registering though...
    Brick them?

    Not sure what you mean there (I assume you mean 'kill' or 'disable' -- as it means in the console sense), but it's impossible to ban for D3D hooks, the worst you can do is kick for them. You can only ban for public D3D hooks because those can be hashed.

    You can't stop CLR hosting, you can detect it, though again, worst would be a kick.

    You can't stop Lua command registering. That's highly bannable, however that's always been the case.

  13. #13
    Nonominator's Avatar Banned
    Reputation
    30
    Join Date
    Apr 2007
    Posts
    489
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why would you want to use this to cast spells? I dont get it....

    Whats the main point of it..?

    I read. Still don't comprehend why I would need it or someone else would...

  14. #14
    Sikas's Avatar Active Member
    Reputation
    69
    Join Date
    Feb 2007
    Posts
    386
    Thanks G/R
    6/2
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It basically spam one macro key press multiple times to get your rotation for you. And it goes as fast as it can.. faster than human presses sometimes. xD I find it helpful.

  15. #15
    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
    Brick them?

    Not sure what you mean there (I assume you mean 'kill' or 'disable' -- as it means in the console sense), but it's impossible to ban for D3D hooks, the worst you can do is kick for them. You can only ban for public D3D hooks because those can be hashed.

    You can't stop CLR hosting, you can detect it, though again, worst would be a kick.
    That's what I meant yes, and I shouldn't have mentioned CLR hosting there

    Originally Posted by Cypher View Post
    You can't stop Lua command registering. That's highly bannable, however that's always been the case.
    Did you mean "can stop"? Surely Blizzard could compare the registered lua functions with a whitelist of sorts?
    Last edited by Robske; 08-20-2009 at 12:21 PM.
    "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

Page 1 of 4 1234 LastLast

Similar Threads

  1. Finding Lua protection function using OllyDBG. (3.3.5a)
    By Ramono in forum WoW Memory Editing
    Replies: 5
    Last Post: 06-18-2011, 05:40 PM
  2. Use of Lua Protected Commands on a 3.2.0 and 3.3.3a Server
    By grimmjow200 in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 06-14-2010, 11:35 PM
  3. [Release/Info] Custom LUA Bosses!
    By Gastricpenguin in forum World of Warcraft Emulator Servers
    Replies: 38
    Last Post: 02-08-2008, 12:14 PM
  4. [RELEASE] My First Lua Boss xD
    By Snailz in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 01-25-2008, 01:38 PM
  5. [RELEASE] Insanely Useful Quest NPC For PvP/Fun Servers
    By Xeneth in forum World of Warcraft Emulator Servers
    Replies: 14
    Last Post: 01-11-2008, 01:48 PM
All times are GMT -5. The time now is 06:35 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search