Skip to content

Instantly share code, notes, and snippets.

View thinhbuzz's full-sized avatar
🏠
Working from home

Thinh Buzz thinhbuzz

🏠
Working from home
View GitHub Profile
@thinhbuzz
thinhbuzz / GUIDE.md
Created January 8, 2026 03:47
Build Frida with Frida's latest SELinux

You can build Frida with Frida's latest SELinux update by following these steps:

Step 1: Clean the build and deps directories

rm -rf build deps

Step 2: Update the SELinux configuration in the releng/deps.toml file

[selinux]
@thinhbuzz
thinhbuzz / GUIDE.md
Created January 8, 2026 02:08
The simplest way to customize frida-java-bridge when building Frida

The simplest method is to use Verdaccio.

Step 1: Install Verdaccio npm install -g verdaccio

Step 2: Run it with the command verdaccio

Step 3: Configure npm to use Verdaccio

npm set registry http://localhost:4873/
@thinhbuzz
thinhbuzz / bactch-remove-pokemon-go-friend.js
Last active March 2, 2024 01:52
Eliminate a series of pokemon go friends by keyword. Please read the first comment for the running steps.
(async () => {
function deleteFriend(friendId) {
return fetch("https://niantic-social-api.nianticlabs.com/niantic/graphql", {
headers: {
authorization: "Bearer " + localStorage.getItem("sessionToken"),
"content-type": "application/json",
},
body:
'{"query":"mutation RemoveFriendMutation(\\n $input: UnfriendNianticUserRequest!\\n) {\\n unfriendNianticUser(input: $input) {\\n friends {\\n userId\\n nianticId\\n displayName\\n gameProfiles {\\n game\\n codename\\n }\\n avatarUrl\\n }\\n success\\n }\\n}\\n","variables":{"input":{"userId":"' +
friendId +
@thinhbuzz
thinhbuzz / discord.js
Last active January 23, 2024 08:13
get discord message by date range
const serverId = '1012618482094968903';
const channelId = '1193845566204035092';
const authorization = 'token string';
const startTime = 1704672000000;
const endTime = 1705190400000;
function pick(obj, keys) {
const result = {};
keys.forEach((key) => {
result[key] = obj[key];
@thinhbuzz
thinhbuzz / get_comment.js
Last active January 8, 2024 19:15
lấy hết comment trong bài viết của nhóm.
function getDTSG() {
return JSON.parse(document.querySelector("#__eqmc").textContent).f;
}
async function getComments(id, dtsg, reactions, after = "null") {
console.log(new Date().toLocaleString(), "Get comments....");
const urlencoded = new URLSearchParams();
urlencoded.append("__a", "1");
urlencoded.append("__comet_req", "15");
urlencoded.append("fb_dtsg", dtsg);
@thinhbuzz
thinhbuzz / download.js
Last active January 7, 2024 05:15
Download all photos from facebook Page
(async () => {
function sleep(ms) {
return new Promise((resolve) => setTimeout(resolve, ms));
}
function getPageId() {
const tags = Array.from(
document.body.querySelectorAll("script:not([src])")
);
@thinhbuzz
thinhbuzz / mhn-items.json
Last active November 2, 2023 14:47
Monster Hunter Now items
{
"IRON_ORE": {
"title": "Iron Ore",
"description": "Type of ore that can be mined from various places. A common material used for forging equipment, among other things.",
"rarity": 1,
"userItemSettingId": 1010001,
"imageAssetKey": "00511"
},
"MACHALITE_ORE": {
"title": "Machalite Ore",
Java.perform(function () {
const array_list = Java.use('java.util.ArrayList');
const ApiClient = Java.use('com.android.org.conscrypt.TrustManagerImpl');
ApiClient.checkTrustedRecursive.implementation = function () {
return array_list.$new();
};
});
@thinhbuzz
thinhbuzz / dbschema-license-key-generator.html
Created August 1, 2018 07:51
DbSchema License Key Generator
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>DbSchema License Key Generator</title>
</head>
<body>
@thinhbuzz
thinhbuzz / facebook message downloader.js
Created December 10, 2018 16:12
Download facebook messages by js
(async function (globalOptions) {
let batch = 1;
window['finalResult'] = {
user_id: '',
requestToken: '',
messages: [],
friend: {id: globalOptions.friend_id || 0, name: ''}
};
if (!finalResult.friend.id) {