http://45.90.12.31:6507 自己搭建的,有没有大佬试试会不会被逃逸
PS:打开不是 JS Sandbox 或者压根打不开说明被我关了(也可能是有人逃逸删库)
可以共享、可以push的免费邮箱,更可使用自定义域名,完美契合您的各项需求。
[upl-image-preview url=https://www.nodeloc.com/uploads/default/2024-09-12/1726151564-44752-image.png]
@"James"#p83011 看起来你让服务器防火墙拦了(?) 看看端口输对没有,可能是输错了端口
[redacted by DiscourseRedactor · 69bc36a1]
草,我才发现是我服务挂了,重启了!
@"0x24a"#p83014
@"James"#p83011
try again
[redacted by DiscourseRedactor · cdc0e16c]
well,报错了,稍等一会
@"0x24a"#p83017 非常抱歉哈()现在再看看呢
你们这么狠吗() [upl-image-preview url=https://www.nodeloc.com/uploads/default/2024-09-12/1726151999-162435-image.png]
[redacted by DiscourseRedactor · d781761f]
@"cmd1152"#p83023 刚提示 ls 要显示的文件过多了
[redacted by DiscourseRedactor · 7246d38d]
@"James"#p83026 那个是脚本资源超出限制() 你写个 while(1){} 也会触发
@"0x24a"#p83024 setTimout和setInterval会跳出沙箱环境()
[redacted by DiscourseRedactor · 3604f914]
@"0x24a"#p83034 会()
[size=25]~~[color=red]~~这是玩的个啥啊 ,密室逃脱 ?
[redacted by DiscourseRedactor · 41965248]
兼容了一下console输出 [upl-image-preview url=https://www.nodeloc.com/uploads/default/2024-09-13/1726238744-200291-image.png]
(思考) [upl-image-preview url=https://www.nodeloc.com/uploads/default/2024-09-14/1726306348-251210-image.png] What the Hell
@"cmd1152"#p83985 密码被人改了?
@"James"#p83990 lo 的 AuthBot_notice 和 loe 的 AuthBot 都没了,确认了服务器彻底凉了 [upl-image-preview url=https://www.nodeloc.com/uploads/default/2024-09-14/1726306588-68216-image.png] [upl-image-preview url=https://www.nodeloc.com/uploads/default/2024-09-14/1726306620-133005-image.png]
@"James"#p83990 直接连不上了
我还没玩呢
@"juddatlas"#p84008
@"James"#p83990 换了个托管提供商,复活了
@"James"#p83990
@"juddatlas"#p84008 一个示范代码:
```js function generateMinefield(width, height, mineCount) { // 中文数字数组 const chineseNumbers = ['零', '一', '二', '三', '四', '五', '六', '七', '八', '九'];
// 初始化棋盘 const minefield = []; for (let i = 0; i < height; i++) { minefield.push(new Array(width).fill(0)); // 初始化为0,表示未揭开 } // 随机放置雷 let minesPlaced = 0; while (minesPlaced < mineCount) { const x = Math.floor(Math.random() * width); const y = Math.floor(Math.random() * height); if (minefield[y][x] !== '雷') { minefield[y][x] = '雷'; minesPlaced++; } } // 计算数字格子 for (let y = 0; y < height; y++) { for (let x = 0; x < width; x++) { if (minefield[y][x] === '雷') continue; let count = 0; for (let dx = -1; dx <= 1; dx++) { for (let dy = -1; dy <= 1; dy++) { const nx = x + dx; const ny = y + dy; if (nx >= 0 && nx < width && ny >= 0 && ny < height && minefield[ny][nx] === '雷') { count++; } } } minefield[y][x] = chineseNumbers[count]; } } return minefield;
}
function printMinefield(minefield) { minefield.forEach(row => { console.log(row.map(cell => { return cell === '雷' ? '||雷||' : ||${cell}||; // 输出地图 //return cell === '雷' ? '?' : [?](http:// "${cell}"); // 输出地图 }).join(' ')); }); }
||${cell}||
[?](http:// "${cell}")
// 输入参数 const width = 10; const height = 10; const mineCount = 25;
// 生成并打印扫雷棋盘 const minefield = generateMinefield(width, height, mineCount); printMinefield(minefield); ```
结果: raw:
``` [console/log] ||一|| ||二|| ||二|| ||二|| ||雷|| ||二|| ||二|| ||二|| ||一|| ||零|| [console/log] ||二|| ||雷|| ||雷|| ||四|| ||四|| ||五|| ||雷|| ||雷|| ||二|| ||零|| [console/log] ||二|| ||雷|| ||四|| ||雷|| ||雷|| ||雷|| ||雷|| ||雷|| ||三|| ||零|| [console/log] ||二|| ||二|| ||三|| ||二|| ||四|| ||五|| ||雷|| ||雷|| ||二|| ||零|| [console/log] ||三|| ||雷|| ||三|| ||一|| ||二|| ||雷|| ||四|| ||三|| ||三|| ||二|| [console/log] ||雷|| ||雷|| ||雷|| ||一|| ||三|| ||雷|| ||四|| ||二|| ||雷|| ||雷|| [console/log] ||二|| ||三|| ||二|| ||一|| ||二|| ||雷|| ||三|| ||雷|| ||三|| ||二|| [console/log] ||零|| ||零|| ||零|| ||零|| ||一|| ||一|| ||二|| ||一|| ||一|| ||零|| [console/log] ||一|| ||一|| ||一|| ||零|| ||零|| ||零|| ||零|| ||零|| ||一|| ||一|| [console/log] ||一|| ||雷|| ||一|| ||零|| ||零|| ||零|| ||零|| ||零|| ||一|| ||雷||
RESULT: undefined ```
[console/log] ~~||一|| ||二|| ||二|| ||二|| ||雷|| ||二|| ||二|| ||二|| ||一|| ||零|| [console/log] ||二|| ||雷|| ||雷|| ||四|| ||四|| ||五|| ||雷|| ||雷|| ||二|| ||零|| [console/log] ||二|| ||雷|| ||四|| ||雷|| ||雷|| ||雷|| ||雷|| ||雷|| ||三|| ||零|| [console/log] ||二|| ||二|| ||三|| ||二|| ||四|| ||五|| ||雷|| ||雷|| ||二|| ||零|| [console/log] ||三|| ||雷|| ||三|| ||一|| ||二|| ||雷|| ||四|| ||三|| ||三|| ||二|| [console/log] ||雷|| ||雷|| ||雷|| ||一|| ||三|| ||雷|| ||四|| ||二|| ||雷|| ||雷|| [console/log] ||二|| ||三|| ||二|| ||一|| ||二|| ||雷|| ||三|| ||雷|| ||三|| ||二|| [console/log] ||零|| ||零|| ||零|| ||零|| ||一|| ||一|| ||二|| ||一|| ||一|| ||零|| [console/log] ||一|| ||一|| ||一|| ||零|| ||零|| ||零|| ||零|| ||零|| ||一|| ||一|| [console/log] ||一|| ||雷|| ||一|| ||零|| ||零|| ||零|| ||零|| ||零|| ||一|| ||~~雷||
RESULT: undefined
@"cmd1152"#p84079 很好玩哎
@"James"#p84080 我刚刚改了改css,现在有点……极客风? [upl-image-preview url=https://www.nodeloc.com/uploads/default/2024-09-14/1726329395-814056-image.png] [upl-image-preview url=https://www.nodeloc.com/uploads/default/2024-09-14/1726329370-757842-image.png]
🤓👆经过测试,连续调用console.log()达到217次时,便会超出限制资源导致脚本无法运行
@"Yucho"#p84301 还有一个 </s>console.log('呜'.repeat(2**3**3))<e>
</s>console.log('呜'.repeat(2**3**3))<e>
可以共享、可以push的免费邮箱,更可使用自定义域名,完美契合您的各项需求。
30 条回复
排序