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.


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.


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?"

  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:44 pm]
Ultraviolet -- 1337 ejaculator
[10:29 pm]
ejac1337 -- derp
[07:08 pm]
Slyence -- Well shucks ..
[2021-11-26. : 4:02 am]
O)FaRTy1billion[MM] -- Slyence
Slyence shouted: I could've swore I used to have a colored username.
probably, they did get reset at some point
[2021-11-26. : 4:02 am]
Apos -- :wob:
[2021-11-26. : 12:01 am]
UndeadStar -- 🦃 Just saw a new news 🦃
[2021-11-25. : 6:04 pm]
Slyence -- Meme x2
[2021-11-25. : 12:39 pm]
Moose -- meme
[2021-11-25. : 12:25 pm]
Slyence -- I could've swore I used to have a colored username.
[2021-11-24. : 10:56 pm]
RdeRenato -- xd
Please log in to shout.

Members Online: Oh_Man, Roy