[erlang-questions] Erlang introspection

Mazen Harake <>
Wed Nov 26 11:15:01 CET 2008


Hint:
Use a wildcard-kind-of whitelist which accepts M:F/N... Example:

string:*/* OR short version: string

or perhaps:

*:module_info/*

... Whitelisting seems easy, configuring it may be a little harder :D

/M

Christian wrote:
> 2008/11/26 Charles Ahn <>:
>   
>> Isn't there also a problem about memory use in this case? Because atoms are
>> never garbage collected, if this service runs too long you could completely
>> run out of memory as people try all kinds of weird function names.
>>     
>
> Isnt that the least of problems if you have malicious users able to
> call arbitrary functions in your node?
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>   




More information about the erlang-questions mailing list