[erlang-questions] Remote "access" points
Ulf Wiger
ulf.wiger@REDACTED
Wed Nov 18 15:18:58 CET 2009
Calum wrote:
>
> Someone mentioned something called rex - but I didn't understand what
> part that played.
That's the registered name of the rpc server.
It is a gen_server, so it's not terribly difficult
to figure out how to fake a request without spawning
anything on the remote node.
Try this (not on a production node!):
{rex,RemoteNode} !
{'$gen_call',{dummy_pid,dummy_ref},{call,erlang,halt,[],self()}}.
If you can send a message to any process on a node, you can
do evil things to that node in general.
BR,
Ulf W
--
Ulf Wiger
CTO, Erlang Training & Consulting Ltd
http://www.erlang-consulting.com
More information about the erlang-questions
mailing list