摘要: 可以通过 exports 或者 module.exports 对外暴露对象,但如果同时操作了它们,在 require() 一个模块时,得到的永远是其 module.exports 指向的对象 不建议将 exports 与 module.exports 混合使用 举个栗子,node-test.js 文 阅读全文
posted @ 2025-08-07 19:39 鹿鹿脖子长 阅读(26) 评论(0) 推荐(0)
摘要: 1、助记词:一对多 助记词,12个单词,一定记牢,不要泄露,它相当于你的私钥,可以生成N多个地址 2、私钥:一对一 3、JSON-file:一对一。一个JSON文件由一个密码保护,可以导入到metamask或者etherum wallet 阅读全文
posted @ 2025-02-03 11:31 鹿鹿脖子长 阅读(16) 评论(0) 推荐(0)
摘要: 自动推断类型与变量的赋值问题 // 显示定义变量的类型 var block Block bci.db.View(func(tx *bolt.Tx) error { bucket := tx.Bucket([]byte(blockBucket)) if bucket == nil { log.Pani 阅读全文
posted @ 2024-12-10 17:31 鹿鹿脖子长 阅读(8) 评论(0) 推荐(0)
摘要: 如果在 pom.xml 中没有指定插件的 phase,那么它默认在哪个 phase 执行呢 <plugin> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <version> 阅读全文
posted @ 2023-11-21 19:34 鹿鹿脖子长 阅读(130) 评论(0) 推荐(0)
摘要: 因老家旧房子翻新装修,陪我的母亲去逛石材店铺,在城中村的一家石材店铺,见到一位1米5的老板 阅读全文
posted @ 2023-04-05 14:42 鹿鹿脖子长 阅读(44) 评论(0) 推荐(0)
摘要: dos2unix jvm.options 阅读全文
posted @ 2020-07-10 17:12 鹿鹿脖子长 阅读(2077) 评论(0) 推荐(0)
摘要: out-of-band XXE 带外实体注入(盲注) Payload 阅读全文
posted @ 2020-07-10 11:28 鹿鹿脖子长 阅读(716) 评论(0) 推荐(0)
摘要: 在DTD内部子集中,参数实体的引用不能和文档元素定义混合在一起,但是该规则对于外部DTD不受影响 阅读全文
posted @ 2020-06-30 16:24 鹿鹿脖子长 阅读(166) 评论(0) 推荐(0)