Changes
Jump to navigation
Jump to search
Template:Execution alert/zh (view source)
Revision as of 15:00, 28 September 2019
, 15:00, 28 September 2019Updating to match new version of source page
<noinclude>
<languages/>
</noinclude>{{#switch:
| =
{{Security alert
|problem={{{problem|易受'''[[w:zh:代碼注入#Shell注入|代码注入]]攻击''',因为它将用户输入直接传送到可执行语句,例如exec()、passthru()或include()。 这可能导致'''在您的服务器上运行任意代码'''及其他内容。}}}
|solution={{{solution|严格验证用户输入和/或对所有在可执行语句中有特殊意义的字符应用转义。}}}
|signed={{{signed|{{{1||}}}}}}
|nocat=1
}}{{#if:{{{nocat|}}}||<includeonly>[[Category:Extensions with arbitrary execution vulnerabilities{{#translation:}}]]</includeonly>}}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Execution alert|noshift=1}}
}}<noinclude>
{{Documentation|content=
;Description
: Adds an alert box describing a [[w:Code_injection#Shell_injection|code injection]] vulnerability in including Extension page. Also adds including page to [[:Category:Extensions with arbitrary execution vulnerabilities]]
;Example
:<pre>{{Execution alert|~~~~}}</pre>
}}
[[Category:Alert templates{{#translation:}}|{{PAGENAME}}]]
[[Category:Categorizing templates{{#translation:}}|{{PAGENAME}}]]
[[Category:Extension templates{{#translation:}}|{{PAGENAME}}]]
</noinclude>
<languages/>
</noinclude>{{#switch:
| =
{{Security alert
|problem={{{problem|易受'''[[w:zh:代碼注入#Shell注入|代码注入]]攻击''',因为它将用户输入直接传送到可执行语句,例如exec()、passthru()或include()。 这可能导致'''在您的服务器上运行任意代码'''及其他内容。}}}
|solution={{{solution|严格验证用户输入和/或对所有在可执行语句中有特殊意义的字符应用转义。}}}
|signed={{{signed|{{{1||}}}}}}
|nocat=1
}}{{#if:{{{nocat|}}}||<includeonly>[[Category:Extensions with arbitrary execution vulnerabilities{{#translation:}}]]</includeonly>}}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Execution alert|noshift=1}}
}}<noinclude>
{{Documentation|content=
;Description
: Adds an alert box describing a [[w:Code_injection#Shell_injection|code injection]] vulnerability in including Extension page. Also adds including page to [[:Category:Extensions with arbitrary execution vulnerabilities]]
;Example
:<pre>{{Execution alert|~~~~}}</pre>
}}
[[Category:Alert templates{{#translation:}}|{{PAGENAME}}]]
[[Category:Categorizing templates{{#translation:}}|{{PAGENAME}}]]
[[Category:Extension templates{{#translation:}}|{{PAGENAME}}]]
</noinclude>