-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
150 lines (139 loc) · 18.2 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"><meta name="author" content="John Doe"><meta name="renderer" content="webkit"><meta name="copyright" content="John Doe"><meta name="keywords" content="Hexo"><meta name="description" content=""><meta name="Cache-Control" content="no-cache"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><title>Jche143</title><link rel="stylesheet" href="/css/style.css?v=2018.7.9"><link rel="stylesheet" href="/css/animation.css?v=2018.7.9"><link rel="icon" href="/img/assets/favicon.ico"><link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css?version=1.5.6"><!-- scripts--><script>(function( w ){
"use strict";
// rel=preload support test
if( !w.loadCSS ){
w.loadCSS = function(){};
}
// define on the loadCSS obj
var rp = loadCSS.relpreload = {};
// rel=preload feature support test
// runs once and returns a function for compat purposes
rp.support = (function(){
var ret;
try {
ret = w.document.createElement( "link" ).relList.supports( "preload" );
} catch (e) {
ret = false;
}
return function(){
return ret;
};
})();
// if preload isn't supported, get an asynchronous load by using a non-matching media attribute
// then change that media back to its intended value on load
rp.bindMediaToggle = function( link ){
// remember existing media attr for ultimate state, or default to 'all'
var finalMedia = link.media || "all";
function enableStylesheet(){
link.media = finalMedia;
}
// bind load handlers to enable media
if( link.addEventListener ){
link.addEventListener( "load", enableStylesheet );
} else if( link.attachEvent ){
link.attachEvent( "onload", enableStylesheet );
}
// Set rel and non-applicable media type to start an async request
// note: timeout allows this to happen async to let rendering continue in IE
setTimeout(function(){
link.rel = "stylesheet";
link.media = "only x";
});
// also enable media after 3 seconds,
// which will catch very old browsers (android 2.x, old firefox) that don't support onload on link
setTimeout( enableStylesheet, 3000 );
};
// loop through link elements in DOM
rp.poly = function(){
// double check this to prevent external calls from running
if( rp.support() ){
return;
}
var links = w.document.getElementsByTagName( "link" );
for( var i = 0; i < links.length; i++ ){
var link = links[ i ];
// qualify links to those with rel=preload and as=style attrs
if( link.rel === "preload" && link.getAttribute( "as" ) === "style" && !link.getAttribute( "data-loadcss" ) ){
// prevent rerunning on link
link.setAttribute( "data-loadcss", true );
// bind listeners to toggle media back
rp.bindMediaToggle( link );
}
}
};
// if unsupported, run the polyfill
if( !rp.support() ){
// run once at least
rp.poly();
// rerun poly on an interval until onload
var run = w.setInterval( rp.poly, 500 );
if( w.addEventListener ){
w.addEventListener( "load", function(){
rp.poly();
w.clearInterval( run );
} );
} else if( w.attachEvent ){
w.attachEvent( "onload", function(){
rp.poly();
w.clearInterval( run );
} );
}
}
// commonjs
if( typeof exports !== "undefined" ){
exports.loadCSS = loadCSS;
}
else {
w.loadCSS = loadCSS;
}
}( typeof global !== "undefined" ? global : this ) );</script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" defer></script><script src="/js/main.js?v=2018.7.9" defer></script><!-- fancybox--><link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'"><script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js" defer></script><!-- busuanzi--><script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script><meta name="generator" content="Hexo 5.4.0"><link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">
</head><body><section class="profile-close" id="cxo-profile"><div class="profile-avatar"><i class="fa fa-caret-left"></i><img src="/img/assets/shark.jpg"></div><!--.profile-saying
i.fa.fa-comment
.saying--><div class="cxo-profile-inner"><div class="profile-name">Jche</div><div class="profile-signature">qwqqqqqq</div><div class="friends"><div>FRIENDS</div><span><a href="//qjx321.github.io" target="_black">friendA</a></span><span><a href="47.103.121.189" target="_black">friendB</a></span><span><a href="//github.com/" target="_black">friendC</a></span></div><div class="read-progress"></div></div></section><header id="cxo-intro" style="height: 70vh;background-image: url(/img/intro/index-bg.png);"><nav id="cxo-intro-nav"><section><div class="intro-nav-title"><a href="/">n 3^07 !</a></div><div class="intro-nav-label-box"><a href="/">Home</a><a href="/about/">About</a><a href="/archives/">Archives</a><a href="/tags/">Tags</a></div><i class="fa fa-bars intro-nav-menu"><div class="intro-nav-drop"><a href="/">Home</a><a href="/about/">About</a><a href="/archives/">Archives</a><a href="/tags/">Tags</a></div></i><div class="clear"></div></section></nav><h1>n 3^07 !</h1><h5>欢迎你大驾光临我的博客捏</h5><div class="intro-social"><a class="fa fa-github" href="//github.com/Jche143" target="_blank" title="github"></a><a class="fa fa-weibo" href="//www.weibo.com" target="_blank" title="weibo"></a><a class="fa fa-facebook" href="//www.facebook.com" target="_blank" title="facebook"></a><a class="fa fa-twitter" href="//twitter.com" target="_blank" title="twitter"></a><a class="fa fa-rss" href="/atom.xml" target="_blank" title="rss"></a></div></header><article class="cxo-up" id="cxo-content-outer"><section id="cxo-content-inner"><section id="recent-posts"><div class="recent-post-item"><div class="post-title"><a href="/2022/05/11/post%E3%80%8AUnicorn%E7%AE%80%E6%98%93%E4%BD%BF%E7%94%A8%E3%80%8B/">Unicorn简易使用</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2022-05-11T08:27:19.000Z">2022-05-11</time></div><div class="recent-post-content">notion链接:https://massive-delphinium-20c.notion.site/Unicorn-e96707bc165846eda26ff6b2af8df636
参考:https://bbs.pediy.com/thread-253868.htm
</div><div class="recent-post-tags"><a class="post-tag fa fa-tag" href="javascript:void(0)" date-tags="tea模拟执行&unicorn"> tea模拟执行&unicorn</a></div><div class="read-more"><a class="more" href="/2022/05/11/post%E3%80%8AUnicorn%E7%AE%80%E6%98%93%E4%BD%BF%E7%94%A8%E3%80%8B/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/2022/03/04/Unity3D-Frida-Hook/">Unity3D + Frida + Hook</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2022-03-04T06:50:54.000Z">2022-03-04</time></div><div class="recent-post-content">Unity3D + Frida +Hook首先,unity3d是一款游戏引擎,主要开发语言是c#
unity3d编译后代码文件有两种运行模式:
1.c#字节码模式,代码位于Assembly-CSharp.dll直接用dnspy反编译
2.AOT预编译模式,代码位于il2cpp.so
这里我们主要来研究il2cpp.so的逆向,该文件是一个可执行文件,其代码是游戏的C#字节码编译成的原生汇编代码。AOT编译主要是为了优化性能,但同时也增加了逆向难度。
il2cpp机制将C#中所有的类型信息保存到global-metadata.dat的文件,通过解析global-metadata文件,可以获得C# ...</div><div class="recent-post-tags"><a class="post-tag fa fa-tag" href="javascript:void(0)" date-tags="frida hook"> frida hook</a></div><div class="read-more"><a class="more" href="/2022/03/04/Unity3D-Frida-Hook/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/2022/02/18/DLL/">演练和使用自己的动态链接库C++</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2022-02-18T12:36:30.000Z">2022-02-18</time></div><div class="recent-post-content">原文链接https://docs.microsoft.com/zh-cn/cpp/build/walkthrough-creating-and-using-a-dynamic-link-library-cpp?view=msvc-170
演练和使用自己的动态链接库C++1.在visual studio中创建DLL项目。
2.将导出的函数和变量添加到该DLL。
3.在Visual Studio 中创建一个控制台应用项目。
4.在该控制台应用中使用从DLL导入的函数和变量。
5.运行已完成的应用。
本演练中两个方案,一个生成 DLL,另一个生成客户端应用。 DLL 使用 C 调用约定。 只要平台、 ...</div><div class="recent-post-tags"><a class="post-tag fa fa-tag" href="javascript:void(0)" date-tags="DLL"> DLL</a></div><div class="read-more"><a class="more" href="/2022/02/18/DLL/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/2022/02/16/csapp-8/">csapp-8</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2022-02-16T08:54:57.000Z">2022-02-16</time></div><div class="recent-post-content">第8章进程异常是允许操作系统提供进程概念的基本构造块
在前面的章节也有提到过进程,这是一个抽象的概念,在运行程序是我们会得到一个假象就好像我们的程序是系统中运行的唯一的程序一样。这些假象都是通过进程的概念提供给我们的。
进程的定义就是一个执行中程序的实例。系统中每个程序都运行在某个进程的上下文中,而上下文是有程序正确运行所需的状态组成的。
每次用户向shell输入可执行文件的名字运行程序时shell就会创建一个新的进程,然后在上下文中运行这个可执行目标文件。
进程提供给应用程序的关键抽象由两个部分组成。
1.一个独立的逻辑控制流,构造了程序独占使用处理器的假象
2.一个私有的地址空间,构造了程 ...</div><div class="read-more"><a class="more" href="/2022/02/16/csapp-8/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/2022/02/16/angr-%E7%90%86%E8%A7%A3%E7%AC%A6%E5%8F%B7%E6%89%A7%E8%A1%8C/">angr-理解符号执行</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2022-02-16T04:10:22.000Z">2022-02-16</time></div><div class="recent-post-content">理解符号执行-angr符号类似于我们在计算未知数x的值,我们可以通过路径来求解未知数。通过判断条件来选择路径,当符号满足设定条件时即走了正确的路径。
我们需要通过符号执行来达到一个目标,假设这个目标是走到success这一步。
那么我们符号执行的步骤就相当明了了。
第一步:找到符号。一般这里我们的未知数,即符号就是我们的input。
第二步:找到路径(分支)。
第三步:评估每条路径。
由于路径和二进制文件的复杂度提升,我们给出了更好的选择来通过电脑来评估路径,于是就有了angr
Angr是一个符号执行引擎。
它可以:
遍历二进制文件(并遵循任何分支)
搜索符合给定条件的程序状态
解给定路径(和 ...</div><div class="recent-post-tags"><a class="post-tag fa fa-tag" href="javascript:void(0)" date-tags="angr"> angr</a></div><div class="read-more"><a class="more" href="/2022/02/16/angr-%E7%90%86%E8%A7%A3%E7%AC%A6%E5%8F%B7%E6%89%A7%E8%A1%8C/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/2022/02/09/C-Reserve/">C++ Reserve 阅读</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2022-02-09T07:46:13.000Z">2022-02-09</time></div><div class="recent-post-content">前言这是一个关于c++逆向的阅读材料,我大致做一些笔记,因为是全英文所以基本是翻译)
介绍c++中主要是类,在我们理解c++时,对于c++目标的主要部分(类)以及这些部分如何联系在一起(类关系)有一个宏观的概念。
为了实现这种理解,我们必须能够:
(1)识别类
(2)识别类之间的关系
(3)识别类成员。
而人工分析检索c++类信息方法和自动化是这篇文章要讨论的内容。
手动分析c++二进制文件本节介绍分析c++二进制文件的手动方法;它特别侧重于识别/提取c++类及其对应成员(变量、函数、构造函数/析构函数)和关系。请注意
首先,我们需要识别这是否是一个c++文件,或者运用了c++的类,下面几种可 ...</div><div class="recent-post-tags"><a class="post-tag fa fa-tag" href="javascript:void(0)" date-tags="-----"> -----</a></div><div class="read-more"><a class="more" href="/2022/02/09/C-Reserve/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/2022/01/19/pwnstart/">pwn入门体验</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2022-01-18T17:19:57.000Z">2022-01-19</time></div><div class="recent-post-content">Watertoday i do nothing but i open the test of pwn, so……,my first blog in 2022
Start2022的第一篇博客,因为没接触过pwn就从攻防世界的新手题跟着做开始,找了一个视频跟着学和写,刚接触下来还是觉得比较有意思,但是听说看东西很折磨人)
Point最开始的做题步骤首先是查位数,逆向中一般直接使用DIE就可以,在pwn里面可以直接file来查看文件的位数,这在编写exp文件的时候需要。然后是checksec命令,帮助我们看开了甚么保护。但打保护这方面我还没有学到,记得查就对了,养成好习惯。
121 -- file ...</div><div class="recent-post-tags"><a class="post-tag fa fa-tag" href="javascript:void(0)" date-tags="0-1--pwn"> 0-1--pwn</a></div><div class="read-more"><a class="more" href="/2022/01/19/pwnstart/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/2021/12/30/XXTEA-python/">XXTEA python</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2021-12-30T07:57:58.000Z">2021-12-30</time></div><div class="recent-post-content">XXTEA python 加密/解密脚本Startnormal24里面终于遇到了xxtea了,新加密get,找比较好的解密脚本也花了不少时间。另外还有tea和xtea的,这个写的头疼等摆一会有空补上。
参考http://www.yaowenming.com/A/8Bz8qZ6XJx/
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465import struct_DELTA = 0x9E3779B9 #固 ...</div><div class="read-more"><a class="more" href="/2021/12/30/XXTEA-python/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/2021/12/18/postcsapp-pra1/">csapp-pra1</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2021-12-18T07:50:46.000Z">2021-12-18</time></div><div class="recent-post-content">Starts断断续续总算把csapp的第一章看完了,算是非常基础的介绍部分,介绍了很多计算机硬件的知识和常识,以及后面章节会涉及到的一些学习的内容。
编译系统说实话,了解原理还算比较有趣的,从helloworld程序讲起。从源文件到编译成可执行目标文件需要经过四个阶段,分别由预处理器,编译器,汇编器,链接器,他们构成了编译系统。而我们需要去了解编译系统是如何工作的,这样才能够实现优化程序性能,理解链接时出现的错误,避免安全漏洞。里面会用到汇编,链接和算法的知识,在我们写程序时常常会有运行复杂和安全性的区别,了解编译系统是至关重要的。
处理器读取解释指令当编译结束后系统硬件需要工作来执行可执行文 ...</div><div class="recent-post-tags"><a class="post-tag fa fa-tag" href="javascript:void(0)" date-tags="csapp"> csapp</a></div><div class="read-more"><a class="more" href="/2021/12/18/postcsapp-pra1/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/2021/12/15/%E5%A4%9A%E4%B8%AAELF%E6%96%87%E4%BB%B6%E5%88%86%E6%9E%90%E5%A4%84%E7%90%86%E4%B8%8E%E8%87%AA%E8%A7%A3%E5%AF%86IDApython%E4%BD%BF%E7%94%A8/">多个ELF文件分析处理与自解密IDApython使用</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2021-12-15T06:33:18.000Z">2021-12-15</time></div><div class="recent-post-content">starts这篇其实是对normal11的wp的一个复现,因为学习到了很多没接触过的东西所以想做一个归纳,以后查看的时候也比较方便。wp写的比较简略,只是给了一个大致的思路,需要搞懂还是要手操一遍才会发现自己哪里不会。
多可执行文件的分析处理首先是关键代码不在main里面,main函数里有很复杂的代码,看起来并不像关键代码。这里可以在start开始下断点然后跟进看会先走哪里。跟着wp查看init(main)函数前调用的函数,点进去看调用了一个可疑函数sub_400976,然后通过问和查资料了解了一下这段代码的意思。
就是从结尾开始读取12936个字节,当作文件运行。也就是这个文件里有两个可 ...</div><div class="recent-post-tags"><a class="post-tag fa fa-tag" href="javascript:void(0)" date-tags="归纳"> 归纳</a></div><div class="read-more"><a class="more" href="/2021/12/15/%E5%A4%9A%E4%B8%AAELF%E6%96%87%E4%BB%B6%E5%88%86%E6%9E%90%E5%A4%84%E7%90%86%E4%B8%8E%E8%87%AA%E8%A7%A3%E5%AF%86IDApython%E4%BD%BF%E7%94%A8/#more">ReadMore</a></div><hr></div></section><nav class="cxo-page-nav"><span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="extend next" rel="next" href="/page/2/">NEXT &#62;</a></nav></section></article><footer id="cxo-footer-outer"><div id="cxo-footer-inner"><p class="footer-container"><span>Site by </span><a target="_blank" rel="noopener" href="http://hexo.io"><span>Hexo</span></a><span> | theme </span><a target="_blank" rel="noopener" href="https://github.com/Longlongyu/hexo-theme-Cxo"><span>Cxo</span></a></p><i class="fa fa-user"> </i><span id="busuanzi_value_site_uv"></span><span> | </span><i class="fa fa-eye"> </i><span id="busuanzi_value_site_pv"></span></div></footer><!-- catelog--><!-- top--><i class="fa fa-arrow-up close" id="go-up" aria-hidden="true"></i></body></html>