wolfyflutter

52. v2

Aug 12th, 2025 (edited)
184
1
Never
14
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 2.29 KB | Source Code | 1 0
  1. async function yt(ytid, format) {
  2.     const validFormat = ["128kbps", "192kbps", "256kbps", "320kbps", "360p", "480p", "720p", "1080p"]
  3.     if (!validFormat.includes(format)) throw Error(`invalid format. pick one: ${validFormat.join(", ")}`)
  4.  
  5.     const headers = {
  6.         origin: "https://clickapi.net"
  7.     }
  8.     async function hit(path, method, body) {
  9.         try {
  10.             const baseUrl = 'https://api.cdnframe.com'
  11.             const config = { method, headers, body: JSON.stringify(body) }
  12.             const r = await fetch(baseUrl + path, config)
  13.             if (!r.ok) throw Error(`${r.status} ${r.statusText}\n${await r.text() || `(body kosong)`}`)
  14.             const j = await r.json()
  15.             return j
  16.         } catch (e) {
  17.             throw Error(`hit gagal. ${path}. ${e.message}`)
  18.         }
  19.     }
  20.     function handleFormat(format, info) {
  21.         const kind = /kbps/.test(format) ? 'audio' : 'video'
  22.         const aOrv = info.formats[kind]
  23.         aOrv.sort((a, b) => b.quality - a.quality)
  24.         let result = aOrv.find(v => v.quality === parseInt(format))
  25.         if (!result) {
  26.             result = aOrv[0]
  27.             console.log(`format ${format} tidak tersedia. auto fallback ke best available format ${result.quality} ${/kbps/.test(format) ? 'kbps' : 'p'}`)
  28.         }
  29.         return result
  30.     }
  31.  
  32.     // get auth
  33.     const auth = await hit('/api/v5/auth', 'post')
  34.     headers.authorization = 'Bearer ' + auth.token
  35.     const info = await hit('/api/v5/info/' + ytid, 'get')
  36.     const { token } = handleFormat(format, info)
  37.     const { jobId } = await hit('/api/v5/convert', 'post', { token })
  38.     let json, hitCount = 0
  39.     const MAX_ATTEMPT = 40
  40.     do {
  41.         json = await hit('/api/v5/status/' + jobId, 'get')
  42.         hitCount++
  43.         if (json.downloadUrl !== null) {
  44.             return json
  45.         } else if (json.status == "failed") {
  46.             throw Error(`gagal memproses video\n${JSON.stringify(json, null, 2)}`)
  47.         }
  48.         console.log(`progress : ${json.step || `unknown step`} ${json.step_progress || 0}%`)
  49.         await new Promise(re => setTimeout(re, 3000))
  50.     } while (hitCount < MAX_ATTEMPT)
  51.     throw Error(`mencapai max attempt hit`)
  52.  
  53. }
  54. yt("13ARO0HDZsQ", "128kbps")
  55.     .then(console.log)
  56.     .catch(e => console.log(e.message))
  57.  
Advertisement
Comments
  • User was banned
  • Lenmomyr
    195 days
    # CSS 0.83 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1S1iTruSLkgEPO8QtTuo2twS4f2FoJ3_l0-p4GKqeAUY/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8.  
    9. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    10.  
    11. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification).
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Thapadni
    22 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • Wavadib
    12 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • Dotorfy
    11 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • User was banned
  • User was banned
  • Faqolyc
    6 days
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=vrklzcxedp
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment