上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页
摘要: https://stackoverflow.com/questions/84847/how-do-i-create-a-self-signed-certificate-for-code-signing-on-windows It's fairly easy using the New-SelfSig 阅读全文
posted @ 2021-01-27 17:46 DirWangK 阅读(359) 评论(0) 推荐(0)
摘要: 一 个窗口或者应用程序应该被关闭时发出WM_CLOSE消息,当接收到WM_CLOSE消息时,如果你愿意,向用户提出是否真的退出。你知道让用户作确认或 有错误出现或有什么应该注意的事情发生的时候,往往弹出一个消息框。插播消息框 int MessageBox( HWND hWnd, // handle 阅读全文
posted @ 2020-12-30 11:15 DirWangK 阅读(406) 评论(0) 推荐(0)
摘要: https://www.hex-rays.com/wp-content/static/products/ida/idapro_cheatsheet.html File Operations Parse C header file... Ctrl+F9 Create ASM file... Alt+F 阅读全文
posted @ 2020-12-25 10:15 DirWangK 阅读(713) 评论(0) 推荐(0)
摘要: linux通常使用GNU C提供的函数getopt、getopt_long、getopt_long_only函数来解析命令行参数。 移植到Windows下 getopt.h #ifndef _GETOPT_H #define _GETOPT_H #ifdef __cplusplus extern " 阅读全文
posted @ 2020-10-04 15:09 DirWangK 阅读(560) 评论(0) 推荐(0)
摘要: 如果你在很年轻的时候,就遭受到了失败,一定要把它当作老天送你的礼物。如果等到四十岁再失败,你会经受不起的。为什么年纪越大,走路越小心,因为越来越经不起跌倒了。 阅读全文
posted @ 2020-09-23 14:07 DirWangK 阅读(137) 评论(0) 推荐(0)
摘要: 我在 Windows 电脑上修改了 mongo.cfg 文件后 执行 net start mongodb 的时候,命令行出现了这个报错。 这个报错,有几种情况可以进行排查 1. 你的 mongod 命令的参数中,路径是否正确,比如 mongod --config "f:\mongodb\db" 是否 阅读全文
posted @ 2020-09-04 13:36 DirWangK 阅读(6512) 评论(0) 推荐(0)
摘要: C:\xxxx\app-release\res\layout-v26\xxxx.xml:5: error: No resource identifier found for attribute 'xxxxxx' in package 'android' W: 解决方案: apktool empty- 阅读全文
posted @ 2020-08-22 11:01 DirWangK 阅读(894) 评论(0) 推荐(0)
摘要: pe中TLS(thread local storage)中函数的执行时机早于入口函数(entry point), 相关结构: // // Thread Local Storage // typedef VOID (NTAPI *PIMAGE_TLS_CALLBACK) ( PVOID DllHand 阅读全文
posted @ 2020-08-14 20:42 DirWangK 阅读(621) 评论(0) 推荐(0)
摘要: 编写了一个IDA64插件,结果再打开IDA后报错fatal error before kernel init,然后闪退。 检查了一遍代码没发现有问题,后来发现是环境有一处配置错误, IDA64.exe插件环境配置: 1、调试器设置,用来调试插件。 2、头文件包含 3、预处理器 4、链接依赖库 5、 阅读全文
posted @ 2020-08-14 12:27 DirWangK 阅读(679) 评论(0) 推荐(0)
摘要: 编写dll处理hook逻辑,注入到目标进程,实现api hook。 Windows10 notepad,通过hook kernel32.dll.WriteFile,实现小写字母转大写保存到文件。 hook前kernel32.dll.WriteFile入口: kernel32.dll.WriteFil 阅读全文
posted @ 2020-08-13 18:45 DirWangK 阅读(567) 评论(0) 推荐(0)
摘要: hook逻辑写入dll中,注入dll。 #include "pch.h" #include <tchar.h> #include "windows.h" //WINBASEAPI //BOOL //WINAPI //WriteFile( // _In_ HANDLE hFile, // _In_re 阅读全文
posted @ 2020-08-12 21:20 DirWangK 阅读(384) 评论(0) 推荐(0)
摘要: 输入 字符格式 条件断点 Input When using x64dbg you can often use various things as input. Commands Commands have the following format: command arg1, arg2, argN 阅读全文
posted @ 2020-08-12 13:37 DirWangK 阅读(1597) 评论(0) 推荐(0)
摘要: 1、附加目标进程, 2、CREATE_PROCESS_DEBUG_EVENT附加事件中将目标api处设置为0xcc(INT 3断点) 3、EXCEPTION_DEBUG_EVENT异常事件中,首先判断是否为EXCEPTION_BREAKPOINT 断点异常,然后GetThreadContext、Se 阅读全文
posted @ 2020-08-11 22:26 DirWangK 阅读(347) 评论(0) 推荐(0)
摘要: 利用CreateRemoteThread 进程注入流程: OpenProcess This function returns a handle to an existing process object. HANDLE OpenProcess( DWORD fdwAccess, BOOL fInhe 阅读全文
posted @ 2020-08-11 17:10 DirWangK 阅读(611) 评论(0) 推荐(0)
摘要: 利用CreateRemoteThread #include <iostream> #include <tchar.h> #include <Windows.h> #include <tlhelp32.h> BOOL SetPrivilege(LPCTSTR lpszPrivilege, BOOL b 阅读全文
posted @ 2020-08-10 21:28 DirWangK 阅读(374) 评论(0) 推荐(0)
摘要: DLL注入——使用SetWindowsHookEx函数实现消息钩取 MSDN: SetWindowsHookEx Function The SetWindowsHookEx function installs an application-defined hook procedure into a 阅读全文
posted @ 2020-08-09 20:49 DirWangK 阅读(376) 评论(0) 推荐(0)
摘要: win+r运行 regedit HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 修改NoRecycleFiles值为0,重启电脑 重启电脑后回收站可进行设置 阅读全文
posted @ 2020-08-03 18:36 DirWangK 阅读(350) 评论(0) 推荐(0)
摘要: https://githomelab.ru/pykd/pykd 1、安装python (坑,分x86和x64,对应windbg版本) 2、安装pykd:'pip install pykd' 3、安装Windbg插件, 下载地址:https://githomelab.ru/pykd/pykd-ext/ 阅读全文
posted @ 2020-07-31 19:16 DirWangK 阅读(1550) 评论(0) 推荐(0)
摘要: 1、管理-->设置 2、申请js权限, (这是申请通过之后) 3、页面HTML代码 <script type="text/javascript" charset="utf-8" async="" src="https://cdn.jsdelivr.net/npm/live2d-widget@3.0. 阅读全文
posted @ 2020-07-29 19:14 DirWangK 阅读(1029) 评论(0) 推荐(1)
摘要: cmd中执行python提示:ImportError: No module named site 运行python.exe Fatal Python error: initfsencoding: unable to load the file system codecModuleNotFoundEr 阅读全文
posted @ 2020-07-29 19:04 DirWangK 阅读(1462) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页