EUD exe
Jan 10 2014, 12:17 am
By: iCCup.xboi209  

Jan 10 2014, 12:17 am iCCup.xboi209 Post #1



So I'm interested in running an .exe file located inside a map....where would I start?(yes I know I need EUD actions and already know the basics of EUDs)

Post has been edited 1 time(s), last time on Jan 10 2014, 12:23 am by iCCup.xboi209.



None.

Jan 10 2014, 1:21 am Roy Post #2

An artist's depiction of an Extended Unit Death

This has been discussed on a theoretical level, but as far as I know nobody has actually come up with a solution for running an executable through EUDAs. I can immediately see potential permissions issues depending on the current player's OS for running an executable through another program (SC), let alone actually finding a way to write values to cause the execution to happen (just pointing at the .exe file wouldn't be enough, would it?).

What executable is in the map that you want to run? It's more than likely what you want to accomplish can be done more easily and reliably through a mod.




Jan 10 2014, 2:30 am trgk Post #3



It's possible,. EUD is powerful enought.
Change return address at stack to location of your shellcode with EUD.
Your shellcode should be located in executable region, which won't be that hard to find. (ex : STR Section - SMemAlloc sucks)
It's even possible to merge DLL into your map. (MPQ has 512 byte boundary, so put your vector map behind some DLL and rename it to .scx.)

But it seems very undesirable for the map I'm playing to execute some kind of shellcode.
Map shouldn't do anything what I wouldn't expect. (EX : Saving game by changing computer registery or rwing file or something, Self-injecting mod plugin, ...)

Post has been edited 1 time(s), last time on Jan 10 2014, 9:13 am by trgk.



EUD

Jan 15 2014, 3:18 am rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

I would think you need to know assembly, but that's about all I can come up with. Heinermann probably knows more about starcraft than anyone else, so he would be the one to ask. I think he was the one who initially found that eud actions could run an exe file.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
Please log in to shout.


Members Online: Roy