Sign in to follow this  
Followers 0
malu05

NamedPibes (calling)

1 post in this topic

#1 ·  Posted (edited)

Hey, i have a little problem with calling named pipes.

I have injected a DLL into a host exe and want to call the pipe that this DLL uses.

What i know:

The pipe is \\\\.\\pipe\\WoWMachinimaTool

The function the pipe uses is "CreateObject Entry Display X Y Z"

so i did this

$hNamedPipe = _NamedPipes_CreateNamedPipe("\\.\\pipe\\WoWMachinimaTool")
ConsoleWrite($hNamedPipe & @crlf);Check if its ok
$hNamedPipe2 = _NamedPipes_TransactNamedPipe($hNamedPipe, "CreateObject 99 99 9179 -6396 6.4", 4096, $pOutBuf, 4096) ;CreateObject Entry Display X Y Z
ConsoleWrite($hNamedPipe2 & " and " & $pOutBuf & @crlf);returns the data returned

If the pipecall was a success it would return position data etc, but it always returns 0, like it was a non existing pipe or so.

What did i do wrong?

Is there any additional steps for a pipetransact?

Edited by malu05

[center][u]WoW Machinima Tool[/u] (Tool for Machinima Artists) [/center]

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0