04 2020 档案

CreateRemoteThread方式实现进程注入
摘要:该程序首先查找自己的父进程,如果父进程是cmd或者powershell,则向父进程注入一个dll,让父进程输出“Hello World!”。 dllmain.cpp 1 #include <Windows.h> 2 #include <cstdio> 3 4 BOOL WINAPI DllMain( 阅读全文

posted @ 2020-04-23 23:18 JebediahKerman 阅读(461) 评论(0) 推荐(0)

Float32与Float16转换
摘要:参考https://stackoverflow.com/questions/3026441/float32-to-float16 #include <cstdio> #include <cstdint> using namespace std; using float16_t = uint16_t; 阅读全文

posted @ 2020-04-19 19:05 JebediahKerman 阅读(2883) 评论(0) 推荐(0)

Windows窗口截图
摘要:#include <Windows.h> #include <gdiplus.h> #include <stdio.h> const Gdiplus::GdiplusStartupInput kGdiplusStartupInput; const CLSID kPngEncoderId = { 0x 阅读全文

posted @ 2020-04-19 15:34 JebediahKerman 阅读(266) 评论(0) 推荐(0)

Android su源代码
摘要:Android su源代码在AOSP中的位置是/system/extras/su /* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (t 阅读全文

posted @ 2020-04-18 08:33 JebediahKerman 阅读(678) 评论(0) 推荐(0)

导航