/
index.html
31 lines (27 loc) · 9.57 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="X-UA-Compatible" content="IE=edge"><meta name="author" content="zhangMini"><title>Mini's blog</title><meta name="description" content="A Blog Powered By Hexo"><meta name="keywords" content="Security, life"><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><meta content="yes" name="apple-mobile-web-app-capable"><meta content="black" name="apple-mobile-web-app-status-bar-style"><meta content="telephone=no" name="format-detection"><meta name="renderer" content="webkit"><link rel="short icon" href="/images/favicon.png" type="image/x-icon"><link rel="stylesheet" href="/css/style.css"><link rel="stylesheet" href="/css/blog_basic.css"><link rel="stylesheet" href="/css/font-awesome.min.css"><link rel="alternate" type="application/atom+xml" title="ATOM 1.0" href="/atom.xml"><meta name="generator" content="Hexo 6.3.0"></head><body><div class="sidebar animated fadeInDown"><div class="logo-title"><div class="title"><img src="/images/logo@2x.png" style="width:127px;"><h3 title=""><a href="/">Mini's blog</a></h3><div class="description"><p>Nothing lasts forever.</p></div></div></div><ul class="social-links"></ul><div class="footer"><a target="_blank" href="/"><span>Theme by </span></a><a target="_blank" rel="noopener" href="https://www.caicai.me"> CaiCai </a><span>&</span><a target="_blank" rel="noopener" href="https://github.com/Ben02/hexo-theme-Anatole"> Ben</a><div class="by_farbox"><a href="https://hexo.io/zh-cn/" target="_blank">Proudly published with Hexo!</a></div></div></div><div class="main"><div class="page-top animated fadeInDown"><div class="nav"><li><a class="current" href="/">首页</a></li><li><a href="/about">关于</a></li><li><a href="/archives">归档</a></li><li><a href="/tags">tags</a></li></div><div class="information"><div class="back_btn"><li><a class="fa fa-chevron-left" onclick="window.history.go(-1)" style="display:none;"> </a></li></div><div class="avatar"><img src="/images/favicon.png"></div></div></div><div class="autopagerize_page_element"><div class="content"><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2023/10/17/Flashloan-attack-event-analysis/">一次闪电贷攻击分析</a></h3></div><div class="post-content"><p>BXH 攻击事件分析
攻击者地址:0x81c63d821b7cdf70c61009a81fef8db5949ac0c9
攻击者合约地址:0x4e77df7b9cdcecec4115e59546f3eacba095a89f
被攻击合约地址:0x27539b1dee647b38e1b987c41c5336b1a8dc...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2023-10-17</span><i class="fa fa-tag"></i><a class="tag" href="/tags/web3/" title="web3">web3 </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2023/10/12/GO-struct-interface/">GO入门(4) - struct & interface</a></h3></div><div class="post-content"><p>结构体结构体内嵌使用结构体内嵌是一种面向对象编程思想中的继承关系
12345678910111213141516type Book struct { title string author string num int id int}type BookBorrow struct { ...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2023-10-12</span><i class="fa fa-tag"></i><a class="tag" href="/tags/GO/" title="GO">GO </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2023/10/12/GO-Dial/">GO入门(3) - net.Dial()</a></h3></div><div class="post-content"><p>net.Dial()当我们想要使用协议建立连接时,只需要调用 net.Dial() 函数就可以了,它接受两个参数,第一个参数是协议名,第二个参数是地址,返回值是一个连接对象 net.conn 和一个错误对象 err
1conn, err := net.Dial("tcp", "192...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2023-10-12</span><i class="fa fa-tag"></i><a class="tag" href="/tags/GO/" title="GO">GO </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2023/10/09/GO-error/">GO入门(2) - 常见问题</a></h3></div><div class="post-content"><p>Exported method with the unexported return type(使用了未导出的函数或类型)在Go语言中,如果一个方法的名字首字母大写,则该方法是公开的(或称为已导出的),可以在包外部被访问和调用
如果一个方法的名字首字母小写,则该方法是私有的(或称为未导出的),只能在包内部访问和调...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2023-10-09</span><i class="fa fa-tag"></i><a class="tag" href="/tags/GO/" title="GO">GO </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2023/10/07/TLS/">TLS</a></h3></div><div class="post-content"><p>浏览器建立SSL/TLS协议连接,实际上就是使用多个子加密协议组合,最终选择合适的加密算法进行数据安全传输,这种算法组合本身被叫做 “密码套件”
TLS 密码套件命名TLS 的密码套件命名看起来很长,但是实际上非常规范,格式很固定。基本的形式是
密钥交换算法 + 签名算法 + 对称加密算法 + 摘要算...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2023-10-07</span><i class="fa fa-tag"></i><a class="tag" href="/tags/web/" title="web">web </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2023/09/21/Blockchain-attacks/">区块链安全</a></h3></div><div class="post-content"><p>以太坊合约安全问题Solidity常见漏洞类型
Reentrancy(重入攻击)
Integer Overflow and Underflow(整数溢出和下溢)
Access Contorl(访问控制)
Unchecked Return Values For Low Level Calls(未严格判断不安全函数调...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2023-09-21</span><i class="fa fa-tag"></i><a class="tag" href="/tags/Blockchain/" title="Blockchain">Blockchain </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2023/09/16/Solidity/">Solidity</a></h3></div><div class="post-content"><p>智能合约以太坊的智能合约是运行在 以太坊虚拟机(EVM, Ethereum Virtual Machine) 上的代码,EVM是智能合约的沙盒,合约存储在以太坊的区块链上,并被编译成 EVM字节码 。EVM字节码是一种低级的面向栈的语言,类似于汇编语言,EVM字节码可以通过以太坊虚拟机执行。
SoliditySo...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2023-09-16</span><i class="fa fa-tag"></i><a class="tag" href="/tags/Blockchain/" title="Blockchain">Blockchain </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2023/08/23/env-version/">MAC多环境管理</a></h3></div><div class="post-content"><p>MAC多环境管理因为这段时间下了很多工具,有的工具需要用到不同版本的java,所以搞了一下MAC版本下的java环境管理,完事后突然忘了conda管理python环境的命令是什么了,每次用的时候需要查感觉很麻烦,于是打算在这里整理一下
javaMAC管理java版本的工具是 jenv ,通过brew下载
下载完后...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2023-08-23</span><i class="fa fa-tag"></i><a class="tag" href="/tags/common/" title="common">common </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2023/08/12/mac-Shortcut-keys/">Vscode - MAC快捷键</a></h3></div><div class="post-content"><p>MAC常用快捷键 For Vscode
选中当前行
cmd + l
选中当前选择单词的所有匹配项
cmd + shift + l
光标移动到当前行最前面
cmd + left
光标移动到当前行最后面
cmd + right
添加光标(上下左右)
cmd + shift + option...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2023-08-12</span><i class="fa fa-tag"></i><a class="tag" href="/tags/Common/" title="Common">Common </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2023/08/10/goroutine/">GO入门(1) - goroutine & Context</a></h3></div><div class="post-content"><p>goroutineGo语言的特色之一就是支持协程。协程是一种轻量级的线程,其在操作系统中通常被称为用户态线程,因为它们是由用户程序自己实现的,而不是由操作系统内核实现的。与传统的线程相比,协程具有以下优点:占用资源少、切换成本低、并发操作高效。
在程序启动时,Go 运行时系统会创建一个主协程,该协程负责程序的初始...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2023-08-10</span><i class="fa fa-tag"></i><a class="tag" href="/tags/GO/" title="GO">GO </a></div></div></div></div><div class="pagination"><ul class="clearfix"><li class="next pagbuttons"><a class="btn" role="navigation" href="/page/2/">下一页</a></li></ul></div></div></div></div><script src="/js/jquery.js"></script><script src="/js/jquery-migrate-1.2.1.min.js"></script><script src="/js/jquery.appear.js"></script></body></html>