|
[原创]刚写的一个病毒(好像是第一次发帖,别砸砖)
对于参与病毒以及病毒的编写者,我一直十分憎恨! |
|
[原创]通用象棋外挂制作过程
我也不知道,昨天还有效呢,估计被管理员给K掉了…… |
|
[原创]通用象棋外挂制作过程
谢谢海风,呵呵,还是自己写的外挂比较有成就感的 |
|
[原创]通用象棋外挂制作过程
附上此象棋外挂的所用到的数据结构参考,应该不算是公布和侵权之类的吧: #define CHESS_X_MAX 9 //象棋棋盘X方向最大为9列 #define CHESS_Y_MAX 10 //象棋棋盘Y方向最大为10行 #define CHESS_N_POS 90 //象棋棋盘有90个坐标点 #define CHESS_N_PIECE 32 //象棋总共有32个棋子 #define CHESS_PERPOINT_COLOR 11 //每一个点取11点像素值以确定棋子 struct _ChessPiece{ //保存所有棋子的颜色信息 TCHAR chesscode; //棋子的fen码 COLORREF color[CHESS_PERPOINT_COLOR]; //棋子的颜色数组 }; //总共的棋子数组 struct _ChessBoard{ TCHAR PrevChessBoard[CHESS_N_POS]; //前一局面 TCHAR CurChessBoard[CHESS_N_POS]; //当前局面 }; struct _ChessStep{ TCHAR ChessCode; //走子的棋子信息,大写为红子,小写为黑子,0为无效 TCHAR cMyCode; //自己擎红还是擎黑, w为红,b为黑, 0为无效 int StartStep; //棋子的起始步,对应数组索引,下同 int EndStep; }; struct _ChessMate{ //储存将军状态下将死对方的起始点与终点,对应数组索引。 int nStartPos; int nEndPos; }; struct _ChessPosition{ //对棋盘与棋子定位 HWND hCtrlWnd; //棋盘控件对应句柄 int nLeftTopX; //棋盘的左上角x坐标 int nLeftTopY; //棋盘的左上角y坐标 int nXYStep; //棋盘XY方向的步长 }; struct _ChessWndFindInfo{ //保存查找游戏窗口控件句柄的相关变量,通过标题与类名获取 CString cRelation; //表示窗口关系,p表示顶层窗口,c表示上一窗口的子窗口,b表示上一窗口的兄弟窗口。 CString stitle; //存储当前窗口的标题名 CString sclass; //存储当前窗口的类名。 }; class CChessData { public: CChessData(); virtual ~CChessData(); static _ChessPiece ChessPiece[CHESS_N_PIECE]; static _ChessBoard ChessBoard; static _ChessStep ChessStep; static _ChessMate ChessMate; static _ChessPosition ChessPosition; static _ChessWndFindInfo *pChessFindInfo; static long nStep2FindWnd; //查找到棋盘句柄要经过的步数。 static CString sPieceFile; //保存棋子颜色信息的XML文件名 static HWND hChessBoard; //保存棋盘句柄 }; |
|
[原创][公开源代码]完美、诛仙等游戏验证码答题反外挂系统的初级识别程序
图象识别技术一直是世界级的难题啊 |
|
[求助]关于匿名管道与CMD通信的问题
问题已经解决,想了两天,头都想大了,结果是因为WriteFile时多写了一个字节造成的! 呵呵,多谢大家的帮助! WriteFile(handle, str, str.GetLength(), //此处必须为实际的长度,如果加1( //str.GetlLength()+1,必然会出现上述情况! &dwWritten, NULL); |
|
[求助]关于匿名管道与CMD通信的问题
是父子进程通信的问题哈,要远程的话直接用Socket算了,盼人解释下 |
|
[求助]关于匿名管道与CMD通信的问题
用CreateProcess建立进程后,线程函数返回显示结果(正常): 执行cd \ 命令后(正常): 再次执行net user 命令(不正常!): 谁能解释解释? |
|
[求助]关于匿名管道与CMD通信的问题
高手请现身吧,呵呵,本人虚心请教哦! 以下是线程的读取代码……,代码应该不会有问题的,但这个问题实在是奇怪,如果控制台不FFlush,那就没有办法实时与CMD交互通信了吗? 双管道,给CMD管道1的读取端和管道2的写入端,然后主程序使用管道1的写入端和管道2的读取端进行相应的写和读操作: DWORD WINAPI CEngineTestDlg::ReadDataFromPipe(HWND hEdit) { DWORD dwBytesRead = -1; strCont.Empty(); while(TRUE) { PeekNamedPipe(m_hPipe2Read, bufRead, 4096, &dwBytesRead, NULL, NULL); if (dwBytesRead != 0) { ZeroMemory(bufRead, sizeof(bufRead)); if (!ReadFile(m_hPipe2Read, bufRead, dwBytesRead, &dwBytesRead, NULL)) break; strCont += bufRead; ::SetWindowText(hEdit, strCont); } Sleep(100); } AfxMessageBox(_T("线程终止!")); return 0; } |
|
[求助]FSG 1.33 -> dulek/xt脱壳失败
sfx几乎瞬间... |
|
Anti OllyDbg
听sessiondiy大侠的,没错!我信赖! |
|
[原创]对一个IAT加密壳的分析
一时不来论坛风起云涌啊!:) |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值