Guest User

Untitled

a guest
Apr 12th, 2026
259
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.79 KB | None | 0 0
  1. namespace system:
  2.  
  3. @AllowFor(false, false, false, false, true)
  4. @AllowMultiple
  5. attribute ExpectFunc(string name, number paramsCount, bool stat)
  6.  
  7. @AllowFor(true, false, false, false, false)
  8. @ExpectFunc("it_hasNext", 0, false)
  9. @ExpectFunc("it_next" , 0, false)
  10. @ExpectFunc("it_reset" , 0, false)
  11. attribute Iteratable()
  12.  
  13. enum StaticRequirements
  14. {
  15. RequireStatic,
  16. RequireNonStatic,
  17. DoNotRequire
  18. }
  19.  
  20. class Array (const csType private)
  21. {
  22. constructor(len)
  23. {
  24. // BUILTIN FUNCTION
  25. }
  26.  
  27. func set(i, operator, val?)
  28. {
  29. // BUILTIN FUNCTION
  30. }
  31.  
  32. func get(i)
  33. {
  34. // BUILTIN FUNCTION
  35. }
  36.  
  37. func length()
  38. {
  39. return lenof this
  40. }
  41.  
  42. func map(mod)
  43. {
  44. const n = new Array(lenof this)
  45. foreach i in this : counter ind
  46. {
  47. n[ind] = mod(i)
  48. }
  49. return n
  50. }
  51.  
  52. func first(cond)
  53. {
  54. if cond is not function
  55. {
  56. throw new Exception("This function takes a function as parameter.")
  57. }
  58. foreach item in this
  59. {
  60. if cond(item) == true
  61. {
  62. return item
  63. }
  64. }
  65. return null
  66. }
  67.  
  68. func findAll(cond)
  69. {
  70. if cond is not function
  71. {
  72. throw new Exception ("This function takes a function as parameter.")
  73. }
  74. const all = new List()
  75. foreach item in this
  76. {
  77. if cond(item) == true
  78. {
  79. all.add(item)
  80. }
  81. }
  82. return all
  83. }
  84.  
  85. func select(selector)
  86. {
  87. const n = new Array(length())
  88. foreach x in this : counter i
  89. {
  90. n[i] = selector(x)
  91. }
  92. return n
  93. }
  94.  
  95. func ofType(type)
  96. {
  97. const n = new List()
  98. foreach x in this
  99. {
  100. if (x != null & Type.get(x) == type)
  101. {
  102. n.add(x)
  103. }
  104. }
  105. return n.toArray()
  106. }
  107.  
  108. /*
  109. func orderBy(getNum)
  110. {
  111. const n = copy()
  112. const nums = new List()
  113. foreach item in this : counter i
  114. {
  115. var num = getNum(item)
  116. nums.add(num)
  117. var ind = i
  118. while ind > 0 & nums.get(ind - 1) > num
  119. {
  120. var x = this[ind - 1]
  121. this[ind - 1] = item
  122. this[ind] =
  123. }
  124. }
  125. }
  126. */
  127.  
  128. func copy()
  129. {
  130. return map(func(item?) => item)
  131. }
  132.  
  133. func forEach(action)
  134. {
  135. foreach item in this : counter i
  136. {
  137. action(item, i)
  138. }
  139. }
  140. }
  141.  
  142. class string (const chars private basearray)
  143. {
  144. @Equalizer func equals(obj?)
  145. {
  146. if obj is not string | obj.length() != length()
  147. {
  148. return false
  149. }
  150. foreach c in chars : counter i
  151. {
  152. if c != obj.charAt(i)
  153. {
  154. return false
  155. }
  156. }
  157.  
  158. return true
  159. }
  160.  
  161. constructor (carr)
  162. {
  163. if carr is not Array
  164. {
  165. throw new Exception ("Argument must be an array.")
  166. }
  167. foreach c in carr
  168. {
  169. if c is not char
  170. {
  171. throw new Exception ("Argument must be an array of chars.")
  172. }
  173. }
  174. chars = carr
  175. }
  176.  
  177. constructor()
  178. {
  179. chars = new Array(0)
  180. }
  181.  
  182. func charAt(index)
  183. {
  184. return chars[index]
  185. }
  186.  
  187. func length()
  188. {
  189. return lenof chars
  190. }
  191.  
  192. func substr(stind, len)
  193. {
  194. var str = new string()
  195. for (var i = stind; i < length(); i++) : counter ind
  196. {
  197. str = str + chars[i]
  198. if ind == len - 1
  199. {
  200. return str
  201. }
  202. }
  203. }
  204.  
  205. @ReadOnly func remove(start, count)
  206. {
  207. var str = ""
  208.  
  209. foreach c in chars : counter i
  210. {
  211. if i < start | i >= start + count
  212. {
  213. str += c
  214. }
  215. }
  216.  
  217. return str
  218. }
  219.  
  220. func toCharArr() => chars.copy()
  221.  
  222. func split(c)
  223. {
  224. const ls = new List()
  225. var str = ""
  226.  
  227. foreach x in chars
  228. {
  229. if x == c
  230. {
  231. ls.add(str)
  232. str = ""
  233. }
  234. else
  235. {
  236. str += x
  237. }
  238. }
  239.  
  240. ls.add(str)
  241. return ls.toArray()
  242. }
  243.  
  244. func toNum()
  245. {
  246. var result = 0.0
  247. var sign = 1.0
  248. var fractionMultiplier = 0.1
  249. var hasDecimalPoint = false
  250. var i = 0
  251.  
  252. // handle sign
  253. if charAt(0) == '-'
  254. {
  255. sign = 0 - 1
  256. i = 1
  257. }
  258. else
  259. { if charAt(0) == '+'
  260. {
  261. i = 1
  262. } }
  263.  
  264. for (; i < length(); i++)
  265. {
  266. var c = charAt(i)
  267.  
  268. if c == '.'
  269. {
  270. if hasDecimalPoint
  271. {
  272. throw new Exception("Multiple decimal points")
  273. }
  274.  
  275. hasDecimalPoint = true
  276. continue
  277. }
  278.  
  279. if c < '0' | c > '9'
  280. {
  281. throw new Exception("Invalid character: '" + c + "'")
  282. }
  283.  
  284. if hasDecimalPoint == false
  285. {
  286. // before the decimal point
  287. result = result * 10 + (c - '0')
  288. }
  289. else
  290. {
  291. // after the decimal point
  292. result = result + (c - '0') * fractionMultiplier
  293. fractionMultiplier = fractionMultiplier * 0.1
  294. }
  295. }
  296.  
  297. return result * sign
  298. }
  299. }
  300.  
  301. @AllowFor(true, false, false, false, false)
  302. @ExpectFunc("getType", 0, false)
  303. @ExpectFunc("getMessage", 0, false)
  304. @ExpectFunc("getData", 0, false)
  305. attribute Throwable()
  306.  
  307. @Throwable
  308. class Exception (msg, type, const source, const line, const col, data)
  309. {
  310. static const INDEX_OUT_OF_RANGE = "INDEX_OUT_OF_RANGE"
  311. static const ARGUMENT_NULL = "ARGUMENT_NULL"
  312. static const NULL_REFERENCE = "NULL_REFERENCE"
  313. static const INVALID_ARGUMENT = "INVALID_ARGUMENT"
  314. static const INVALID_OPERATION = "INVALID_OPERATION"
  315. static const EXTERN_OPERATION_FAILED = "EXTERN_OPERATION_FAILED"
  316. static const NOT_FOUND = "NOT_FOUND"
  317. static const DIVIDE_BY_ZERO = "DIVIDE_BY_ZERO"
  318. static const STACK_OVERFLOW = "STACK_OVERFLOW"
  319.  
  320. constructor (t, m)
  321. {
  322. type = t
  323. msg = m
  324. }
  325.  
  326. constructor(m)
  327. {
  328. this.msg = m
  329. this.type = "UNKNOWN"
  330. }
  331.  
  332. constructor(t, m, d?)
  333. {
  334. msg = m
  335. type = t
  336. data = d
  337. }
  338.  
  339. func getType() => type
  340. func getMessage() => msg
  341. func getData() => data
  342. }
  343.  
  344. class ExternTypeValue ()
  345. {
  346. private constructor() {}
  347.  
  348. @Translator
  349. private func str()
  350. {
  351. const _this = this
  352. return _this.toString()
  353. }
  354. }
  355.  
  356. class Type (const name, const fullName, const def private)
  357. {
  358. private constructor() {}
  359. static func get(obj)
  360. {
  361. // BUILTIN FUNCTION
  362. }
  363. }
  364.  
  365. class List (array private basearray)
  366. {
  367. constructor (arr)
  368. {
  369. array = arr
  370. }
  371.  
  372. constructor()
  373. {
  374. array = []
  375. }
  376.  
  377. func add(val?)
  378. {
  379. const n = new Array(array.length() + 1)
  380. for (var i = 0; i < count(); i++)
  381. {
  382. n[i] = array[i]
  383. }
  384. n[n.length() - 1] = val
  385. array = n
  386. }
  387.  
  388. func remove(index)
  389. {
  390. const n = new Array (array.length() - 1)
  391. const len = array.length()
  392. for (var i = 0; i < index; i++)
  393. {
  394. n[i] = array[i]
  395. }
  396. for (var i = index + 1 ; i < len ; i++)
  397. {
  398. n[i - 1] = array[i]
  399. }
  400.  
  401. array = n
  402. }
  403.  
  404. func setAt(i, val?)
  405. {
  406. array[i] = val
  407. }
  408.  
  409. func get(i)
  410. {
  411. if i is not number | i > count() - 1 | i < 0
  412. {
  413. throw new Exception("Argument out of range.")
  414. }
  415. return array[i]
  416. }
  417.  
  418. func first(cond)
  419. {
  420. return this.array.first(cond)
  421. }
  422.  
  423. func contains(val?)
  424. {
  425. return first(func(v) => v == val) != null
  426. }
  427.  
  428. func findAll(cond)
  429. {
  430. return this.array.findAll(cond)
  431. }
  432.  
  433. func clear()
  434. {
  435. array = []
  436. }
  437.  
  438. @ReadOnly func toArray()
  439. {
  440. return array.copy()
  441. }
  442.  
  443. func count()
  444. {
  445. return lenof array
  446. }
  447.  
  448. func indexOf(val?)
  449. {
  450. foreach x in this : counter c
  451. {
  452. if (x == val)
  453. {
  454. return c
  455. }
  456. }
  457. return 0 - 1
  458. }
  459.  
  460. @Translator
  461. func toString()
  462. {
  463. var s = "["
  464. foreach v in array : counter i
  465. {
  466. s = s + v
  467. if i < count() - 1
  468. {
  469. s = s + ", "
  470. }
  471. }
  472. return s + "]"
  473. }
  474.  
  475. func print()
  476. {
  477. print toString()
  478. }
  479. }
  480.  
  481. class Dictionary (const keys private, const values private basearray)
  482. {
  483. constructor()
  484. {
  485. keys = new List()
  486. values = new List()
  487. }
  488.  
  489. func set(key, val?)
  490. {
  491. const index = keys.indexOf(key)
  492. if (index >= 0)
  493. {
  494. values.setAt(index, val)
  495. }
  496. else
  497. {
  498. keys.add(key)
  499. values.add(val)
  500. }
  501. }
  502.  
  503. func get(key)
  504. {
  505. const index = keys.indexOf(key)
  506. if (index < 0)
  507. {
  508. throw new Exception(Exception.NOT_FOUND ?? "NOT_FOUND", "The specified key was not found.") // TODO: remove not_found coalscing after fixing static vars auto init
  509. }
  510. return values.get(index)
  511. }
  512.  
  513. func containsKey(key)
  514. {
  515. return keys.contains(key)
  516. }
  517.  
  518. @Translator
  519. func toString()
  520. {
  521. var str = "["
  522. foreach x in keys : counter c
  523. {
  524. str = str + x + ": " + values.get(c)
  525. if (c < keys.count() - 1)
  526. {
  527. str = str + ", "
  528. }
  529. }
  530. return str + "]"
  531. }
  532. }
  533.  
  534.  
  535. class Date (year, month, day, hour, minute, sec, millis, nanos)
  536. {
  537. constructor(year, month, day, hour, minute)
  538. {
  539. this.year = year
  540. this.month = month
  541. this.day = day
  542. this.hour = hour
  543. this.minute = minute
  544. }
  545.  
  546. constructor(year, month, day, hour, minute, sec, millis, nanos)
  547. {
  548. this.year = year
  549. this.month = month
  550. this.day = day
  551. this.hour = hour
  552. this.minute = minute
  553. this.sec = sec
  554. this.millis = millis
  555. this.nanos = nanos
  556. }
  557.  
  558. constructor()
  559. {
  560.  
  561. }
  562.  
  563. func setToNow()
  564. {
  565. // BUILTIN FUNCTION
  566. }
  567.  
  568. @ReadOnly
  569. static func now()
  570. {
  571. const d = new Date()
  572. d.setToNow()
  573. return d
  574. }
  575.  
  576. @Translator
  577. func toString()
  578. {
  579. var h = hour
  580. if h < 10
  581. {
  582. h = "0" + h
  583. }
  584. var m = minute
  585. if m < 10
  586. {
  587. m = "0" + m
  588. }
  589. return day + "." + month + "." + year + " " + h + ":" + m
  590. }
  591.  
  592. func toFullString()
  593. {
  594. var s = sec
  595. if s < 10
  596. {
  597. s = "0" + s
  598. }
  599. return toString() + ":" + s + "." + millis + "." + nanos
  600. }
  601. }
  602.  
  603. class cs()
  604. {
  605. private constructor() {}
  606. static func int(n) {}
  607. static func byte(n) {}
  608. static func float(n) {}
  609. static func long(n) {}
  610. static func action(f) {}
  611. static func exp(o) {}
  612. }
  613.  
  614. func refEquals(a?, b?)
  615. {
  616. // BUILTIN FUNCTION
  617. }
  618.  
  619. func round(num)
  620. {
  621. const up = num % 1 >= 0.5
  622. num = num - num % 1
  623. if up
  624. {
  625. num = num + 1
  626. }
  627. return num
  628. }
  629.  
  630. func stringOf(obj?)
  631. {
  632. return obj + ""
  633. }
  634.  
  635. func floor(num)
  636. {
  637. return num - num % 1
  638. }
  639.  
  640. func println(text?)
  641. {
  642. print text + "\n"
  643. }
  644.  
  645. func setTimeout(millis, action)
  646. {
  647. // BUILTIN FUNCTION
  648. }
  649.  
  650. func runAsync(action, onComplete?)
  651. {
  652. // BUILTIN FUNCTION
  653. }
  654.  
  655. func runAsync(action)
  656. {
  657. runAsync(action, null)
  658. }
  659.  
  660. func pow(a, b)
  661. {
  662. if (b == 0)
  663. {
  664. return 1
  665. }
  666.  
  667. const power = a
  668. for (var i = 1; i < b; i++)
  669. {
  670. a = a * power
  671. }
  672.  
  673. return a
  674. }
  675.  
  676. func sign(n)
  677. {
  678. if n > 0 { return 1 }
  679. if n < 0 { return -1 }
  680. return 0
  681. }
Advertisement
Comments
  • Garlevor
    2 days
    # CSS 0.84 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/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 38% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. 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 from Swapzone — instant swap).
Add Comment
Please, Sign In to add comment