- Download MSYS2
- Install into
C:/msys64
- Edit
C:/msys64/msys2_shell.cmd
and removerem
from the line withrem MSYS2_PATH_TYPE=inherit
- Open a x64 Native Tools Command Prompt for VS 2022
- Run
C:/msys64/msys2_shell.cmd
- Use the MSYS2 shell for the next steps and enter:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb start-server | |
adb connect LOCAL_IP:PORT | |
adb shell settings put global hide_gesture_line 1 | |
# adb disconnect | |
# adb kill-server |
Phương pháp đầu tiên tôi tìm được là sử dụng command line của LeagueClient.exe đang chạy.
Khi khởi động LMHT, GarenaPC sẽ sinh một đoạn command line để chạy RiotClientServices.exe, trong đó có chứa GarenaPlus token và Landing token.
RiotClientServices chủ yếu để giám sát, anti cheat, nó sẽ chuyển tiếp hai token trên vào LeagueClient.exe.
Tóm lại, chỉ cần chạy trực tiếp LeagueClient.exe sẽ nhanh hơn và hạn chế bị ban một cách ngu ngốc.
Để lấy được nhiều command line cùng lúc, chỉ cần tạo một RiotClientServices.exe fake để bắt command line từ GarenaPC. Vì khi RiotClientServices hoặc LeagueClient đang chạy, GaremaPC sẽ chặn.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct _Obj { | |
char data; | |
int ref; | |
struct _Obj *next; | |
} Obj; | |
// append obj to previous |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
const ( | |
VM_OK = 0 | |
VM_ERROR = 1 | |
STACK_MAX = 50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
/* | |
#cgo CFLAGS: -Wincompatible-pointer-types | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <windows.h> | |
void *open_process(int pid) { |