SHARE
TWEET

CoC - Leak the upcoming CG rewards (BATCH) [Fixed]

Imthedude025 Aug 16th, 2018 (edited) 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  2. ::Leak the upcoming clan games rewards                       ::
  3. ::Created by RU$$ [http://russdev.mooo.com/]                 ::
  4. ::                                                           ::
  5. ::Patches:                                                   ::
  6. ::Fixed script reading wrong data location [8/23/18]         ::
  7. ::Redesigned the script to work with future games [8/29/18]  ::
  8. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  9. @ECHO OFF
  10. CD %TEMP%
  11. setlocal enabledelayedexpansion
  12.  
  13. if exist "1.txt" (del 1.txt)
  14. if exist "2.txt" (del 2.txt)
  15. if exist "3.txt" (del 3.txt)
  16. if exist "4.txt" (del 4.txt)
  17. if exist "5.txt" (del 5.txt)
  18. if exist "6.txt" (del 6.txt)
  19. if exist "output.txt" (del output.txt)
  20. if exist "runDWM.ps1" (del runDWM.ps1)
  21.  
  22. :::::::::::::::::::::: Download HTML Page
  23. set "base64string=aHR0cHM6Ly9nb28uZ2wvRVpjQkhH"
  24. for /f "tokens=* delims=" %%# in ('powershell [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("""%base64string%"""^)^)') do set "decoded=%%#"
  25.  
  26. powershell -c "$Host.UI.RawUI.WindowTitle = 'Loading... Please wait'; Invoke-RestMethod -Uri %decoded% -OutFile output.txt"
  27. ::::::::::::::::::::::
  28.  
  29. :::::::::::::::::::::: Remove Everything Before "ezoic-pub-ad-placeholder-196"
  30. for /f "delims=:" %%N in ('findstr /n ezoic-pub-ad-placeholder-196 "output.txt"') do if not defined N set /a N=%%N-1
  31. more +%N% "output.txt" >"1.txt"
  32. ::::::::::::::::::::::
  33.  
  34. :::::::::::::::::::::: Put Everything On One Line
  35. set String=
  36. for /f "delims=" %%x in (1.txt) do set "String=!String! %%x"
  37.  
  38. echo !string! >> 2.txt
  39. ::::::::::::::::::::::
  40.  
  41. :::::::::::::::::::::: Remove Everything After "adace-shortcode-44865"
  42. echo $target='adace-shortcode-44865' >> runDWM.ps1
  43. echo foreach ($line in gc .\2.txt){$line.substring(0,$line.indexof($target)+$target.length)^|out-file '3.txt' -Append -Encoding Ascii} >> runDWM.ps1
  44. powershell -executionpolicy bypass -File .\runDWM.ps1
  45. if exist "runDWM.ps1" (del runDWM.ps1)
  46. ::::::::::::::::::::::
  47.  
  48. :::::::::::::::::::::: Add an ">" & Put Everything On One Line
  49. ECHO ^> >> 3.txt
  50. set String=
  51. for /f "delims=" %%x in (3.txt) do set "String=!String! %%x"
  52.  
  53. echo !string! >> 4.txt
  54. ::::::::::::::::::::::
  55.  
  56. :::::::::::::::::::::: Remove Everything inside "< >"
  57. ECHO get-content "4.txt" ^| %% {^$_ -replace "\<.*?\>"^,""} ^| Out-File '5.txt' -Append -Encoding Ascii >> runDWM.ps1
  58. powershell -executionpolicy bypass -File .\runDWM.ps1
  59. if exist "runDWM.ps1" (del runDWM.ps1)
  60. ::::::::::::::::::::::
  61.  
  62. :::::::::::::::::::::: Clean Script
  63. SET String=
  64. for /f "delims== tokens=*" %%G in (5.txt) do set "String=!String! %%G"
  65.  
  66. SET String=!String:Tier 1=NEW Tier 1%!
  67. SET String=!String:*NEW=%!
  68. SET String=!String: Tier 1=Tier 1%!
  69. SET String=!String:^&nbsp;=%!
  70. SET String=!String:^:=^: %!
  71. SET String=!String:Tier=- Tier%!
  72. SET String=!String:- Tier 1=Tier 1%!
  73.  
  74. SET String=!String: Tier 1=Tier 1%!
  75. SET String=!String: ???=%!
  76. SET String=!String:points=points:%!
  77.  
  78. SET String=!String: =_%!
  79. SET String=!String:______=%!
  80. SET String=!String:_= %!
  81.  
  82. SET String=!String:  = %!
  83. SET String=!String:  = %!
  84.  
  85. echo !string! >> 6.txt
  86. ::::::::::::::::::::::
  87.  
  88. :::::::::::::::::::::: Remove Created %Temp% Files
  89. if exist "1.txt" (del 1.txt)
  90. if exist "2.txt" (del 2.txt)
  91. if exist "3.txt" (del 3.txt)
  92. if exist "4.txt" (del 4.txt)
  93. if exist "5.txt" (del 5.txt)
  94. if exist "6.txt" (del 6.txt)
  95. if exist "output.txt" (del output.txt)
  96. if exist "runDWM.ps1" (del runDWM.ps1)
  97. ::::::::::::::::::::::
  98.  
  99. :::::::::::::::::::::: Echo Results
  100.  
  101. title Next Clan Games LEAKED
  102. ::::::::::::::::::::::
  103. :menu
  104. cls
  105.  
  106. echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  107. echo + UPCOMING CLAN GAME INFO LEAKED - SCRIPT BY D.RUSS
  108. echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  109. echo !String!
  110. echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  111. echo(
  112.  
  113. set /p respose=Do you wish to export this data? (Y/N):
  114. IF /I '%respose%'=='Y' goto extract
  115. IF /I '%respose%'=='y' goto extract
  116. IF /I '%respose%'=='N' goto :eof
  117. IF /I '%respose%'=='n' goto :eof
  118.  
  119. goto menu
  120.  
  121. :extract
  122. if exist "%~dp0Next-Clan-Games.txt" (del %~dp0Next-Clan-Games.txt)
  123. echo !string! >> %~dp0Next-Clan-Games.txt
  124. cls
  125. echo The data was extracted to "%~dp0" and saved as Next-Clan-Games.txt
  126. echo(
  127. pause
  128. goto :eof
  129. ::::::::::::::::::::::
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top