alexpanoiu

Find Good Multiplier

Dec 5th, 2018 (edited)
5,888
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Sub FindGoodMultiplier( _
  2.   ByVal Modulus As Long, _
  3.   Optional ByVal OverflowAt As Long = 32767)
  4.  
  5.   Dim Multiplier As Long
  6.   Dim Hit() As Boolean
  7.   Dim m As Long
  8.   Dim x As Long
  9.   Dim i As Long
  10.  
  11.   Do While Modulus > 1
  12.     ReDim Hit(1 To Modulus - 1) As Boolean
  13.     m = OverflowAt \ Modulus
  14.     If m >= Int(Modulus ^ (2 / 3)) Then m = Int(Modulus ^ (2 / 3))
  15.     For Multiplier = m To 2 Step -1
  16.       For i = 1 To Modulus - 1: Hit(i) = False: Next i
  17.       x = 1
  18.       For i = 2 To Modulus - 1
  19.         If x = 0 Then Exit For
  20.         If Hit(x) Then Exit For
  21.         Hit(x) = True
  22.         x = (x * Multiplier) Mod Modulus
  23.       Next i
  24.       If i > Modulus - 1 Then
  25.         Debug.Print Multiplier & " is a good multiplier for modulus " & Modulus
  26.         Exit Sub
  27.       End If
  28.     Next Multiplier
  29.     Modulus = Modulus - 1
  30.     DoEvents
  31.   Loop
  32.  
  33.   Debug.Print "No good multiplier was found"
  34.  
  35. End Sub
  36.  
  37. ' 1020 is a good multiplier for modulus 32749
  38. ' 63 is a good multiplier for modulus 509
  39. ' 21 is a good multiplier for modulus 97
  40. ' 23 is a good multiplier for modulus 127
Advertisement
Comments
  • Ronjulix
    210 days
    # CSS 0.85 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 25% — 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 SimpleSwap — instant swap).
  • User was banned
Add Comment
Please, Sign In to add comment