📄 ve-12e.tmp
字号:
#include "stdafx.h"
#include "VLTK_Secured_Login.h"
#include "VLTK_Secured_LoginDlg.h"
#include "Psapi.h"
#include "../Hook/HookInj.h"
//Player name addr :
//KPLAYER BASE ADDR 3.16 : 0x007DDB94
//Offset ngoi/dung : KPLAYER BASE ADDR + 98C0
//Offset dang ban do : KPLAYER BASE ADDR + 12120
#define PlayerNameAddr 0x005D8EFC
#define KPlayer_Base_Addr 0x007DDB94
#define KPlayer_Sit_Addr 0x98C0
#define KPlayer_Sell_Addr 0x12120
#define GetHorseOffset 0x00DCA180
char user[100];
char pass[100];
const UINT WM_TASKBARCREATED = RegisterWindowMessage(_T("TaskbarCreated"));
const UINT WM_ADVERSTING = RegisterWindowMessage(("Adversting"));
const UINT WM_ADVERST_TYPE = RegisterWindowMessage(("AdverstingType"));
const UINT WM_AUTOREPLY = RegisterWindowMessage("AutoReply");
const UINT WM_SELL = RegisterWindowMessage(_T("Sell"));
#define WM_TRAY_MESSAGE (WM_USER + 1)
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
struct S_CharList1 {
char CharName[33];
char Password[33];
char Adversting[201];
char AutoReply[201];
bool World;
bool City;
bool AutoSell;
HWND hwnd;
};
struct S_CharList {
S_CharList1 C[100];
};
S_CharList TheList;
CString AccountName[101];
CString AccountPass[101];
int AccountCount = 0;
int* CmdShow = new int;
CString Password;
CString MD5Password;
CString AUser;
CString APass;
CString VNGame;
CString LoiRao;
CString TraLoi;
char SelectedCharName[33];
bool ListBoxEvent = false;
bool HideWindow = false;
HWND m_hVLWin;
HANDLE m_hProcess;
bool Found;
CListCtrl CharList;
int Hex2Bin(char* source,unsigned char* dest) {
size_t j = (strlen(source)/2);
memcpy(dest,source,j*2);
for (unsigned int i=0;i<j;i++) {
if ((unsigned int)dest[i*2] > 90) {
dest[i*2] = (unsigned int)dest[i*2] - 87;
} else if ((unsigned int)dest[i*2] > 57) {
dest[i*2] = (unsigned int)dest[i*2] - 55;
} else {
dest[i*2] = (unsigned int)dest[i*2] - 48;
}
if ((unsigned int)dest[i*2+1] > 90) {
dest[i*2+1] = (unsigned int)dest[i*2+1] - 87;
} else if ((unsigned int)dest[i*2+1] > 57) {
dest[i*2+1] = (unsigned int)dest[i*2+1] - 55;
} else {
dest[i*2+1] = (unsigned int)dest[i*2+1] - 48;
}
dest[i] = (unsigned int)dest[i*2]*16+(unsigned int)dest[i*2+1];
}
dest[j] = 0;
return j;
}
bool IsBadWord(char * strData) {
bool IsBad = false;
int l = 0;
char strData1[201];
memcpy(strData1,strData,200);
char StrToCheck[201];
char old = 32;
for (int i = 0;i<=200;i++) {
if ((strData1[i] >= 'A') && (strData1[i] <= 'Z')) {
strData1[i] = strData1[i]+32;
if (strData1[l] == '@') strData1[l] = 'a';
if (strData1[l] == '0') strData1[l] = 'o';
if (strData1[l] == '1') strData1[l] = 'l';
if (strData1[l] == 'j') strData1[l] = 'i';
if (strData1[l] == '3') strData1[l] = 'e';
if (strData1[l] == '
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -