Refactoring
This commit is contained in:
parent
a9e31cf65a
commit
ebb45d3cb1
@ -24,6 +24,9 @@ namespace fs = std::filesystem;
|
|||||||
extern bool gIsListeningPyq;
|
extern bool gIsListeningPyq;
|
||||||
extern WxCalls_t g_WxCalls;
|
extern WxCalls_t g_WxCalls;
|
||||||
extern DWORD g_WeChatWinDllAddr;
|
extern DWORD g_WeChatWinDllAddr;
|
||||||
|
|
||||||
|
int IsLogin(void) { return (int)GET_DWORD(g_WeChatWinDllAddr + g_WxCalls.login); }
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
static string get_key(uint8_t header1, uint8_t header2, uint8_t *key)
|
static string get_key(uint8_t header1, uint8_t header2, uint8_t *key)
|
||||||
{
|
{
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
#include "stdint.h"
|
#include "stdint.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
int IsLogin(void);
|
||||||
std::string GetAudio(uint64_t id, std::string dir);
|
std::string GetAudio(uint64_t id, std::string dir);
|
||||||
std::string DecryptImage(std::string src, std::string dst);
|
std::string DecryptImage(std::string src, std::string dst);
|
||||||
int RefreshPyq(uint64_t id);
|
int RefreshPyq(uint64_t id);
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
|
|
||||||
namespace fs = std::filesystem;
|
namespace fs = std::filesystem;
|
||||||
|
|
||||||
extern int IsLogin(void); // Defined in spy.cpp
|
|
||||||
|
|
||||||
bool gIsListening = false;
|
bool gIsListening = false;
|
||||||
bool gIsListeningPyq = false;
|
bool gIsListeningPyq = false;
|
||||||
mutex gMutex;
|
mutex gMutex;
|
||||||
|
@ -41,5 +41,3 @@ void CleanupSpy()
|
|||||||
LOG_DEBUG("CleanupSpy");
|
LOG_DEBUG("CleanupSpy");
|
||||||
RpcStopServer();
|
RpcStopServer();
|
||||||
}
|
}
|
||||||
|
|
||||||
int IsLogin(void) { return (int)GET_DWORD(g_WeChatWinDllAddr + g_WxCalls.login); }
|
|
||||||
|
Loading…
Reference in New Issue
Block a user