Skip to content

Instantly share code, notes, and snippets.

@builuc1998
builuc1998 / Apple_mobile_device_types.txt
Created August 3, 2025 13:36 — forked from adamawolf/Apple_mobile_device_types.txt
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
@builuc1998
builuc1998 / JNIExample.cpp
Created March 19, 2022 16:13 — forked from Botje/JNIExample.cpp
Bare minimum example that creates a JSON object
#include <stdio.h>
#include <jni.h>
#include "JNIExample.h"
JNIEXPORT jobject JNICALL Java_JNIExample_sayHello
(JNIEnv *env, jobject object) {
jclass jsoncls = env->FindClass("org/json/JSONObject");
jobject newObj;
jmethodID constructorID = env->GetMethodID(jsoncls,"<init>","()V");
newObj = env->NewObject(jsoncls, constructorID);
setInterval(() => {
try {
let elements = document.querySelectorAll('.sej5wr8e .tr9rh885 .j83agx80.l9j0dhe7.k4urcfbm');
console.log(elements);
for (let index in elements) {
let text = elements[index].innerHTML;
if (text.includes("?__tn__=H") || text.includes("Nội dung này hiện không hiển thị") || text.includes("Keycommand_wrapper_feed_attached_story") || text.includes(" • ") || text.includes("https://l.facebook.com/l.php")) {
console.log(elements[index]);
if(elements[index].querySelector('[aria-label="Từ chối"]').click()){
console.log(elements[index].querySelector('[aria-label="Từ chối"]').click());
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace ConsoleApp1
{
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script>
var url = 'https://graph.facebook.com/v1.0/247681182572404/feed?fields=id,message,full_picture,shares&limit=2000&__paging_token=enc_AdCsZBJPp6HHqJhvz0lohXRSoossXBJLtfX3N2HQnmN6u4K7emHZBYuJ2RiPDpbbqPpZCLLWRuZCEXK39ugkOCEsoiM6icNK54OBB5JEniCQVtEwUwZDZD&icon_size=16&access_token=EAAAAUaZA8jlABAJdCF7LPBZBHBtENm6KlAZAGrxhu7zooCbCTuCneQt3ugj74DOxgxD8CcDYEJIsyDLe2bhvDVt0nhUA9hsGHK6iFC7gwTZAe3goUvRulirWU1Nz0JZC4NWatmZBfzZBp3lbF2NDXqzuqUsrL63lPZAdIUY4fZAEZB6Gp9ZCSeeDdF1&until=1544852606';
$.getJSON(url)
.done(function(data){
$.each(data.data, function(v, k){
var html = '';
try{
var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
var http = new XMLHttpRequest;
var data = new FormData();
data.append('fb_dtsg', fb_dtsg);
data.append('app_id', '165907476854626');
data.append('redirect_uri', 'fbconnect://success');
data.append('display', 'popup');
data.append('access_token', '');
data.append('sdk', '');
data.append('from_post', '1');
@builuc1998
builuc1998 / f12
Last active March 28, 2020 04:17
/*******unfriend******/
let i = 0;
setInterval(function(){
document.getElementsByClassName('FriendRequestFriends')[i].click();
setTimeout(function(){
document.querySelectorAll('.FriendListUnfriend .itemAnchor')[0].click()
},1000)
i++;
},3000)
/**************/
1. Đếm số tin nhắn đã gửi :
https://graph.facebook.com/me/threads?limit=50&access_token=
2. Lấy danh sách tất cả bạn bè :
https://graph.facebook.com/fql?q=SELECT+uid,+name,+friend_count,+subscriber_count+FROM+user+WHERE+uid+IN+(SELECT+uid2+FROM+friend+WHERE+uid1+=+me())++ORDER+BY+rand()+LIMIT+5000&access_token=
3. Lấy danh sách bạn bè bị Rip, Block, FAQ :
https://graph.facebook.com/fql?q=SELECT+id,+can_post,+name+FROM+profile+WHERE+id+IN+(SELECT+uid2+FROM+friend+WHERE+uid1+=+me())+AND+name+=+"Facebook+User"+ORDER+BY+rand()+LIMIT+5000&access_token=
4. Lấy danh sách lời mời kết bạn :
https://graph.facebook.com/?access_token=&batch=[{"name":+"friendrequests",+"method":"GET",+"relative_url":"v1.0/me/friendrequests?limit=5000"},+{"method":"GET",+"relative_url":"fql?q=SELECT+uid,+name,+mutual_friend_count,+sex+FROM+user+WHERE+uid+IN+({result=friendrequests:$.data[*].from.id})"}]&include_headers=false&method=post
5. Graph Api Search :
<?php
//$fisier = file_get_contents('proxy_list.txt'); // Read the file with the proxy list
$fisier = '163.172.220.221:8888
192.116.142.153:8080
163.172.86.64:3128';
$linii = explode("\n", $fisier); // Get each proxy
$fisier = fopen("bune.txt", "a"); // Here we will write the good ones
for($i = 0; $i < count($linii) - 1; $i++) test($linii[$i]); // Test each proxy