IT-Academy

Export a import modulov

Nov 18th, 2018
4,281
0
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Option Explicit
  2. '  Export modulov, harkov a formularov
  3. '  V nastaveniach makra, povol doveryhodny model VBA
  4. '  Vytvor si na disku C:\ priecinok Temp
  5. '
  6. Sub ExportMods()
  7.     Dim i As Integer
  8.     With ActiveWorkbook.VBProject.VBComponents
  9.         For i = 1 To .Count
  10.             Range("A1").Offset(i - 1, 0).Value = .Item(i).Type
  11.             Range("A1").Offset(i - 1, 1).Value = .Item(i).Name
  12.             .Item(i).Export "C:\Temp\" & .Item(i).Name & ".bas"
  13.         Next i
  14.     End With
  15.     MsgBox "Si uspesne vyexportoval...", vbInformation, "Export modulov"
  16.    
  17. End Sub
  18.  
  19.  
  20. Sub ImportMods()
  21. Dim i As Integer
  22. Dim x
  23.     With ActiveWorkbook.VBProject.VBComponents
  24.         For i = 0 To WorksheetFunction.CountA(Range("A:A")) - 1
  25.             .Import "C:\Temp\" & Range("B1").Offset(i, 0).Text & ".bas"
  26.         Next i
  27.     End With
  28.     MsgBox "Si uspesne naimportoval...", vbInformation, "Import modulov"
  29. End Sub
  30.  
  31.  
  32. Sub xxx()
  33.     Const vbext_ct_ClassModule = 2
  34.     With ActiveWorkbook.VBProject.VBComponents
  35.         For i = 1 To .Count
  36.             Select Case .Item(i).Type
  37.                 Case vbext_ct_ClassModule
  38.                     MsgBox "Class module: " & .Item(i).Name
  39.                 Case Else
  40.     '                MsgBox "Not a class module: " & .Item(i).Name
  41.                End Select
  42.         Next i
  43.     End With
  44. End Sub
Advertisement
Comments
  • User was banned
  • Ronjulix
    151 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