[erlang-questions] A less trusting Erlang.

Ulf Wiger <>
Tue Oct 13 08:01:28 CEST 2009


Jacob Torrey wrote:
> Could perhaps the pid generation in the VM be made more random,
> therefore you can only gain access to pids that you know the name to?
> This seems like an obvious (and pretty trivial) solution to obscure and
> increase the security of the Erlang system.

You don't even need to bother with the pids:

{rex,Node} ! {'$gen_cast',{cast,M,F,A,user}}

...will allow you to execute any function on Node.

BR,
Ulf W
-- 
Ulf Wiger
CTO, Erlang Training & Consulting Ltd
http://www.erlang-consulting.com


More information about the erlang-questions mailing list