猫史档案馆


没尾巴的鲸鱼_

没尾巴的鲸鱼_

Lv.1

测试CodemaoAPI

获赞:252收藏:41浏览:3086作品收藏:20
回复帖子评论
上一页2 页 / 共 5下一页

血 衣 的 血 泪 史 中回复

什么css注入,喵的,CSS,层叠样式表,用来管理网站页面布局,就比如说按钮的样式、颜色,文字边框,css是管页面布局的,关服务器什莫事,不信你们去问度娘

2020-12-27T20:17:19 点赞:0

我可能是第一个移植吉吉喵《围棋大赛》的人 中回复

我的意思是我把吉吉喵的代码成功用在了我的地图上,不是复刻!

2022-02-06T18:49:57 点赞:0

@一个路人,你收的到吗 中回复

上香\|/

献花❀❀

_______

|  R.I.P  |

|  一个路人|

________

2022-03-13T10:42:32 点赞:0

[内测]编程猫Code Mc服务器 中回复

来个人啊,这里还有很多明器没挖

我就损点阴德下去开棺呗

陪葬肯定可以卖个好价钱()

2022-03-13T11:22:04 点赞:0

找MC好友 中回复

我玩国际版呀,你的玩家id是什么呀~

2022-03-20T09:39:23 点赞:0

找MC好友 中回复

()

2022-03-20T09:39:29 点赞:0

@没尾巴的鲸鱼 中回复

。。。

2022-04-16T13:27:49 点赞:0

每日一个岛3建图小技巧:满足一定人数后,Game on! 中回复

我错了。。。。我不应该引战的。。。。能原谅我吗。。。。。。

2022-05-22T12:18:46 点赞:0

每日一个岛3建图小技巧:满足一定人数后,Game on! 中回复

qiu你了真的

2022-05-22T12:18:56 点赞:0

每日一个岛3建图小技巧:满足一定人数后,Game on! 中回复

imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E6%88%91%E9%94%99%E4%BA%86.gif"alt="emotion_编程猫_我错了"

2022-05-22T12:19:02 点赞:0

鲸鱼工作室招人! 中回复

。。。。。。

2022-06-30T13:01:03 点赞:0

@没尾巴的鲸鱼 中回复

你回啊

2022-06-30T13:01:43 点赞:0

【7.5TC生日快乐】训练师送来生日祝福~ 中回复

tc生日快乐!话说这帖子都一年了,居然还能被顶上去

2022-07-05T20:18:36 点赞:1

【逝者安息】纪念Technoblade 中回复

逝者安息

2022-07-05T20:19:07 点赞:0

【box3】混沌神域技能点快速获取脚本 中回复

d'd'd'd'd'd'd'd'd'd'd'd

2022-07-13T15:41:50 点赞:0

【box3】混沌神域技能点快速获取脚本 中回复

顶顶顶顶顶顶顶顶顶

2022-07-13T15:42:59 点赞:0

【不(划掉)郑重声明】 中回复

dddddddddddddddddddddddddddddd

2023-01-29T21:33:55 点赞:0

【不(划掉)郑重声明】 中回复

ddddddddddddddddddddddd

2023-01-29T21:33:59 点赞:0

【不(划掉)郑重声明】 中回复

ddddddddddddddddddddddd

2023-01-29T21:34:08 点赞:0

用你们的家乡方言说一句话 中回复

你在干煞莫?知不道啊!(((山东

2023-02-01T18:14:18 点赞:1

史上最难选择题,有大约80%的人回答错误 中回复

“多少”问的是多少钱(几块,修饰)(因为没有指定块数),所以一块钱两块((((

2023-02-01T18:17:06 点赞:0

请各位晒出自己的路人缘 中回复

喜欢van♂ mc+32767

玩Undertale+32767

总分:《Short类型溢出编译不通过》

2023-02-12T21:21:35 点赞:1

整活帖:NomenSandbox-Nomen沙盒,为不受信任的代码提供安全的运行空间 中回复

只要添加3个config项,添加一下这个对象代理替换代码就可以解决constructor的问题(

if (this.constructorVisit) {
    for (el in this.permision) {
        this.permision[el] = new Proxy(this.permision[el], {
            get(target, key) {
                if (target[key] == target.constructor) { return undefined };
                if (r.bannedGet[el].includes(key)) { return undefined };
                return target[key];
            },
            set(target, key, val) {
                if (target[key] == target.constructor) { return undefined };
                if (r.bannedSet[el].includes(key)) { return undefined };
                target[key] = val;
            }
        })
    }
}

2023-05-15T21:31:19 点赞:0

整活帖:NomenSandbox-Nomen沙盒,为不受信任的代码提供安全的运行空间 中回复

弄门🚪,我给沙盒执行提供的接口对象装上了代理,自带防构造器攻击,可以做到隔离特定成员,但while喵循环执行超时咋解决啊,是object有方法监听循环入口事件吗?

class SwingSandbox {
    constructor(config, _code) {
        this.timeout = config.timeout || 10 * 1000;
        this.permision = config.permission || {};
        this.constructorVisit = config.constructorVisit || false;
        this.bannedSet = config.bannedSet || {};
        this.bannedGet = config.bannedGet || {};
        this.finish = false;
        this._cancel = false;
        this.pgm = `try {
            return (async () => {
                let __st = setTimeout(() => {
                    if (sandbox.__finish__) { clearTimeout(__st); return; }
                    sandbox.__complete(new Error('[SwingSandbox] Sandbox Execute Timeout'));
                    throw new Error('[SwingSandbox] Sandbox Execute Timeout');
                }, ${this.timeout});
                with (sandbox) {
                    (async () => { return await ${(typeof _code == "function") ? '(' + _code.toString() + ')()' : _code} })()
                        .then(v => __complete(v))
                        .catch(e => __complete('[SwingSandbox: Error When execute user script]'+e))
                        .finally(() =>  __finish__ = true)
                };
            })()
        } catch (err) { __complete('[SwingSandbox: Error When Runing SwingSandbox]'+err) }`;
    }
    
    __run__() {
        if (this.finish) return;
        return (async () => {
            let r = this;
            Object.assign(this.permision, {
                get __finish__() { return r.finish || r._cancel },
                r,
                setInterval,
                clearInterval,
                setTimeout,
                clearTimeout,
                Error,
                Promise,
            })
            if (this.constructorVisit) {
                for (el in this.permision) {
                    this.permision[el] = new Proxy(this.permision[el], {
                        get(target, key) {
                            if (target[key] == target.constructor) { return undefined };
                            if (r.bannedGet[el].includes(key)) { return undefined };
                            return target[key];
                        },
                        set(target, key, val) {
                            if (target[key] == target.constructor) { return undefined };
                            if (r.bannedSet[el].includes(key)) { return undefined };
                            target[key] = val;
                        }
                    })
                }
            }
            try {
                let result = await new Promise(resolve => {
                    r.permision.__complete = (v) => resolve(v)
                    const sandbox = new Proxy(r.permision, {
                        has() { return true },
                        get(target, key) { return (key == Symbol.unscopables) ? undefined : target[key] }
                    });
                    const cd = new Function('sandbox', r.pgm);
                    cd(sandbox)
                        .then(v => {
                            this.finish = true;
                        }).catch(e => { })
                });
                return result
            } catch (err) {
                return err;
            }
        })()
    }
}

2023-05-15T21:56:04 点赞:0

【求助】PRO地图的UI文字显示是啥API啊!!! 中回复

adddddddddddd

2023-07-13T15:10:30 点赞:0

【求助】PRO地图的UI文字显示是啥API啊!!! 中回复

adddddddddddddddddddddddddddddddddd

2023-07-13T15:10:35 点赞:0

【api透露】 http.fetch用法 中回复

顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶喵

2023-09-23T16:22:39 点赞:0

【api透露】 http.fetch用法 中回复

顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶

2023-09-23T16:22:44 点赞:0

【api透露】 http.fetch用法 中回复

喵喵喵喵喵喵

2023-09-26T20:58:50 点赞:0

【api透露】 http.fetch用法 中回复

d'd'd'd'd'd'd'd'd'd'd'd

2023-09-26T20:59:29 点赞:0