Allowed commands

From MLDonkey
Jump to: navigation, search

Description

non-scalar options containing the list of shell commands that are allowed to be executed via allowed_commands is an non-scalar option command. As most of non-scalar options, web_infos cannot be edited or seen from the interface; it can be found in downloads.ini? config file instead.

It is a security feature designed to prevent remote exploitation of local shell through MLdonkey interfaces. Though it is possible to disable it by setting allow_any_command to true, it is highly not recommended.

The commands in this list should have a short execution time, so that the core is not blocked more than necessary.

Default value

allowed_commands = [
        (df, df);
        (ls, \"ls incoming\");]

See also

!, allow_any_command

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox