Time of Update: 2018-12-05
建立兩個檔案,一個設定檔themed.manifest:<?xml version="1.0" encoding="utf-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"><assemblyIdentity name="Pazee@21cn.com" processorArchitecture="x86" v
Time of Update: 2018-12-05
操作ANSI串函數Unicode串函數LengthstrlenwcslenConcatenatestrcat, strncatwcscat, wcsncat, RtlAppendUnicodeStringToString, RtlAppendUnicodeToStringCopystrcpy, strncpy, RtlCopyStringwcscpy, wcsncpy, RtlCopyUnicodeStringReverse_strrev_wcsrevComparestrcmp,
Time of Update: 2018-12-05
轉載自 zwell 的專欄:不知道大家用過WSockExpert沒有, 它可以用來截獲指定進程網路資料的傳輸.前面我還以為它是通過即時遠程注入DLL來更改IAT. 不過後來發現在程式一運行時,它就已經將DLL插入所有進程了,這個跟冰哥寫的那個類比SOCKCAP的程式很相似.似乎是將DLL注入所有進程, 不過再想一下, 如果是這樣的話,那麼後來啟動的程式應該不會被注入DLL(除非用定時^_^,這樣就太麻煩了), 考慮到這些,
Time of Update: 2018-12-05
On Error Resume NextSet objWMIService = GetObject("winmgmts://./root/cimv2")Set colNetAdapters = objWMIService.ExecQuery ("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE")For Each objNetAdapter in colNetAdapters WScript.Echo
Time of Update: 2018-12-05
#include "stdafx.h"#include "detours.h"#include <stdio.h>#pragma comment(lib, "detours.lib")WCHAR s_wzDllPath[256];char s_szDllPath[256]; extern "C"...{DETOUR_TRAMPOLINE(BOOL WINAPI Real_CreateProcessW( LPCWSTR lpApplicationName,
Time of Update: 2018-12-05
採用微軟的 detours1.5 為核心, detours.h和detours.lib自己到網上下。代碼如下: MsHookApi.h/****************************************************************************API HOOK
Time of Update: 2018-12-05
#include <winsock2.h>#include <Ws2tcpip.h>#include <stdio.h>#pragma pack (push ,1)typedef struct _iphdr //定義IP首部{ unsigned char h_lenver; //4位首部長度+4位IP版本號碼 unsigned char tos; //8位服務類型TOS unsigned short total_len; //16位總長度(位元組)
Time of Update: 2018-12-05
#include <windows.h>#include <stdio.h>#include <stddef.h>#include <atlbase.h>#include <ImageHlp.h>#pragma comment(lib, "ImageHlp.lib")#define HookExceptionNo 5BOOL Init();BOOL SysVer = true;HMODULE g_hModule;DWORD
Time of Update: 2018-12-05
需要標頭檔:shlwapi.hBOOL PathFileExists(LPCTSTR lpszPath)功能:檢查檔案/路徑是否存在LPTSTR PathFindFileName(LPCTSTR pPath)功能:獲得路徑中的檔案名稱例如: PathFileFileName( “c://Program Files//File.txt” ) = “File.txt”。如果路徑中不包含檔案名稱,則傳回值是最下面的目錄名。LPTSTR PathFindExtension(LPCTSTR
Time of Update: 2018-12-05
一、 由於某些原因,訪問Google Paly (https://play.google.com/store)總是失敗,建議先翻一下牆,我用的是自由門二、 在chrome上安裝外掛程式1. 下載APK Downloader (http://codekiem.com/apk-downloader/crx/1.2.1.crx)2.
Time of Update: 2018-12-05
>^_^男人的友誼與女人的友誼> >> >Friendship Between Women:Friendship Between Women: A woman didn't come home one night. 一個女人有一晚沒回家睡The next day she told her husband that she had slept over at a girlfriend's house. 隔天她跟老公說他睡在一個女性朋友那邊The man
Time of Update: 2018-12-05
//以下是安裝類/*InsPkgCls.h*/#include <tchar.h>#include <stdio.h>#include <winsock2.h>#define MY_DLL_NAME _T("spidll.dll")#define MY_DLL_PATH _T("//spidll.dll")#define MY_VAR_PATH _T("//myvar.dat")#define
Time of Update: 2018-12-05
※ 管理認知 1.經常自我反省,檢視一下,在管轄範圍內的人、時、地、物、有沒有浪費資源,或無效運用的狀況。 2.不要在下屬面前抱怨工作,數落上司及公司的不對。 3.接受上司交待任務時,在沒有嘗試執行之前,絕不說“不可能”、“辦不到”。 4.每天找出一件需要突破,創新的事物,並動腦筋想一想,有無改善創新的方法。 5.當工作未能順利完成時,對上司要能一肩承擔所有責任,不在上司面前數落部屬的不是。 6.做任何事物以前,先花些時間思考一下目標與方向是否正確。
Time of Update: 2018-12-05
Ubuntu 使用crontab定時任務1. 使用crontab -e命令這個命令的使用比較簡單。直接輸入~# crontab -e就會開啟一個編輯視窗,第一行會有內容格式的提示:m h dom mon dow command具體意義表示:分鐘 小時 日期 月份 星期 命令,在某月(mon)的某天(dom)或者星期幾(dow)的幾點(h,24小時制)幾分(m)執行某個命令(command),*表示任意時間。例如:3 * * * * /home/meng/hello.sh就是:每小時的03時執行/
Time of Update: 2018-12-05
#include <stdio.h>#include <stddef.h>#include <windows.h>#pragma comment(lib, "ImageHlp.lib")#pragma pack (push ,1) //以下結構位元組對齊typedef struct{ BYTE int_PUSHAD; BYTE int_PUSH; DWORD push_Value; BYTE int_MOVEAX; DWORD eax_Value;
Time of Update: 2018-12-05
IntroductionThe .apk file has to have the same signature as your test project. If you do not have the signature key of the .apk file then you need to remove the signature and resign it with you own key, android debug key can be used. A drag and drop
Time of Update: 2018-12-05
#include <windows.h>#include <stdio.h>#pragma comment(lib, "ImageHlp.lib")#pragma pack (push ,1)typedef struct{ BYTE int_PUSHAD; BYTE int_PUSH; DWORD push_Value; BYTE int_MOVEAX; DWORD eax_Value; WORD call_eax; BYTE jmp_MOVEAX;
Time of Update: 2018-12-05
寬字元處理函數函數與普通函數對照表 字元分類: 寬字元函數普通C函數描述 iswalnum() isalnum() 測試字元是否為數字或字母 iswalpha() isalpha() 測試字元是否是字母 iswcntrl() iscntrl() 測試字元是否是控制符 iswdigit() isdigit() 測試字元是否為數字 iswgraph() isgraph() 測試字元是否是可見字元 iswlower() islower() 測試字元是否是小寫字元 iswprint()
Time of Update: 2018-12-05
#include <ws2spi.h>#include <windows.h>#include <stdio.h>#pragma comment(lib, "ws2_32.lib")//// 用來儲存系統服務提供者路徑資訊的自訂註冊表索引值//#define REG_INSTALL_KEY "SYSTEM//CurrentControlSet//Services//WinSock2//MySPI"//// 全域變數,用來儲存系統服務提供者30個服務函數指標//
Time of Update: 2018-12-05
在這個程式中,用戶端讀取案頭的一個 1.48 GB (1,597,701,030 位元組) 的RAR檔案發送給伺服器。因為這裡僅用於學習,所以用戶端要串連的目標地址使用127.0.0.1。伺服器端接將收的檔案檔案儲存在C盤根目錄下。為保證程式的可靠發送,程式採用TCP協議。經過反覆實驗得出結論,程式中的重中之重是雙方的 ReadFile 和 WriteFile。相反 recv 和 send 不是重要的。為了使代碼盡量簡化,程式去掉所有錯誤檢查,只讓伺服器端的accept函數提示一下有人發起串連。