上一页 1 2 3 4 5 6 ··· 17 下一页
摘要: ### 使用vcpkg #### 项目集成vcpkg `vcpkg`执行 ~~~bat D:\Downloads\tset> vcpkg integrate install Applied user-wide integration for this vcpkg root. CMake projec 阅读全文
posted @ 2023-08-27 03:33 乘舟凉 阅读(191) 评论(0) 推荐(1) 编辑
摘要: ### 材料与基础 - 操作系统 win7 - win10 (x64) - 虚拟机 VMware Workstation(推荐) - 处理器 支持 VT-x 和 EPT 的英特尔处理器 ### 配置虚拟机 一定要开启处理器虚拟化 intel vt-x或者amd-v这两个才能保证hyperhide的两 阅读全文
posted @ 2023-07-28 10:35 乘舟凉 阅读(1378) 评论(0) 推荐(0) 编辑
摘要: 首先我们看一看智能指针的内存结构 ### `std::shard_ptr` ```c++ std::shard_ptr{ T * ptr; std::_Ref_count * Rep; } ``` **`ptr`** 对象的指针 **`Rep`** 引用计数对象的指针 ```c++ std::_Re 阅读全文
posted @ 2023-07-13 23:25 乘舟凉 阅读(125) 评论(0) 推荐(0) 编辑
摘要: ### 打开redsocks配置文件 ~~~ vim /etc/redsocks.conf ~~~ ### 修改配置文件 ~~~ redsocks { /* `local_ip' defaults to 127.0.0.1 for security reasons, * use 0.0.0.0 if 阅读全文
posted @ 2023-07-02 15:54 乘舟凉 阅读(657) 评论(0) 推荐(0) 编辑
摘要: ## code patch hook 今天在逆向分析一个程序的时候接触到了code patch hook,其实这个hook技术我在接触逆向之初就已经知道了,但是今天遇到的有点特殊 ### code patch hook 原理是通过修改api的前5个字节,jmp到自己的函数 #### 当用户调用api 阅读全文
posted @ 2023-06-18 23:49 乘舟凉 阅读(46) 评论(0) 推荐(0) 编辑
摘要: string为接口的注意事项 问题描述 ​ 在一个应用程序中用到了另外一个库的dll,向dll的接口传递std::string参数时报错。由于这方面的问题比较多,所以我进行了深入研究。 前置知识 在vs项目右键 -> 属性 ->C/C++ ->代码生成->运行库,有四个选项,/MD 、/MDd、/M 阅读全文
posted @ 2023-05-05 19:45 乘舟凉 阅读(99) 评论(0) 推荐(0) 编辑
摘要: std::string Release struct string{ union Bxty{ char Buf[0x10]; char * Ptr; }; Bxty bxty; #ifdef _WIN64 unsigned __int64 Mysize; unsigned __int64 Myres 阅读全文
posted @ 2023-04-20 23:08 乘舟凉 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 快速排序的思想是使某个数在它该在的位置,然后对这个数前后两部分进行递归处理即可 例子: 6 5 79 2 6该在的位置应该在第三位 5 2 6 79 那么如何使一个数在它该在的位置呢,观察上面的例子,要使一个数在它该在的地方应该要让所有小于它的数在左边,所有大于它的数在右边即可 按照上面的思想我们可 阅读全文
posted @ 2023-04-12 04:03 乘舟凉 阅读(23) 评论(0) 推荐(0) 编辑
摘要: ida 中的反汇编窗口像visual studio一样显示反编译代码 阅读全文
posted @ 2023-04-06 23:49 乘舟凉 阅读(42) 评论(0) 推荐(0) 编辑
摘要: ![image](https://img2023.cnblogs.com/blog/1798202/202303/1798202-20230311014610557-1093083215.png) ![image](https://img2023.cnblogs.com/blog/1798202/202303/1798202-20230311014623504-954360092.png) 阅读全文
posted @ 2023-03-11 01:46 乘舟凉 阅读(15) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 17 下一页