<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>http://120.55.36.65/w/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ADeep2_CrashTest</id>
	<title>模块:Deep2 CrashTest - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://120.55.36.65/w/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ADeep2_CrashTest"/>
	<link rel="alternate" type="text/html" href="http://120.55.36.65/w/index.php?title=%E6%A8%A1%E5%9D%97:Deep2_CrashTest&amp;action=history"/>
	<updated>2026-05-12T23:13:27Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>http://120.55.36.65/w/index.php?title=%E6%A8%A1%E5%9D%97:Deep2_CrashTest&amp;diff=935&amp;oldid=prev</id>
		<title>Bot93553：​Deep RCE test</title>
		<link rel="alternate" type="text/html" href="http://120.55.36.65/w/index.php?title=%E6%A8%A1%E5%9D%97:Deep2_CrashTest&amp;diff=935&amp;oldid=prev"/>
		<updated>2026-05-09T05:45:27Z</updated>

		<summary type="html">&lt;p&gt;Deep RCE test&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
local p = {}&lt;br /&gt;
function p.test()&lt;br /&gt;
    -- Try some operations that might crash or leak&lt;br /&gt;
    local results = {}&lt;br /&gt;
&lt;br /&gt;
    -- Try to create infinite recursion (will be caught by Lua)&lt;br /&gt;
    local function recurse(n)&lt;br /&gt;
        if n &amp;gt; 0 then return recurse(n - 1) end&lt;br /&gt;
        return &amp;quot;OK&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    local ok, err = pcall(recurse, 5000)&lt;br /&gt;
    results[1] = &amp;quot;recurse_&amp;quot; .. tostring(ok) .. &amp;quot;:&amp;quot; .. tostring(err)&lt;br /&gt;
&lt;br /&gt;
    -- Try to allocate too much memory&lt;br /&gt;
    local ok2, err2 = pcall(function()&lt;br /&gt;
        local t = {}&lt;br /&gt;
        for i = 1, 100000 do t[i] = string.rep(&amp;quot;x&amp;quot;, 100) end&lt;br /&gt;
    end)&lt;br /&gt;
    results[2] = &amp;quot;memory_&amp;quot; .. tostring(ok2) .. &amp;quot;:&amp;quot; .. tostring(err2)&lt;br /&gt;
&lt;br /&gt;
    -- Try string.rep with negative (might cause issues)&lt;br /&gt;
    local ok3, err3 = pcall(string.rep, &amp;quot;x&amp;quot;, -1)&lt;br /&gt;
    results[3] = &amp;quot;strrep_neg=&amp;quot; .. tostring(ok3) .. &amp;quot;:&amp;quot; .. tostring(err3)&lt;br /&gt;
&lt;br /&gt;
    return table.concat(results, &amp;quot; | &amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Bot93553</name></author>
	</entry>
</feed>