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