Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * AI Enhance-Hd Image
- * Author : Gienetic
- * Base : https://play.google.com/store/apps/details?id=photoeditor.photocut.background.eraser.collagemaker.cutout
- * Jenis Apk : Native (Java/Kotlin)
- * Note : Versi Premium v2,
- */
- const axios = require('axios')
- const crypto = require('crypto')
- const RumahKorban = "https://aiapi.thinkyeah.com";
- const TopengPerampok = {
- "Host": "aiapi.thinkyeah.com",
- "accept": "application/json",
- "content-type": "application/json; charset=utf-8",
- "accept-encoding": "gzip",
- "user-agent": "Gienetic_sniff/4.11.0"
- }
- const AlatCongkel = {
- adid: "",
- dcid: "7a391bbe-ecb4-4ee8-9187-9dc5bc2b5f13",
- is_pro_user: "true",
- region: "ID",
- language: "in",
- app_version_code: "2223",
- package_name: "photoeditor.photocut.background.eraser.collagemaker.cutout",
- purchase_token: "",
- firebase_user_id: "1c74b5da53cc9deeb4f86bd1faf90e46",
- is_internal_user: "false"
- }
- const mengintai = (ms) => new Promise(r => setTimeout(r, ms))
- async function bobolPintu(targetIncaran) {
- try {
- const { data } = await axios.post(`${RumahKorban}/api/enhance/async`, {
- "imageuri": targetIncaran,
- "upscale": "2",
- "is_upscale": "true",
- "model": "advanced_v2"
- }, {
- headers: TopengPerampok,
- params: { ...AlatCongkel, request_id: crypto.randomUUID() }
- })
- if (data?.code === 200) return data.data.task_id;
- return null;
- } catch (e) {
- return null;
- }
- }
- async function kurasBrankas(kunciBrankas) {
- let belumLudes = true;
- while (belumLudes) {
- try {
- const { data } = await axios.get(`${RumahKorban}/api/task/query`, {
- headers: TopengPerampok,
- params: { ...AlatCongkel, task_id: kunciBrankas }
- })
- if (data?.data?.status === 'success') {
- return data;
- } else if (data?.data?.status === 'fail' || data?.data?.exception_code !== 0) {
- return data;
- }
- } catch (e) {}
- await mengintai(2000);
- }
- }
- (async () => {
- const hartaKarunBurik = "https://cdn2.doculator.org/files/20251209072555_OTpaHm.png"
- console.log("Sedang menyusup masuk...")
- const kunci = await bobolPintu(hartaKarunBurik)
- if (kunci) {
- console.log("Pintu terbuka! Sedang menguras isi brankas...")
- const barangJarahan = await kurasBrankas(kunci)
- console.log(JSON.stringify(barangJarahan, null, 4))
- } else {
- console.log("Gagal membobol pintu, alarm bunyi!")
- }
- })()
Advertisement
Add Comment
Please, Sign In to add comment