Advertisement
Guest User

Untitled

a guest
Jan 12th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.28 KB | None | 0 0
  1. import getpass
  2. import time
  3. import hashlib
  4. import json
  5. import random
  6. import requests
  7. import numpy as np
  8. from requests.packages.urllib3.exceptions import InsecureRequestWarning
  9. requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
  10.  
  11. kek = np.array([['http://www.tremorgames.com/playgame/5872/super-defence.html','http://www.tremorgames.com/games/files/ZI3_SuperShooterV4.3.swf',127,'fr5tgbhny67'],
  12. ['http://www.tremorgames.com/playgame/5862/endless-war-5.html','http://www.tremorgames.com/games/files/CX6_ew5 TG.swf',120,'afrtg56yhgt'],
  13. ['http://www.tremorgames.com/playgame/5861/cardmania-golf-solitaire.html','http://www.tremorgames.com/games/files/LEP_golfSolitaire.swf',124,'gtr54rgtyhn'],
  14. ['http://www.tremorgames.com/playgame/5855/creatively-complicated.html','http://www.tremorgames.com/games/files/creatively-complicated.swf',113,'cngi8ujhlljni'],
  15. ['http://www.tremorgames.com/playgame/5812/lights-off.html','http://www.tremorgames.com/games/files/E1H_lights_off.swf',101,'asr45tgfgh'],
  16. ['http://www.tremorgames.com/playgame/5837/spectromancer-gamers-pack.html','http://www.tremorgames.com/games/files/SPGP.swf',116,'ae43rf5tgy67'],
  17. ['http://www.tremorgames.com/playgame/5813/unblock-it-2.html','http://www.tremorgames.com/games/files/27F_UnblockIt2.swf',110,'bgnh76ymkjio9'],
  18. ['http://www.tremorgames.com/playgame/5800/magi-the-fallen-world.html','http://www.tremorgames.com/games/files/X2T_battle_final_non_exclusive.swf',106,'dfvb56tgy'],
  19. ['http://www.tremorgames.com/playgame/5755/melancholia.html','http://www.tremorgames.com/games/files/melancholia.swf',94,'gt6yhg45rf'],
  20. ['http://www.tremorgames.com/playgame/5816/unblock-it.html','http://www.tremorgames.com/games/files/UnblockIt.swf',112,'ajyh67tgfrs'],
  21. ['http://www.tremorgames.com/playgame/5774/-commit-point-five.html','http://www.tremorgames.com/games/files/CommitLoader.swf',100,'fgrt254hbn76'],
  22. ['http://www.tremorgames.com/playgame/5809/max-connect-2.html','http://www.tremorgames.com/games/files/mc2_fix.swf',109,'r45gt67yhsd'],
  23. ['http://www.tremorgames.com/playgame/5786/zombie-situation.html','http://www.tremorgames.com/games/files/zombie1975.swf',103,'km78uyhg564'],
  24. ['http://www.tremorgames.com/playgame/4714/pigs-will-fly.html','http://www.tremorgames.com/games/files/pigs-will-fly.swf',108,'adr43fg67hnj8'],
  25. ['http://www.tremorgames.com/playgame/5757/fall-of-the-dead.html','http://www.tremorgames.com/games/files/P9Q_Fall of the dead vihutuoCMPStar.swf',102,'tyygg34'],
  26. ['http://www.tremorgames.com/playgame/5254/flood-runner-4.html','http://www.tremorgames.com/games/files/FloodRunner4_reloaded.swf',57,'f6g4h5j8mk'],
  27. ['http://www.tremorgames.com/playgame/5762/gnomes-coins.html','http://www.tremorgames.com/games/files/gnome-coins.swf',96,'adfrtg567ad'],
  28. ['http://www.tremorgames.com/playgame/5761/whats-unnecessary.html','http://www.tremorgames.com/games/files/Whatsunnecessary.swf',99,'af54gtyh67uh'],
  29. ['http://www.tremorgames.com/playgame/5608/ion-swarm.html','http://www.tremorgames.com/games/files/ion-swarm.swf',76,'16tg75gki9'],
  30. ['http://www.tremorgames.com/playgame/5717/gears-and-chains-spin-it.html','http://www.tremorgames.com/games/files/Gears 0.5.4 TG CPM.swf',87,'af5rgh7uj'],
  31. ['http://www.tremorgames.com/playgame/5728/shiftarium.html','http://www.tremorgames.com/games/files/shiftarium.swf',92,'fre3gt6yh'],
  32. ['http://www.tremorgames.com/playgame/5729/blackwood-prologue.html','http://www.tremorgames.com/games/files/BlackwoodPrologue(ads).swf',88,'rt6yh78ih'],
  33. ['http://www.tremorgames.com/playgame/656/jet-pod-remanufactured.html','http://www.tremorgames.com/games/files/jet-pod-remanufactured.swf',93,'dfr45tghy'],
  34. ['http://www.tremorgames.com/playgame/5723/mini-crash-boy.html','http://www.tremorgames.com/games/files/MiniCrashBoy.swf',90,'mn78qw123'],
  35. ['http://www.tremorgames.com/playgame/5707/boss-slayer.html','http://www.tremorgames.com/games/files/XN7_secure_BossKiller.swf',75,'gtbh67yde4'],
  36. ['http://www.tremorgames.com/playgame/5698/blast-boxes.html','http://www.tremorgames.com/games/files/BlastBoxes_Normal.swf',84,'kij87yhu'],
  37. ['http://www.tremorgames.com/playgame/5258/tremor-rocket-2.html','http://www.tremorgames.com/games/files/TremorRocket2_Normal.swf',73,'kjhyuinhg'],
  38. ['http://www.tremorgames.com/playgame/5686/unusual-way.html','http://www.tremorgames.com/games/files/UnusualWay.swf',83,'fdsf45dsfgF'],
  39. ['http://www.tremorgames.com/playgame/5607/easy-way.html','http://www.tremorgames.com/games/files/IGRA.swf',82,'sdfRgdg456'],
  40. ['http://www.tremorgames.com/playgame/4663/dogfight-aces.html','http://www.tremorgames.com/games/files/dogfight-aces.swf',33,'hj76gy'],
  41. ['http://www.tremorgames.com/playgame/5690/incoming.html','http://www.tremorgames.com/games/files/incoming.swf',81,'d34f6h7j89'],
  42. ['http://www.tremorgames.com/playgame/5291/just-a-random-day.html','http://www.tremorgames.com/games/files/K35_Just a Random Day 1.2.swf',74,'drtygh56ty'],
  43. ['http://www.tremorgames.com/playgame/1312/factory-balls-4.html','http://www.tremorgames.com/games/files/factory-balls-4.swf',69,'hb65n91kilp'],
  44. ['http://www.tremorgames.com/playgame/5200/back2back.html','http://www.tremorgames.com/games/files/back2back.swf',67,'fbg65hy7uj'],
  45. ['http://www.tremorgames.com/playgame/4708/masons-medals.html','http://www.tremorgames.com/games/files/masons-medals.swf',44,'afgh76hyt'],
  46. ['http://www.tremorgames.com/playgame/4919/caldera-legends.html','http://www.tremorgames.com/games/files/Caldera Legends Sitelock.swf',52,'asdf56gfqwe'],
  47. ['http://www.tremorgames.com/playgame/4962/salad-ninja.html','http://www.tremorgames.com/games/files/SaladNinja_Normal.swf',61,'addfgtr45ty62'],
  48. ['http://www.tremorgames.com/playgame/4834/freeway-challenge.html','http://www.tremorgames.com/games/files/FreewayChallenge.swf',58,'as4fr5tg67'],
  49. ['http://www.tremorgames.com/playgame/4651/zombie-city.html','http://www.tremorgames.com/games/files/zombiesiti.28.swf',37,'f4tg56'],
  50. ['http://www.tremorgames.com/playgame/4833/cursed-dungeon.html','http://www.tremorgames.com/games/files/secure_RPGGame2.swf',54,'kjyu78nm3er'],
  51. ['http://www.tremorgames.com/playgame/4774/air-maze-3.html','http://www.tremorgames.com/games/files/A5F_AirMaze3_Tremor_secure.swf',50,'asnh56rfgf'],
  52. ['http://www.tremorgames.com/playgame/4750/zombie-defense-agency.html','http://www.tremorgames.com/games/files/zomTremor.swf',55,'r54tn7yh8'],
  53. ['http://www.tremorgames.com/playgame/4711/shifting-castle.html','http://www.tremorgames.com/games/files/shifting-castle.swf',46,'asd5tgh67'],
  54. ['http://www.tremorgames.com/playgame/5697/planet-lucha.html','http://www.tremorgames.com/games/files/PTF_planet lucha.swf',85,'sdfsFretg46d'],
  55. ['http://www.tremorgames.com/playgame/4713/glowrunner.html','http://www.tremorgames.com/games/files/E54_Main.swf',51,'ad4jm90f'],
  56. ['http://www.tremorgames.com/playgame/4712/pipeline-master.html','http://www.tremorgames.com/games/files/PipelineMaster.swf',49,'as34frt56y'],
  57. ['http://www.tremorgames.com/playgame/4662/zombie-tormentor.html','http://www.tremorgames.com/games/files/BieberTormentor_prototype_v12b.swf',43,'drtfGtukl56s'],
  58. ['http://www.tremorgames.com/playgame/4654/aargh.html','http://www.tremorgames.com/games/files/secure_Aargh.swf',42,'ruhtyGtrh4wj'],
  59. ['http://www.tremorgames.com/playgame/4648/musicball.html','http://www.tremorgames.com/games/files/MusicBall_WithAds.swf',40,'bgh67y'],
  60. ['http://www.tremorgames.com/playgame/4609/blockstachio.html','http://www.tremorgames.com/games/files/Blockstachio-Preview-v1.8.swf',35,'m9u7k8'],
  61. ['http://www.tremorgames.com/playgame/4610/cupid-rescue.html','http://www.tremorgames.com/games/files/CubidRescue_Normal.swf',31,'alpo98'],
  62. ['http://www.tremorgames.com/playgame/4607/captain-fugly-2.html','http://www.tremorgames.com/games/files/captain-fugly-2.swf',34,'m8h7yu'],
  63. ['http://www.tremorgames.com/playgame/4606/penguins-attack-2.html','http://www.tremorgames.com/games/files/WPA_2_TremorGames.swf',32,'bg67hy'],
  64. ['http://www.tremorgames.com/playgame/4561/billi-color-lines.html','http://www.tremorgames.com/games/files/billi-color-lines.swf',30,'acf47k'],
  65. ['http://www.tremorgames.com/playgame/4425/dart-wheel.html','http://www.tremorgames.com/games/files/DAI_DartWheel_Normal.swf',27,'vmkl8q'],
  66. ['http://www.tremorgames.com/playgame/4284/zombie-shooter.html','http://www.tremorgames.com/games/files/zombie-shooter.swf',26,'ase45g'],
  67. ['http://www.tremorgames.com/playgame/4170/speed-rally.html','http://www.tremorgames.com/games/files/speed-rally.swf',25,'jmg65t'],
  68. ['http://www.tremorgames.com/playgame/3913/ninja-sequence.html','http://www.tremorgames.com/games/files/NinjaSequenceCPMStar.swf',21,'ace3rt'],
  69. ['http://www.tremorgames.com/playgame/3719/crazy-soldier.html','http://www.tremorgames.com/games/files/crazy-soldier.swf',22,'jngyu7'],
  70. ['http://www.tremorgames.com/playgame/3687/tremor-gunslinger.html','http://www.tremorgames.com/games/files/I9H_TremorGunslinger_Normal.swf',19,'bhngy6'],
  71. ['http://www.tremorgames.com/playgame/3656/tremor-ace.html','http://www.tremorgames.com/games/files/Tremor-Ace.swf',17,'pr9gij'],
  72. ['http://www.tremorgames.com/playgame/3477/cave-run.html','http://www.tremorgames.com/games/files/Cave-Run.swf',15,'a3ertg'],
  73. ['http://www.tremorgames.com/playgame/3452/tremor-rocket.html','http://www.tremorgames.com/games/files/Tremor-Rocket.swf',11,'gbniyw'],
  74. ['http://www.tremorgames.com/playgame/3657/mole-and-zombie-whack.html','http://www.tremorgames.com/games/files/mole-and-zombie-whack.swf',18,'fbhgt6'],
  75. ['http://www.tremorgames.com/playgame/3440/ninja-terror.html','http://www.tremorgames.com/games/files/ninjaterror.swf',9,'ythr56'],
  76. ['http://www.tremorgames.com/playgame/4612/zombie-last-night-2.html','http://www.tremorgames.com/games/files/zombie_last_night2_tremor_v9_secure.swf',39,'a5g678'],
  77. ['http://www.tremorgames.com/playgame/5046/battleship-the-beginning.html','http://www.tremorgames.com/games/files/RCN_battleship.swf',72,'vf5jnyu76'],
  78. ['http://www.tremorgames.com/playgame/5685/empires-of-arkeia.html','http://www.tremorgames.com/games/files/eoa.swf',122,'gf45tgh67yj'],
  79. ['http://www.tremorgames.com/playgame/5906/skullhunter-players-pack.html','http://www.tremorgames.com/games/files/SkullHunter_PlayersPack.swf',137,'agt54fghy67u'],
  80. ['http://www.tremorgames.com/playgame/5932/arcs.html','http://www.tremorgames.com/games/files/1349701419_5932_ArcsGo.swf',143,'gtr45bhn678'],
  81. ['http://www.tremorgames.com/playgame/7098/rawr.html','http://www.tremorgames.com/games/files/1352801906_7098_rawr.swf',176,'fgVB65&jh*9;{}kmLOpo2'],
  82. ['http://www.tremorgames.com/playgame/7113/pike-club-2.html','http://www.tremorgames.com/games/files/1355161019_7113_pike_club2.swf',183,'FVBGTR54$#@#rfgTpo9'],
  83. ['http://www.tremorgames.com/playgame/7009/bazooki-a-silent-affair.html','http://www.tremorgames.com/games/files/bazooki.swf',156,'n6fv3x9r56'],
  84. ['http://www.tremorgames.com/playgame/7022/endless-war-3.html','http://www.tremorgames.com/games/files/1355333577_7022_ew3 Tremor.swf',169,'kjnh67gbf43']])
  85.  
  86.  
  87.  
  88. def IsNumeric( v ):
  89. try:
  90. v2 = int( v )
  91. return True
  92. except (ValueError, TypeError):
  93. return False
  94.  
  95. def LoginTremorGames( s, username, password ):
  96. s.headers.update( { 'Origin': 'http://www.tremorgames.com' } )
  97. s.headers.pop( 'X-Requested-With', None )
  98. s.headers.update( { 'Referer': 'http://www.tremorgames.com/index.php' } )
  99. r = s.post( 'http://www.tremorgames.com/index.php', data={ 'loginuser': username, 'loginpassword': password, 'Submit': '' }, allow_redirects=False )
  100. return
  101.  
  102. def GetUserCoins( s ):
  103. s.headers.pop( 'Origin', None )
  104. s.headers.update( { 'X-Requested-With': 'XMLHttpRequest' } )
  105. s.headers.update( { 'Referer': GameURL } )
  106. r = s.get( 'http://www.tremorgames.com/achievements/ajax_getusercoins.php' )
  107. return int( r.text )
  108.  
  109. def GetGameAchievements( s ):
  110. s.headers.pop( 'Origin', None )
  111. s.headers.pop( 'X-Requested-With', None )
  112. s.headers.pop( 'Referer', None )
  113. r = s.get( GameURL, allow_redirects=False )
  114.  
  115. jsonStartIdx = r.text.find( 'AchievementsJS = jQuery.parseJSON(\'' ) + len( 'AchievementsJS = jQuery.parseJSON(\'' )
  116. jsonEndIdx = r.text.find( '\');', jsonStartIdx )
  117.  
  118. return json.loads( r.text[jsonStartIdx:jsonEndIdx] )
  119.  
  120. def GetGameStats( s, playerName ):
  121. s.headers.pop( 'Origin', None )
  122. s.headers.update( { 'X-Requested-With': 'ShockwaveFlash/24.0.0.194' } )
  123. s.headers.update( { 'Referer': GameURL } )
  124. r = s.get( 'http://www.tremorgames.com/achievements/json_get_stats.php', params={ 'PlayerName': playerName, 'GameID': GameID } )
  125. return r.json()
  126.  
  127. def UpdateGameStat( s, playerName, statName, statValue ):
  128. # calculate key
  129. requestKey = hashlib.md5( (playerName + Key + str( statValue )).encode( 'utf-8' ) ).hexdigest().lower()
  130.  
  131. s.headers.update( { 'Origin': 'http://www.tremorgames.com' } )
  132. s.headers.update( { 'X-Requested-With': 'ShockwaveFlash/24.0.0.194' } )
  133. s.headers.update( { 'Referer': GameSWF } )
  134. r = s.post( 'http://www.tremorgames.com/achievements/record_stats.php', data={ 'StatValue': statValue, 'StatName': statName, 'PlayerName': playerName, 'GameID': GameID, 'Key': requestKey } )
  135. return
  136.  
  137. random.seed()
  138. s = requests.Session()
  139. s.headers.update( { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36' } )
  140. s.headers.update( { 'Accept-Language': 'en-US,en;q=0.8' } )
  141.  
  142. # ????? ?? ? ???
  143. username = input( 'L???? ?? tremor : ' )
  144. password = input( 'Pass : ' )
  145. LoginTremorGames( s, username, password )
  146. print( '? ??? ?????' )
  147. i = 0
  148. while i < 92:
  149. GameID = int(kek[i,2])
  150. Key = (kek[i,3])
  151. GameURL = (kek[i,0])
  152. GameSWF = (kek[i,1])
  153. gameAchievements = GetGameAchievements( s )
  154. #gameStats = GetGameStats( s, username )
  155.  
  156. # ?????? ?? ?? ??????
  157. for achievement in gameAchievements:
  158. # currently only Max and Cumulative stat types supported
  159. if achievement['StatType'] != 'Max' and achievement['StatType'] != 'Cumulative':
  160. continue
  161.  
  162. # usually the current stat value isn't 0 but something like null or none, so we set it to 0
  163. if not IsNumeric( achievement['ProgressValue'] ):
  164. achievement['ProgressValue'] = '0'
  165.  
  166. statIncrease = 1
  167. statGoal = int( achievement['StatValue'] )
  168. if statGoal >= 100000:
  169. statIncrease = random.randrange( 1, 10000 )
  170. elif statGoal >= 10000:
  171. statIncrease = random.randrange( 1, 1000 )
  172. elif statGoal >= 1000:
  173. statIncrease = random.randrange( 1, 100 )
  174.  
  175. print( '?????? ??????????? ?????? - "' + achievement['AchievementName'] + '"' )
  176. while int( achievement['ProgressValue'] ) < int( achievement['StatValue'] ):
  177. achievement['ProgressValue'] = str( int( achievement['ProgressValue'] ) + statIncrease )
  178.  
  179. if achievement['StatType'] == 'Cumulative':
  180. UpdateGameStat( s, username, achievement['StatName'], statIncrease )
  181. else:
  182. UpdateGameStat( s, username, achievement['StatName'], int( achievement['ProgressValue'] ) )
  183.  
  184. # so we don't do it too fast
  185. time.sleep( 1 )
  186.  
  187. print( '?????? ? ??? ????????\n' )
  188. print( '?? ? ????????? ' );print ( '1');time.sleep( 1 );print ( '2');time.sleep( 1 );print ( '3');time.sleep( 1 );print ( '4');time.sleep( 1 );print ( '5')
  189. i = i + 1
  190. print( '??????? :)' )
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199. import getpass
  200. import time
  201. import hashlib
  202. import json
  203. import random
  204. import requests
  205. import numpy as np
  206. from requests.packages.urllib3.exceptions import InsecureRequestWarning
  207. requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
  208.  
  209. kek = np.array([['http://www.tremorgames.com/playgame/5087/death-call.html','http://www.tremorgames.com/games/files/DeathCall_withAds.swf',63,'sf5tghy7uj'],
  210. ['http://www.tremorgames.com/playgame/5289/amberial-axis.html','http://www.tremorgames.com/games/files/A2D_Amberial Axis - Tremor.swf',70,'def5tghy67'],
  211. ['http://www.tremorgames.com/playgame/3451/tiny-airships.html','http://www.tremorgames.com/games/files/Tiny-AirShips.swf',10,'fhtjyr'],
  212. ['http://www.tremorgames.com/playgame/5708/tu-unleashed.html','http://www.tremorgames.com/games/files/LaunchInTheSky AD.swf',86,'kl8ut5fr43'],
  213. ['http://www.tremorgames.com/playgame/7567/wheely-2.html','http://www.tremorgames.com/games/files/1382436929_7567_wheely-2.swf',226,'DFNHG&%$gherkjoi987'],
  214. ['http://www.tremorgames.com/playgame/7568/ragdoll-achievement-2.html','http://www.tremorgames.com/games/files/1382443391_7568_RA2.swf',227,'DFBGHRTyt645t3765ft'],
  215. ['http://www.tremorgames.com/playgame/3721/zombie-madness.html','http://www.tremorgames.com/games/files/zombie-madness.swf',23,'3r5tyk'],
  216. ['http://www.tremorgames.com/playgame/7679/crest-breakout.html','http://www.tremorgames.com/games/files/1394896704_7679_ProjectWM.swf',229,'DFG%TG((JRFfgd23'],
  217. ['http://www.tremorgames.com/playgame/7479/revive-the-monster.html','http://www.tremorgames.com/games/files/1378479699_7479_revive_the_monster _SecureOpt.swf',224,'GNFHYt*(yh342da'],
  218. ['http://www.tremorgames.com/playgame/7968/shape-fold-animals.html','http://www.tremorgames.com/games/files/ShapeFoldAnimals - 2015 04 23 (TremorGames).swf',232,'asdfr45#$tgGTHgrt12'],
  219. ['http://www.tremorgames.com/playgame/7678/catsnfish.html','http://www.tremorgames.com/games/files/1394896624_7678_ProjectGP.swf',230,'3445FGT5467tfhfdG'],
  220. ['http://www.tremorgames.com/playgame/7680/potato-rebellion.html','http://www.tremorgames.com/games/files/1394896778_7680_ProjectKF.swf',228,'DFRtgbngh567hF@'],
  221. ['http://www.tremorgames.com/playgame/7967/zombonarium.html','http://www.tremorgames.com/games/files/zombonarium.swf',231,'asd45tgfVFr657yh'],
  222. ['http://www.tremorgames.com/playgame/7534/bombrunner.html','http://www.tremorgames.com/games/files/1380453238_7534_bombrunner_tremor.swf',225,'GFTR567ujM)(#$th5'],
  223. ['http://www.tremorgames.com/playgame/7464/euridissey-i-the-fall-of-horus.html','http://www.tremorgames.com/games/files/1377619930_7464_EuridisseyTremor.swf',223,'GNHTYFgrbt5674yu'],
  224. ['http://www.tremorgames.com/playgame/3553/zomblast.html','http://www.tremorgames.com/games/files/zomblast.swf',217,'BGh67&*%$rfDErR'],
  225. ['http://www.tremorgames.com/playgame/7274/zombie-smasher.html','http://www.tremorgames.com/games/files/1362947141_7274_Zombie_Smasher.swf',220,'fvGFRt56yHy#$#$2ws'],
  226. ['http://www.tremorgames.com/playgame/7277/the-engineer.html','http://www.tremorgames.com/games/files/1363614939_7277_Engineer.swf',218,'Fvgb&*$5hy#ghtD'],
  227. ['http://www.tremorgames.com/playgame/7266/shape-shifters.html','http://www.tremorgames.com/games/files/1362945541_7266_ShapeShifters.swf',216,'FVgbhNJ&*H*93erD'],
  228. ['http://www.tremorgames.com/playgame/7235/soul-shift.html','http://www.tremorgames.com/games/files/1362598225_7235_SoulShift.swf',209,'gbFVcde#$%2$1'],
  229. ['http://www.tremorgames.com/playgame/5058/werebox-2.html','http://www.tremorgames.com/games/files/werebox-2.swf',210,'gbFGT65&*$8uaq2'],
  230. ['http://www.tremorgames.com/playgame/7104/iron-ladies.html','http://www.tremorgames.com/games/files/IronLadies.swf',215,'hnbFGTr$#@345'],
  231. ['http://www.tremorgames.com/playgame/7262/dechmog.html','http://www.tremorgames.com/games/files/1362600708_7262_dechmog.swf',214,'hnBGF%$#&876@1'],
  232. ['http://www.tremorgames.com/playgame/7261/vehicles-2-levelpack.html','http://www.tremorgames.com/games/files/1362946533_7261_Vehicles2.swf',208,'afgvbRTF$%&*54'],
  233. ['http://www.tremorgames.com/playgame/7258/bottle-on-head.html','http://www.tremorgames.com/games/files/1362923651_7258_BottleOnHead.swf',212,'fvbgTRF5$%*lk1'],
  234. ['http://www.tremorgames.com/playgame/7278/cripple-cannon.html','http://www.tremorgames.com/games/files/1363614807_7278_Cripple Cannon.swf',222,'GVbTYh76*#$gTy1'],
  235. ['http://www.tremorgames.com/playgame/2844/connect-it.html','http://www.tremorgames.com/games/files/connect-it.swf',219,'kmJHNbg786&*$@r4'],
  236. ['http://www.tremorgames.com/playgame/7246/rotation-experiment.html','http://www.tremorgames.com/games/files/1362623612_7246_FD.swf',207,'frg$#eDFrfg&sdfg12'],
  237. ['http://www.tremorgames.com/playgame/7257/beaver-blocks.html','http://www.tremorgames.com/games/files/1362923363_7257_BeaverBlocks.swf',211,'sdfc456%$#4RFDer@'],
  238. ['http://www.tremorgames.com/playgame/7263/frozen-age.html','http://www.tremorgames.com/games/files/1362603168_7263_frozenage.swf',213,'sdfVFD45&*%rtg1'],
  239. ['http://www.tremorgames.com/playgame/7245/minigames-world.html','http://www.tremorgames.com/games/files/1361788509_7245_minig_adfree.swf',206,'bgf54f%&hyGTREwe'],
  240. ['http://www.tremorgames.com/playgame/7244/pandoras-epic-battles.html','http://www.tremorgames.com/games/files/1361732006_7244_questLife.swf',205,'adfvgfr45$%rED'],
  241. ['http://www.tremorgames.com/playgame/7243/terra-god.html','http://www.tremorgames.com/games/files/1361562565_7243_TerraGod.swf',191,'avg56hnbj78'],
  242. ['http://www.tremorgames.com/playgame/7238/the-forgotten-dungeon.html','http://www.tremorgames.com/games/files/1361017735_7238_ForgottenDungeon.swf',204,'bghnb%$2DEws@'],
  243. ['http://www.tremorgames.com/playgame/4802/match-move-2.html','http://www.tremorgames.com/games/files/MFP_MM2.swf',47,'asd4f5tg'],
  244. ['http://www.tremorgames.com/playgame/7024/endless-war-4.html','http://www.tremorgames.com/games/files/1353859784_7024_ew4 Tremor.swf',168,'g56tfvb56g'],
  245. ['http://www.tremorgames.com/playgame/7198/carveola-incident-2118-ad.html','http://www.tremorgames.com/games/files/1356897432_7198_CarveolaIncident2118AD.swf',200,'gbhtwmkl915'],
  246. ['http://www.tremorgames.com/playgame/7177/monsters-mash-3.html','http://www.tremorgames.com/games/files/monster-mash-3.swf',162,'hb56gthy67uj'],
  247. ['http://www.tremorgames.com/playgame/7023/feudalism-ii.html','http://www.tremorgames.com/games/files/1355744490_7023_Feudalism2 Tremor.swf',170,'gt4dfvce324'],
  248. ['http://www.tremorgames.com/playgame/7178/super-mega-bot.html','http://www.tremorgames.com/games/files/1355948580_7178_super_mega_bot_stl_tremorgames.com_v1.1.1.swf',194,'hngtry675'],
  249. ['http://www.tremorgames.com/playgame/7167/nelly.html','http://www.tremorgames.com/games/files/1355348269_7167_Nelly sitelock2.swf',188,'ghbn6238ik'],
  250. ['http://www.tremorgames.com/playgame/7169/snake-squad.html','http://www.tremorgames.com/games/files/1355946918_7169_snake_squad_tremor_games_stl_lic_v1.1.2.swf',192,'hytnmki89ki'],
  251. ['http://www.tremorgames.com/playgame/7179/on-the-edge.html','http://www.tremorgames.com/games/files/1355594581_7179_on_the_edge_stl_tremorgames.com_v1.1.swf',195,'asbg56hn78j3'],
  252. ['http://www.tremorgames.com/playgame/7140/secret-ways.html','http://www.tremorgames.com/games/files/1355060628_7140_SecretWays.swf',185,'afgt5ry5767'],
  253. ['http://www.tremorgames.com/playgame/7165/pack-up-the-toy.html','http://www.tremorgames.com/games/files/1355347518_7165_Pack Up the Toy tremor.swf',189,'gt5rbvnhy7'],
  254. ['http://www.tremorgames.com/playgame/7168/the-suspense.html','http://www.tremorgames.com/games/files/1355425440_7168_city time2 sitelock.swf',190,'ghny654ws32'],
  255. ['http://www.tremorgames.com/playgame/7005/tome-sweet-tome.html','http://www.tremorgames.com/games/files/1351706533_7005_TomeSweetTome.swf',152,'gbn65hty4'],
  256. ['http://www.tremorgames.com/playgame/7155/intruder-combat-training-.html','http://www.tremorgames.com/games/files/1354915602_7155_deathmatch_secure.swf',187,'gthyt5rfgvb4'],
  257. ['http://www.tremorgames.com/playgame/7001/izzi.html','http://www.tremorgames.com/games/files/1349647467_7001_iZZi Tremor.swf',148,'sv45gth45gh6'],
  258. ['http://www.tremorgames.com/playgame/7010/endless-war-defense.html','http://www.tremorgames.com/games/files/1350000811_7010_ewd Tremor.swf',138,'sf56gbn78jmn'],
  259. ['http://www.tremorgames.com/playgame/7135/biometal.html','http://www.tremorgames.com/games/files/1353958052_7135_Untitled-1.swf',184,'hngyt65th89'],
  260. ['http://www.tremorgames.com/playgame/5935/gravibounce.html','http://www.tremorgames.com/games/files/1352415832_5935_Gravibounce.swf',159,'m876gt54dc'],
  261. ['http://www.tremorgames.com/playgame/7110/tower-dash.html','http://www.tremorgames.com/games/files/1353011295_7110_knightclimber_cpm.swf',182,'hngjtyuhrnfaw'],
  262. ['http://www.tremorgames.com/playgame/7111/planet-blirp-2.html','http://www.tremorgames.com/games/files/1353342079_7111_planet blirp 2 main - ads.swf',181,'gtr45ght567'],
  263. ['http://www.tremorgames.com/playgame/7008/bulletspree.html','http://www.tremorgames.com/games/files/1351984510_7008_BulletSpree Tremor.swf',155,'bn5t6yvde3'],
  264. ['http://www.tremorgames.com/playgame/5934/tower-of-greed.html','http://www.tremorgames.com/games/files/1352659079_5934_TowerofGreed.swf',158,'mk876tgbf4'],
  265. ['http://www.tremorgames.com/playgame/5928/cat-toss.html','http://www.tremorgames.com/games/files/1352826329_5928_cattoss-tremorgames.swf',145,'nh76tgvefdr43'],
  266. ['http://www.tremorgames.com/playgame/5933/pixel-purge.html','http://www.tremorgames.com/games/files/1352415633_5933_PixelPurge.swf',157,'hnjyuhgr45'],
  267. ['http://www.tremorgames.com/playgame/7092/cube-assembler.html','http://www.tremorgames.com/games/files/1352319997_7092_CubeAssembler_Normal.swf',178,'$^*oPKNbgt198)(fAs'],
  268. ['http://www.tremorgames.com/playgame/7052/cave-explorer.html','http://www.tremorgames.com/games/files/1351091477_7052_cBuild.swf',173,'fvbg54rfgvv'],
  269. ['http://www.tremorgames.com/playgame/7003/the-gun-game-2.html','http://www.tremorgames.com/games/files/1351700224_7003_Gun Game 2 Tremor.swf',150,'jd34fg67h5'],
  270. ['http://www.tremorgames.com/playgame/7070/funny-bees.html','http://www.tremorgames.com/games/files/FunnyBees.swf',172,'jn76tgbvf54'],
  271. ['http://www.tremorgames.com/playgame/7006/romeogogo.html','http://www.tremorgames.com/games/files/1349637693_7006_RomeoGOGO.swf',153,'vg5hbnuiq8'],
  272. ['http://www.tremorgames.com/playgame/7007/gnome-sweet-gnome.html','http://www.tremorgames.com/games/files/1351705262_7007_GnomeSweetGnome.swf',154,'n6tg8k3d7c'],
  273. ['http://www.tremorgames.com/playgame/7004/the-gun-game.html','http://www.tremorgames.com/games/files/1349647505_7004_Gun Game Tremor.swf',151,'b65nhj78mj'],
  274. ['http://www.tremorgames.com/playgame/5936/jetpack-jerome.html','http://www.tremorgames.com/games/files/1352365617_5936_JetpackJerome.swf',160,'814wb9y6d'],
  275. ['http://www.tremorgames.com/playgame/7057/path-of-honor-chapter-1.html','http://www.tremorgames.com/games/files/poh1M.swf',174,'hyt567jhfe4'],
  276. ['http://www.tremorgames.com/playgame/7014/feudalism.html','http://www.tremorgames.com/games/files/1350074796_7014_Feudalism Tremor.swf',139,'juy76hnbg45'],
  277. ['http://www.tremorgames.com/playgame/7037/notebook-wars.html','http://www.tremorgames.com/games/files/notewars.swf',140,'hy76tgf45r3'],
  278. ['http://www.tremorgames.com/playgame/7026/eleventh-hour.html','http://www.tremorgames.com/games/files/EleventhHour(Tremor).swf',165,'g5rf45gt6y7'],
  279. ['http://www.tremorgames.com/playgame/3864/space-is-key-2.html','http://www.tremorgames.com/games/files/space-is-key-2.swf',166,'mnh67ygtr45'],
  280. ['http://www.tremorgames.com/playgame/7027/platcore.html','http://www.tremorgames.com/games/files/U4Q_Platcore(Tremor).swf',164,'nh7yhg5trfd'],
  281. ['http://www.tremorgames.com/playgame/7031/spell-storm.html','http://www.tremorgames.com/games/files/1350360112_7031_SpellStorm_Tremor.swf',146,'gt56hybgfrt'],
  282. ['http://www.tremorgames.com/playgame/7016/space-is-key.html','http://www.tremorgames.com/games/files/1349996691_7016_Space Is Key (Tremor).swf',167,'n7uy86yg54r'],
  283. ['http://www.tremorgames.com/playgame/5946/invertion.html','http://www.tremorgames.com/games/files/1350100245_5946_InvertionGame.swf',171,'nhgyt65tfr4'],
  284. ['http://www.tremorgames.com/playgame/1568/notebook-wars-2.html','http://www.tremorgames.com/games/files/1349972207_7015_notewars2.swf',141,'fr5tgbvcde32'],
  285. ['http://www.tremorgames.com/playgame/5864/swordfall-kingdoms.html','http://www.tremorgames.com/games/files/PIE_sfk.swf',121,'dfrgthyu76h45'],
  286. ['http://www.tremorgames.com/playgame/5671/notebook-wars-3.html','http://www.tremorgames.com/games/files/nw3.swf',142,'57hyuj89ikne3'],
  287. ['http://www.tremorgames.com/playgame/5927/abstract-defense.html','http://www.tremorgames.com/games/files/1349462460_5927_abstract-defense.swf',144,'gtfbvnh76ju8'],
  288. ['http://www.tremorgames.com/playgame/5908/fat-snake.html','http://www.tremorgames.com/games/files/MrFatSnake.swf',133,'fr54tgbvfth'],
  289. ['http://www.tremorgames.com/playgame/5896/ragdoll-achievement.html','http://www.tremorgames.com/games/files/Ragdoll-Achievement.swf',135,'afrtgbnhyg'],
  290. ['http://www.tremorgames.com/playgame/5899/endless-war-6.html','http://www.tremorgames.com/games/files/1349202105_5899_ew6 Tremor.swf',136,'t5rfgtrf43'],
  291. ['http://www.tremorgames.com/playgame/5910/super-pig.html','http://www.tremorgames.com/games/files/superpig1.swf',131,'jhbny65tghh'],
  292. ['http://www.tremorgames.com/playgame/5909/xenosquad.html','http://www.tremorgames.com/games/files/1348951954_5909_xenosquad.swf',132,'bf45rfgt6yhju'],
  293. ['http://www.tremorgames.com/playgame/5891/legend-of-pandora.html','http://www.tremorgames.com/games/files/pandora.swf',129,'hbnhy654tdvf'],
  294. ['http://www.tremorgames.com/playgame/5892/legend-of-the-void.html','http://www.tremorgames.com/games/files/8QC_Game.swf',130,'avgt67yhnju8'],
  295. ['http://www.tremorgames.com/playgame/5895/pheus-and-mor.html','http://www.tremorgames.com/games/files/Pheus_and_Mor.swf',134,'hbn76trf43'],
  296. ['http://www.tremorgames.com/playgame/5869/scrap-metal-heroes.html','http://www.tremorgames.com/games/files/SMH.swf',125,'afr45tgbn67'],
  297. ['http://www.tremorgames.com/playgame/5870/shatterbot.html','http://www.tremorgames.com/games/files/ShatterBot.swf',126,'grf45thy65a'],
  298. ['http://www.tremorgames.com/playgame/5874/bird-blast.html','http://www.tremorgames.com/games/files/bird-blast.swf',115,'nhjuy76tgb'],
  299. ['http://www.tremorgames.com/playgame/5860/bug-slayer.html','http://www.tremorgames.com/games/files/BGJ_1.02_BugSlayer.swf',123,'sdf4ghbnm89'],
  300. ['http://www.tremorgames.com/playgame/5819/acorn-story.html','http://www.tremorgames.com/games/files/AcornStory.swf',128,'fnkjui89io87']])
  301.  
  302.  
  303.  
  304. def IsNumeric( v ):
  305. try:
  306. v2 = int( v )
  307. return True
  308. except (ValueError, TypeError):
  309. return False
  310.  
  311. def LoginTremorGames( s, username, password ):
  312. s.headers.update( { 'Origin': 'http://www.tremorgames.com' } )
  313. s.headers.pop( 'X-Requested-With', None )
  314. s.headers.update( { 'Referer': 'http://www.tremorgames.com/index.php' } )
  315. r = s.post( 'http://www.tremorgames.com/index.php', data={ 'loginuser': username, 'loginpassword': password, 'Submit': '' }, allow_redirects=False )
  316. return
  317.  
  318. def GetUserCoins( s ):
  319. s.headers.pop( 'Origin', None )
  320. s.headers.update( { 'X-Requested-With': 'XMLHttpRequest' } )
  321. s.headers.update( { 'Referer': GameURL } )
  322. r = s.get( 'http://www.tremorgames.com/achievements/ajax_getusercoins.php' )
  323. return int( r.text )
  324.  
  325. def GetGameAchievements( s ):
  326. s.headers.pop( 'Origin', None )
  327. s.headers.pop( 'X-Requested-With', None )
  328. s.headers.pop( 'Referer', None )
  329. r = s.get( GameURL, allow_redirects=False )
  330.  
  331. jsonStartIdx = r.text.find( 'AchievementsJS = jQuery.parseJSON(\'' ) + len( 'AchievementsJS = jQuery.parseJSON(\'' )
  332. jsonEndIdx = r.text.find( '\');', jsonStartIdx )
  333.  
  334. return json.loads( r.text[jsonStartIdx:jsonEndIdx] )
  335.  
  336. def GetGameStats( s, playerName ):
  337. s.headers.pop( 'Origin', None )
  338. s.headers.update( { 'X-Requested-With': 'ShockwaveFlash/24.0.0.194' } )
  339. s.headers.update( { 'Referer': GameURL } )
  340. r = s.get( 'http://www.tremorgames.com/achievements/json_get_stats.php', params={ 'PlayerName': playerName, 'GameID': GameID } )
  341. return r.json()
  342.  
  343. def UpdateGameStat( s, playerName, statName, statValue ):
  344. # calculate key
  345. requestKey = hashlib.md5( (playerName + Key + str( statValue )).encode( 'utf-8' ) ).hexdigest().lower()
  346.  
  347. s.headers.update( { 'Origin': 'http://www.tremorgames.com' } )
  348. s.headers.update( { 'X-Requested-With': 'ShockwaveFlash/24.0.0.194' } )
  349. s.headers.update( { 'Referer': GameSWF } )
  350. r = s.post( 'http://www.tremorgames.com/achievements/record_stats.php', data={ 'StatValue': statValue, 'StatName': statName, 'PlayerName': playerName, 'GameID': GameID, 'Key': requestKey } )
  351. return
  352.  
  353. random.seed()
  354. s = requests.Session()
  355. s.headers.update( { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36' } )
  356. s.headers.update( { 'Accept-Language': 'en-US,en;q=0.8' } )
  357.  
  358. # ????? ?? ? ???
  359. username = input( 'L???? ?? tremor : ' )
  360. password = input( 'Pass : ' )
  361. LoginTremorGames( s, username, password )
  362. print( '? ??? ?????' )
  363. i = 0
  364. while i < 92:
  365. GameID = int(kek[i,2])
  366. Key = (kek[i,3])
  367. GameURL = (kek[i,0])
  368. GameSWF = (kek[i,1])
  369. gameAchievements = GetGameAchievements( s )
  370. #gameStats = GetGameStats( s, username )
  371.  
  372. # ?????? ?? ?? ??????
  373. for achievement in gameAchievements:
  374. # currently only Max and Cumulative stat types supported
  375. if achievement['StatType'] != 'Max' and achievement['StatType'] != 'Cumulative':
  376. continue
  377.  
  378. # usually the current stat value isn't 0 but something like null or none, so we set it to 0
  379. if not IsNumeric( achievement['ProgressValue'] ):
  380. achievement['ProgressValue'] = '0'
  381.  
  382. statIncrease = 1
  383. statGoal = int( achievement['StatValue'] )
  384. if statGoal >= 100000:
  385. statIncrease = random.randrange( 1, 10000 )
  386. elif statGoal >= 10000:
  387. statIncrease = random.randrange( 1, 1000 )
  388. elif statGoal >= 1000:
  389. statIncrease = random.randrange( 1, 100 )
  390.  
  391. print( '?????? ??????????? ?????? - "' + achievement['AchievementName'] + '"' )
  392. while int( achievement['ProgressValue'] ) < int( achievement['StatValue'] ):
  393. achievement['ProgressValue'] = str( int( achievement['ProgressValue'] ) + statIncrease )
  394.  
  395. if achievement['StatType'] == 'Cumulative':
  396. UpdateGameStat( s, username, achievement['StatName'], statIncrease )
  397. else:
  398. UpdateGameStat( s, username, achievement['StatName'], int( achievement['ProgressValue'] ) )
  399.  
  400. # so we don't do it too fast
  401. time.sleep( 1 )
  402.  
  403. print( '?????? ? ??? ????????\n' )
  404. print( '?? ? ????????? ' );print ( '1');time.sleep( 1 );print ( '2');time.sleep( 1 );print ( '3');time.sleep( 1 );print ( '4');time.sleep( 1 );print ( '5')
  405. i = i + 1
  406. print( '??????? :)' )
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416. import getpass
  417. import time
  418. import hashlib
  419. import json
  420. import random
  421. import requests
  422. import numpy as np
  423. from requests.packages.urllib3.exceptions import InsecureRequestWarning
  424. requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
  425.  
  426. kek = np.array([['http://www.tremorgames.com/playgame/5087/death-call.html','http://www.tremorgames.com/games/files/DeathCall_withAds.swf',63,'sf5tghy7uj'],
  427. ['http://www.tremorgames.com/playgame/5289/amberial-axis.html','http://www.tremorgames.com/games/files/A2D_Amberial Axis - Tremor.swf',70,'def5tghy67'],
  428. ['http://www.tremorgames.com/playgame/3451/tiny-airships.html','http://www.tremorgames.com/games/files/Tiny-AirShips.swf',10,'fhtjyr'],
  429. ['http://www.tremorgames.com/playgame/5708/tu-unleashed.html','http://www.tremorgames.com/games/files/LaunchInTheSky AD.swf',86,'kl8ut5fr43'],
  430. ['http://www.tremorgames.com/playgame/7567/wheely-2.html','http://www.tremorgames.com/games/files/1382436929_7567_wheely-2.swf',226,'DFNHG&%$gherkjoi987'],
  431. ['http://www.tremorgames.com/playgame/7568/ragdoll-achievement-2.html','http://www.tremorgames.com/games/files/1382443391_7568_RA2.swf',227,'DFBGHRTyt645t3765ft'],
  432. ['http://www.tremorgames.com/playgame/3721/zombie-madness.html','http://www.tremorgames.com/games/files/zombie-madness.swf',23,'3r5tyk'],
  433. ['http://www.tremorgames.com/playgame/7679/crest-breakout.html','http://www.tremorgames.com/games/files/1394896704_7679_ProjectWM.swf',229,'DFG%TG((JRFfgd23'],
  434. ['http://www.tremorgames.com/playgame/7479/revive-the-monster.html','http://www.tremorgames.com/games/files/1378479699_7479_revive_the_monster _SecureOpt.swf',224,'GNFHYt*(yh342da'],
  435. ['http://www.tremorgames.com/playgame/7968/shape-fold-animals.html','http://www.tremorgames.com/games/files/ShapeFoldAnimals - 2015 04 23 (TremorGames).swf',232,'asdfr45#$tgGTHgrt12'],
  436. ['http://www.tremorgames.com/playgame/7678/catsnfish.html','http://www.tremorgames.com/games/files/1394896624_7678_ProjectGP.swf',230,'3445FGT5467tfhfdG'],
  437. ['http://www.tremorgames.com/playgame/7680/potato-rebellion.html','http://www.tremorgames.com/games/files/1394896778_7680_ProjectKF.swf',228,'DFRtgbngh567hF@'],
  438. ['http://www.tremorgames.com/playgame/7967/zombonarium.html','http://www.tremorgames.com/games/files/zombonarium.swf',231,'asd45tgfVFr657yh'],
  439. ['http://www.tremorgames.com/playgame/7534/bombrunner.html','http://www.tremorgames.com/games/files/1380453238_7534_bombrunner_tremor.swf',225,'GFTR567ujM)(#$th5'],
  440. ['http://www.tremorgames.com/playgame/7464/euridissey-i-the-fall-of-horus.html','http://www.tremorgames.com/games/files/1377619930_7464_EuridisseyTremor.swf',223,'GNHTYFgrbt5674yu'],
  441. ['http://www.tremorgames.com/playgame/3553/zomblast.html','http://www.tremorgames.com/games/files/zomblast.swf',217,'BGh67&*%$rfDErR'],
  442. ['http://www.tremorgames.com/playgame/7274/zombie-smasher.html','http://www.tremorgames.com/games/files/1362947141_7274_Zombie_Smasher.swf',220,'fvGFRt56yHy#$#$2ws'],
  443. ['http://www.tremorgames.com/playgame/7277/the-engineer.html','http://www.tremorgames.com/games/files/1363614939_7277_Engineer.swf',218,'Fvgb&*$5hy#ghtD'],
  444. ['http://www.tremorgames.com/playgame/7266/shape-shifters.html','http://www.tremorgames.com/games/files/1362945541_7266_ShapeShifters.swf',216,'FVgbhNJ&*H*93erD'],
  445. ['http://www.tremorgames.com/playgame/7235/soul-shift.html','http://www.tremorgames.com/games/files/1362598225_7235_SoulShift.swf',209,'gbFVcde#$%2$1'],
  446. ['http://www.tremorgames.com/playgame/5058/werebox-2.html','http://www.tremorgames.com/games/files/werebox-2.swf',210,'gbFGT65&*$8uaq2'],
  447. ['http://www.tremorgames.com/playgame/7104/iron-ladies.html','http://www.tremorgames.com/games/files/IronLadies.swf',215,'hnbFGTr$#@345'],
  448. ['http://www.tremorgames.com/playgame/7262/dechmog.html','http://www.tremorgames.com/games/files/1362600708_7262_dechmog.swf',214,'hnBGF%$#&876@1'],
  449. ['http://www.tremorgames.com/playgame/7261/vehicles-2-levelpack.html','http://www.tremorgames.com/games/files/1362946533_7261_Vehicles2.swf',208,'afgvbRTF$%&*54'],
  450. ['http://www.tremorgames.com/playgame/7258/bottle-on-head.html','http://www.tremorgames.com/games/files/1362923651_7258_BottleOnHead.swf',212,'fvbgTRF5$%*lk1'],
  451. ['http://www.tremorgames.com/playgame/7278/cripple-cannon.html','http://www.tremorgames.com/games/files/1363614807_7278_Cripple Cannon.swf',222,'GVbTYh76*#$gTy1'],
  452. ['http://www.tremorgames.com/playgame/2844/connect-it.html','http://www.tremorgames.com/games/files/connect-it.swf',219,'kmJHNbg786&*$@r4'],
  453. ['http://www.tremorgames.com/playgame/7246/rotation-experiment.html','http://www.tremorgames.com/games/files/1362623612_7246_FD.swf',207,'frg$#eDFrfg&sdfg12'],
  454. ['http://www.tremorgames.com/playgame/7257/beaver-blocks.html','http://www.tremorgames.com/games/files/1362923363_7257_BeaverBlocks.swf',211,'sdfc456%$#4RFDer@'],
  455. ['http://www.tremorgames.com/playgame/7263/frozen-age.html','http://www.tremorgames.com/games/files/1362603168_7263_frozenage.swf',213,'sdfVFD45&*%rtg1'],
  456. ['http://www.tremorgames.com/playgame/7245/minigames-world.html','http://www.tremorgames.com/games/files/1361788509_7245_minig_adfree.swf',206,'bgf54f%&hyGTREwe'],
  457. ['http://www.tremorgames.com/playgame/7244/pandoras-epic-battles.html','http://www.tremorgames.com/games/files/1361732006_7244_questLife.swf',205,'adfvgfr45$%rED'],
  458. ['http://www.tremorgames.com/playgame/7243/terra-god.html','http://www.tremorgames.com/games/files/1361562565_7243_TerraGod.swf',191,'avg56hnbj78'],
  459. ['http://www.tremorgames.com/playgame/7238/the-forgotten-dungeon.html','http://www.tremorgames.com/games/files/1361017735_7238_ForgottenDungeon.swf',204,'bghnb%$2DEws@'],
  460. ['http://www.tremorgames.com/playgame/4802/match-move-2.html','http://www.tremorgames.com/games/files/MFP_MM2.swf',47,'asd4f5tg'],
  461. ['http://www.tremorgames.com/playgame/7024/endless-war-4.html','http://www.tremorgames.com/games/files/1353859784_7024_ew4 Tremor.swf',168,'g56tfvb56g'],
  462. ['http://www.tremorgames.com/playgame/7198/carveola-incident-2118-ad.html','http://www.tremorgames.com/games/files/1356897432_7198_CarveolaIncident2118AD.swf',200,'gbhtwmkl915'],
  463. ['http://www.tremorgames.com/playgame/7177/monsters-mash-3.html','http://www.tremorgames.com/games/files/monster-mash-3.swf',162,'hb56gthy67uj'],
  464. ['http://www.tremorgames.com/playgame/7023/feudalism-ii.html','http://www.tremorgames.com/games/files/1355744490_7023_Feudalism2 Tremor.swf',170,'gt4dfvce324'],
  465. ['http://www.tremorgames.com/playgame/7178/super-mega-bot.html','http://www.tremorgames.com/games/files/1355948580_7178_super_mega_bot_stl_tremorgames.com_v1.1.1.swf',194,'hngtry675'],
  466. ['http://www.tremorgames.com/playgame/7167/nelly.html','http://www.tremorgames.com/games/files/1355348269_7167_Nelly sitelock2.swf',188,'ghbn6238ik'],
  467. ['http://www.tremorgames.com/playgame/7169/snake-squad.html','http://www.tremorgames.com/games/files/1355946918_7169_snake_squad_tremor_games_stl_lic_v1.1.2.swf',192,'hytnmki89ki'],
  468. ['http://www.tremorgames.com/playgame/7179/on-the-edge.html','http://www.tremorgames.com/games/files/1355594581_7179_on_the_edge_stl_tremorgames.com_v1.1.swf',195,'asbg56hn78j3'],
  469. ['http://www.tremorgames.com/playgame/7140/secret-ways.html','http://www.tremorgames.com/games/files/1355060628_7140_SecretWays.swf',185,'afgt5ry5767'],
  470. ['http://www.tremorgames.com/playgame/7165/pack-up-the-toy.html','http://www.tremorgames.com/games/files/1355347518_7165_Pack Up the Toy tremor.swf',189,'gt5rbvnhy7'],
  471. ['http://www.tremorgames.com/playgame/7168/the-suspense.html','http://www.tremorgames.com/games/files/1355425440_7168_city time2 sitelock.swf',190,'ghny654ws32'],
  472. ['http://www.tremorgames.com/playgame/7005/tome-sweet-tome.html','http://www.tremorgames.com/games/files/1351706533_7005_TomeSweetTome.swf',152,'gbn65hty4'],
  473. ['http://www.tremorgames.com/playgame/7155/intruder-combat-training-.html','http://www.tremorgames.com/games/files/1354915602_7155_deathmatch_secure.swf',187,'gthyt5rfgvb4'],
  474. ['http://www.tremorgames.com/playgame/7001/izzi.html','http://www.tremorgames.com/games/files/1349647467_7001_iZZi Tremor.swf',148,'sv45gth45gh6'],
  475. ['http://www.tremorgames.com/playgame/7010/endless-war-defense.html','http://www.tremorgames.com/games/files/1350000811_7010_ewd Tremor.swf',138,'sf56gbn78jmn'],
  476. ['http://www.tremorgames.com/playgame/7135/biometal.html','http://www.tremorgames.com/games/files/1353958052_7135_Untitled-1.swf',184,'hngyt65th89'],
  477. ['http://www.tremorgames.com/playgame/5935/gravibounce.html','http://www.tremorgames.com/games/files/1352415832_5935_Gravibounce.swf',159,'m876gt54dc'],
  478. ['http://www.tremorgames.com/playgame/7110/tower-dash.html','http://www.tremorgames.com/games/files/1353011295_7110_knightclimber_cpm.swf',182,'hngjtyuhrnfaw'],
  479. ['http://www.tremorgames.com/playgame/7111/planet-blirp-2.html','http://www.tremorgames.com/games/files/1353342079_7111_planet blirp 2 main - ads.swf',181,'gtr45ght567'],
  480. ['http://www.tremorgames.com/playgame/7008/bulletspree.html','http://www.tremorgames.com/games/files/1351984510_7008_BulletSpree Tremor.swf',155,'bn5t6yvde3'],
  481. ['http://www.tremorgames.com/playgame/5934/tower-of-greed.html','http://www.tremorgames.com/games/files/1352659079_5934_TowerofGreed.swf',158,'mk876tgbf4'],
  482. ['http://www.tremorgames.com/playgame/5928/cat-toss.html','http://www.tremorgames.com/games/files/1352826329_5928_cattoss-tremorgames.swf',145,'nh76tgvefdr43'],
  483. ['http://www.tremorgames.com/playgame/5933/pixel-purge.html','http://www.tremorgames.com/games/files/1352415633_5933_PixelPurge.swf',157,'hnjyuhgr45'],
  484. ['http://www.tremorgames.com/playgame/7092/cube-assembler.html','http://www.tremorgames.com/games/files/1352319997_7092_CubeAssembler_Normal.swf',178,'$^*oPKNbgt198)(fAs'],
  485. ['http://www.tremorgames.com/playgame/7052/cave-explorer.html','http://www.tremorgames.com/games/files/1351091477_7052_cBuild.swf',173,'fvbg54rfgvv'],
  486. ['http://www.tremorgames.com/playgame/7003/the-gun-game-2.html','http://www.tremorgames.com/games/files/1351700224_7003_Gun Game 2 Tremor.swf',150,'jd34fg67h5'],
  487. ['http://www.tremorgames.com/playgame/7070/funny-bees.html','http://www.tremorgames.com/games/files/FunnyBees.swf',172,'jn76tgbvf54'],
  488. ['http://www.tremorgames.com/playgame/7006/romeogogo.html','http://www.tremorgames.com/games/files/1349637693_7006_RomeoGOGO.swf',153,'vg5hbnuiq8'],
  489. ['http://www.tremorgames.com/playgame/7007/gnome-sweet-gnome.html','http://www.tremorgames.com/games/files/1351705262_7007_GnomeSweetGnome.swf',154,'n6tg8k3d7c'],
  490. ['http://www.tremorgames.com/playgame/7004/the-gun-game.html','http://www.tremorgames.com/games/files/1349647505_7004_Gun Game Tremor.swf',151,'b65nhj78mj'],
  491. ['http://www.tremorgames.com/playgame/5936/jetpack-jerome.html','http://www.tremorgames.com/games/files/1352365617_5936_JetpackJerome.swf',160,'814wb9y6d'],
  492. ['http://www.tremorgames.com/playgame/7057/path-of-honor-chapter-1.html','http://www.tremorgames.com/games/files/poh1M.swf',174,'hyt567jhfe4'],
  493. ['http://www.tremorgames.com/playgame/7014/feudalism.html','http://www.tremorgames.com/games/files/1350074796_7014_Feudalism Tremor.swf',139,'juy76hnbg45'],
  494. ['http://www.tremorgames.com/playgame/7037/notebook-wars.html','http://www.tremorgames.com/games/files/notewars.swf',140,'hy76tgf45r3'],
  495. ['http://www.tremorgames.com/playgame/7026/eleventh-hour.html','http://www.tremorgames.com/games/files/EleventhHour(Tremor).swf',165,'g5rf45gt6y7'],
  496. ['http://www.tremorgames.com/playgame/3864/space-is-key-2.html','http://www.tremorgames.com/games/files/space-is-key-2.swf',166,'mnh67ygtr45'],
  497. ['http://www.tremorgames.com/playgame/7027/platcore.html','http://www.tremorgames.com/games/files/U4Q_Platcore(Tremor).swf',164,'nh7yhg5trfd'],
  498. ['http://www.tremorgames.com/playgame/7031/spell-storm.html','http://www.tremorgames.com/games/files/1350360112_7031_SpellStorm_Tremor.swf',146,'gt56hybgfrt'],
  499. ['http://www.tremorgames.com/playgame/7016/space-is-key.html','http://www.tremorgames.com/games/files/1349996691_7016_Space Is Key (Tremor).swf',167,'n7uy86yg54r'],
  500. ['http://www.tremorgames.com/playgame/5946/invertion.html','http://www.tremorgames.com/games/files/1350100245_5946_InvertionGame.swf',171,'nhgyt65tfr4'],
  501. ['http://www.tremorgames.com/playgame/1568/notebook-wars-2.html','http://www.tremorgames.com/games/files/1349972207_7015_notewars2.swf',141,'fr5tgbvcde32'],
  502. ['http://www.tremorgames.com/playgame/5864/swordfall-kingdoms.html','http://www.tremorgames.com/games/files/PIE_sfk.swf',121,'dfrgthyu76h45'],
  503. ['http://www.tremorgames.com/playgame/5671/notebook-wars-3.html','http://www.tremorgames.com/games/files/nw3.swf',142,'57hyuj89ikne3'],
  504. ['http://www.tremorgames.com/playgame/5927/abstract-defense.html','http://www.tremorgames.com/games/files/1349462460_5927_abstract-defense.swf',144,'gtfbvnh76ju8'],
  505. ['http://www.tremorgames.com/playgame/5908/fat-snake.html','http://www.tremorgames.com/games/files/MrFatSnake.swf',133,'fr54tgbvfth'],
  506. ['http://www.tremorgames.com/playgame/5896/ragdoll-achievement.html','http://www.tremorgames.com/games/files/Ragdoll-Achievement.swf',135,'afrtgbnhyg'],
  507. ['http://www.tremorgames.com/playgame/5899/endless-war-6.html','http://www.tremorgames.com/games/files/1349202105_5899_ew6 Tremor.swf',136,'t5rfgtrf43'],
  508. ['http://www.tremorgames.com/playgame/5910/super-pig.html','http://www.tremorgames.com/games/files/superpig1.swf',131,'jhbny65tghh'],
  509. ['http://www.tremorgames.com/playgame/5909/xenosquad.html','http://www.tremorgames.com/games/files/1348951954_5909_xenosquad.swf',132,'bf45rfgt6yhju'],
  510. ['http://www.tremorgames.com/playgame/5891/legend-of-pandora.html','http://www.tremorgames.com/games/files/pandora.swf',129,'hbnhy654tdvf'],
  511. ['http://www.tremorgames.com/playgame/5892/legend-of-the-void.html','http://www.tremorgames.com/games/files/8QC_Game.swf',130,'avgt67yhnju8'],
  512. ['http://www.tremorgames.com/playgame/5895/pheus-and-mor.html','http://www.tremorgames.com/games/files/Pheus_and_Mor.swf',134,'hbn76trf43'],
  513. ['http://www.tremorgames.com/playgame/5869/scrap-metal-heroes.html','http://www.tremorgames.com/games/files/SMH.swf',125,'afr45tgbn67'],
  514. ['http://www.tremorgames.com/playgame/5870/shatterbot.html','http://www.tremorgames.com/games/files/ShatterBot.swf',126,'grf45thy65a'],
  515. ['http://www.tremorgames.com/playgame/5874/bird-blast.html','http://www.tremorgames.com/games/files/bird-blast.swf',115,'nhjuy76tgb'],
  516. ['http://www.tremorgames.com/playgame/5860/bug-slayer.html','http://www.tremorgames.com/games/files/BGJ_1.02_BugSlayer.swf',123,'sdf4ghbnm89'],
  517. ['http://www.tremorgames.com/playgame/5819/acorn-story.html','http://www.tremorgames.com/games/files/AcornStory.swf',128,'fnkjui89io87']])
  518.  
  519. kek2 = np.array([['http://www.tremorgames.com/playgame/5872/super-defence.html','http://www.tremorgames.com/games/files/ZI3_SuperShooterV4.3.swf',127,'fr5tgbhny67'],
  520. ['http://www.tremorgames.com/playgame/5862/endless-war-5.html','http://www.tremorgames.com/games/files/CX6_ew5 TG.swf',120,'afrtg56yhgt'],
  521. ['http://www.tremorgames.com/playgame/5861/cardmania-golf-solitaire.html','http://www.tremorgames.com/games/files/LEP_golfSolitaire.swf',124,'gtr54rgtyhn'],
  522. ['http://www.tremorgames.com/playgame/5855/creatively-complicated.html','http://www.tremorgames.com/games/files/creatively-complicated.swf',113,'cngi8ujhlljni'],
  523. ['http://www.tremorgames.com/playgame/5812/lights-off.html','http://www.tremorgames.com/games/files/E1H_lights_off.swf',101,'asr45tgfgh'],
  524. ['http://www.tremorgames.com/playgame/5837/spectromancer-gamers-pack.html','http://www.tremorgames.com/games/files/SPGP.swf',116,'ae43rf5tgy67'],
  525. ['http://www.tremorgames.com/playgame/5813/unblock-it-2.html','http://www.tremorgames.com/games/files/27F_UnblockIt2.swf',110,'bgnh76ymkjio9'],
  526. ['http://www.tremorgames.com/playgame/5800/magi-the-fallen-world.html','http://www.tremorgames.com/games/files/X2T_battle_final_non_exclusive.swf',106,'dfvb56tgy'],
  527. ['http://www.tremorgames.com/playgame/5755/melancholia.html','http://www.tremorgames.com/games/files/melancholia.swf',94,'gt6yhg45rf'],
  528. ['http://www.tremorgames.com/playgame/5816/unblock-it.html','http://www.tremorgames.com/games/files/UnblockIt.swf',112,'ajyh67tgfrs'],
  529. ['http://www.tremorgames.com/playgame/5774/-commit-point-five.html','http://www.tremorgames.com/games/files/CommitLoader.swf',100,'fgrt254hbn76'],
  530. ['http://www.tremorgames.com/playgame/5809/max-connect-2.html','http://www.tremorgames.com/games/files/mc2_fix.swf',109,'r45gt67yhsd'],
  531. ['http://www.tremorgames.com/playgame/5786/zombie-situation.html','http://www.tremorgames.com/games/files/zombie1975.swf',103,'km78uyhg564'],
  532. ['http://www.tremorgames.com/playgame/4714/pigs-will-fly.html','http://www.tremorgames.com/games/files/pigs-will-fly.swf',108,'adr43fg67hnj8'],
  533. ['http://www.tremorgames.com/playgame/5757/fall-of-the-dead.html','http://www.tremorgames.com/games/files/P9Q_Fall of the dead vihutuoCMPStar.swf',102,'tyygg34'],
  534. ['http://www.tremorgames.com/playgame/5254/flood-runner-4.html','http://www.tremorgames.com/games/files/FloodRunner4_reloaded.swf',57,'f6g4h5j8mk'],
  535. ['http://www.tremorgames.com/playgame/5762/gnomes-coins.html','http://www.tremorgames.com/games/files/gnome-coins.swf',96,'adfrtg567ad'],
  536. ['http://www.tremorgames.com/playgame/5761/whats-unnecessary.html','http://www.tremorgames.com/games/files/Whatsunnecessary.swf',99,'af54gtyh67uh'],
  537. ['http://www.tremorgames.com/playgame/5608/ion-swarm.html','http://www.tremorgames.com/games/files/ion-swarm.swf',76,'16tg75gki9'],
  538. ['http://www.tremorgames.com/playgame/5717/gears-and-chains-spin-it.html','http://www.tremorgames.com/games/files/Gears 0.5.4 TG CPM.swf',87,'af5rgh7uj'],
  539. ['http://www.tremorgames.com/playgame/5728/shiftarium.html','http://www.tremorgames.com/games/files/shiftarium.swf',92,'fre3gt6yh'],
  540. ['http://www.tremorgames.com/playgame/5729/blackwood-prologue.html','http://www.tremorgames.com/games/files/BlackwoodPrologue(ads).swf',88,'rt6yh78ih'],
  541. ['http://www.tremorgames.com/playgame/656/jet-pod-remanufactured.html','http://www.tremorgames.com/games/files/jet-pod-remanufactured.swf',93,'dfr45tghy'],
  542. ['http://www.tremorgames.com/playgame/5723/mini-crash-boy.html','http://www.tremorgames.com/games/files/MiniCrashBoy.swf',90,'mn78qw123'],
  543. ['http://www.tremorgames.com/playgame/5707/boss-slayer.html','http://www.tremorgames.com/games/files/XN7_secure_BossKiller.swf',75,'gtbh67yde4'],
  544. ['http://www.tremorgames.com/playgame/5698/blast-boxes.html','http://www.tremorgames.com/games/files/BlastBoxes_Normal.swf',84,'kij87yhu'],
  545. ['http://www.tremorgames.com/playgame/5258/tremor-rocket-2.html','http://www.tremorgames.com/games/files/TremorRocket2_Normal.swf',73,'kjhyuinhg'],
  546. ['http://www.tremorgames.com/playgame/5686/unusual-way.html','http://www.tremorgames.com/games/files/UnusualWay.swf',83,'fdsf45dsfgF'],
  547. ['http://www.tremorgames.com/playgame/5607/easy-way.html','http://www.tremorgames.com/games/files/IGRA.swf',82,'sdfRgdg456'],
  548. ['http://www.tremorgames.com/playgame/4663/dogfight-aces.html','http://www.tremorgames.com/games/files/dogfight-aces.swf',33,'hj76gy'],
  549. ['http://www.tremorgames.com/playgame/5690/incoming.html','http://www.tremorgames.com/games/files/incoming.swf',81,'d34f6h7j89'],
  550. ['http://www.tremorgames.com/playgame/5291/just-a-random-day.html','http://www.tremorgames.com/games/files/K35_Just a Random Day 1.2.swf',74,'drtygh56ty'],
  551. ['http://www.tremorgames.com/playgame/1312/factory-balls-4.html','http://www.tremorgames.com/games/files/factory-balls-4.swf',69,'hb65n91kilp'],
  552. ['http://www.tremorgames.com/playgame/5200/back2back.html','http://www.tremorgames.com/games/files/back2back.swf',67,'fbg65hy7uj'],
  553. ['http://www.tremorgames.com/playgame/4708/masons-medals.html','http://www.tremorgames.com/games/files/masons-medals.swf',44,'afgh76hyt'],
  554. ['http://www.tremorgames.com/playgame/4919/caldera-legends.html','http://www.tremorgames.com/games/files/Caldera Legends Sitelock.swf',52,'asdf56gfqwe'],
  555. ['http://www.tremorgames.com/playgame/4962/salad-ninja.html','http://www.tremorgames.com/games/files/SaladNinja_Normal.swf',61,'addfgtr45ty62'],
  556. ['http://www.tremorgames.com/playgame/4834/freeway-challenge.html','http://www.tremorgames.com/games/files/FreewayChallenge.swf',58,'as4fr5tg67'],
  557. ['http://www.tremorgames.com/playgame/4651/zombie-city.html','http://www.tremorgames.com/games/files/zombiesiti.28.swf',37,'f4tg56'],
  558. ['http://www.tremorgames.com/playgame/4833/cursed-dungeon.html','http://www.tremorgames.com/games/files/secure_RPGGame2.swf',54,'kjyu78nm3er'],
  559. ['http://www.tremorgames.com/playgame/4774/air-maze-3.html','http://www.tremorgames.com/games/files/A5F_AirMaze3_Tremor_secure.swf',50,'asnh56rfgf'],
  560. ['http://www.tremorgames.com/playgame/4750/zombie-defense-agency.html','http://www.tremorgames.com/games/files/zomTremor.swf',55,'r54tn7yh8'],
  561. ['http://www.tremorgames.com/playgame/4711/shifting-castle.html','http://www.tremorgames.com/games/files/shifting-castle.swf',46,'asd5tgh67'],
  562. ['http://www.tremorgames.com/playgame/5697/planet-lucha.html','http://www.tremorgames.com/games/files/PTF_planet lucha.swf',85,'sdfsFretg46d'],
  563. ['http://www.tremorgames.com/playgame/4713/glowrunner.html','http://www.tremorgames.com/games/files/E54_Main.swf',51,'ad4jm90f'],
  564. ['http://www.tremorgames.com/playgame/4712/pipeline-master.html','http://www.tremorgames.com/games/files/PipelineMaster.swf',49,'as34frt56y'],
  565. ['http://www.tremorgames.com/playgame/4662/zombie-tormentor.html','http://www.tremorgames.com/games/files/BieberTormentor_prototype_v12b.swf',43,'drtfGtukl56s'],
  566. ['http://www.tremorgames.com/playgame/4654/aargh.html','http://www.tremorgames.com/games/files/secure_Aargh.swf',42,'ruhtyGtrh4wj'],
  567. ['http://www.tremorgames.com/playgame/4648/musicball.html','http://www.tremorgames.com/games/files/MusicBall_WithAds.swf',40,'bgh67y'],
  568. ['http://www.tremorgames.com/playgame/4609/blockstachio.html','http://www.tremorgames.com/games/files/Blockstachio-Preview-v1.8.swf',35,'m9u7k8'],
  569. ['http://www.tremorgames.com/playgame/4610/cupid-rescue.html','http://www.tremorgames.com/games/files/CubidRescue_Normal.swf',31,'alpo98'],
  570. ['http://www.tremorgames.com/playgame/4607/captain-fugly-2.html','http://www.tremorgames.com/games/files/captain-fugly-2.swf',34,'m8h7yu'],
  571. ['http://www.tremorgames.com/playgame/4606/penguins-attack-2.html','http://www.tremorgames.com/games/files/WPA_2_TremorGames.swf',32,'bg67hy'],
  572. ['http://www.tremorgames.com/playgame/4561/billi-color-lines.html','http://www.tremorgames.com/games/files/billi-color-lines.swf',30,'acf47k'],
  573. ['http://www.tremorgames.com/playgame/4425/dart-wheel.html','http://www.tremorgames.com/games/files/DAI_DartWheel_Normal.swf',27,'vmkl8q'],
  574. ['http://www.tremorgames.com/playgame/4284/zombie-shooter.html','http://www.tremorgames.com/games/files/zombie-shooter.swf',26,'ase45g'],
  575. ['http://www.tremorgames.com/playgame/4170/speed-rally.html','http://www.tremorgames.com/games/files/speed-rally.swf',25,'jmg65t'],
  576. ['http://www.tremorgames.com/playgame/3913/ninja-sequence.html','http://www.tremorgames.com/games/files/NinjaSequenceCPMStar.swf',21,'ace3rt'],
  577. ['http://www.tremorgames.com/playgame/3719/crazy-soldier.html','http://www.tremorgames.com/games/files/crazy-soldier.swf',22,'jngyu7'],
  578. ['http://www.tremorgames.com/playgame/3687/tremor-gunslinger.html','http://www.tremorgames.com/games/files/I9H_TremorGunslinger_Normal.swf',19,'bhngy6'],
  579. ['http://www.tremorgames.com/playgame/3656/tremor-ace.html','http://www.tremorgames.com/games/files/Tremor-Ace.swf',17,'pr9gij'],
  580. ['http://www.tremorgames.com/playgame/3477/cave-run.html','http://www.tremorgames.com/games/files/Cave-Run.swf',15,'a3ertg'],
  581. ['http://www.tremorgames.com/playgame/3452/tremor-rocket.html','http://www.tremorgames.com/games/files/Tremor-Rocket.swf',11,'gbniyw'],
  582. ['http://www.tremorgames.com/playgame/3657/mole-and-zombie-whack.html','http://www.tremorgames.com/games/files/mole-and-zombie-whack.swf',18,'fbhgt6'],
  583. ['http://www.tremorgames.com/playgame/3440/ninja-terror.html','http://www.tremorgames.com/games/files/ninjaterror.swf',9,'ythr56'],
  584. ['http://www.tremorgames.com/playgame/4612/zombie-last-night-2.html','http://www.tremorgames.com/games/files/zombie_last_night2_tremor_v9_secure.swf',39,'a5g678'],
  585. ['http://www.tremorgames.com/playgame/5046/battleship-the-beginning.html','http://www.tremorgames.com/games/files/RCN_battleship.swf',72,'vf5jnyu76'],
  586. ['http://www.tremorgames.com/playgame/5685/empires-of-arkeia.html','http://www.tremorgames.com/games/files/eoa.swf',122,'gf45tgh67yj'],
  587. ['http://www.tremorgames.com/playgame/5906/skullhunter-players-pack.html','http://www.tremorgames.com/games/files/SkullHunter_PlayersPack.swf',137,'agt54fghy67u'],
  588. ['http://www.tremorgames.com/playgame/5932/arcs.html','http://www.tremorgames.com/games/files/1349701419_5932_ArcsGo.swf',143,'gtr45bhn678'],
  589. ['http://www.tremorgames.com/playgame/7098/rawr.html','http://www.tremorgames.com/games/files/1352801906_7098_rawr.swf',176,'fgVB65&jh*9;{}kmLOpo2'],
  590. ['http://www.tremorgames.com/playgame/7113/pike-club-2.html','http://www.tremorgames.com/games/files/1355161019_7113_pike_club2.swf',183,'FVBGTR54$#@#rfgTpo9'],
  591. ['http://www.tremorgames.com/playgame/7009/bazooki-a-silent-affair.html','http://www.tremorgames.com/games/files/bazooki.swf',156,'n6fv3x9r56'],
  592. ['http://www.tremorgames.com/playgame/7022/endless-war-3.html','http://www.tremorgames.com/games/files/1355333577_7022_ew3 Tremor.swf',169,'kjnh67gbf43']])
  593.  
  594. def IsNumeric( v ):
  595. try:
  596. v2 = int( v )
  597. return True
  598. except (ValueError, TypeError):
  599. return False
  600.  
  601. def LoginTremorGames( s, username, password ):
  602. s.headers.update( { 'Origin': 'http://www.tremorgames.com' } )
  603. s.headers.pop( 'X-Requested-With', None )
  604. s.headers.update( { 'Referer': 'http://www.tremorgames.com/index.php' } )
  605. r = s.post( 'http://www.tremorgames.com/index.php', data={ 'loginuser': username, 'loginpassword': password, 'Submit': '' }, allow_redirects=False )
  606. return
  607.  
  608. def GetUserCoins( s ):
  609. s.headers.pop( 'Origin', None )
  610. s.headers.update( { 'X-Requested-With': 'XMLHttpRequest' } )
  611. s.headers.update( { 'Referer': GameURL } )
  612. r = s.get( 'http://www.tremorgames.com/achievements/ajax_getusercoins.php' )
  613. return int( r.text )
  614.  
  615. def GetGameAchievements( s ):
  616. s.headers.pop( 'Origin', None )
  617. s.headers.pop( 'X-Requested-With', None )
  618. s.headers.pop( 'Referer', None )
  619. r = s.get( GameURL, allow_redirects=False )
  620.  
  621. jsonStartIdx = r.text.find( 'AchievementsJS = jQuery.parseJSON(\'' ) + len( 'AchievementsJS = jQuery.parseJSON(\'' )
  622. jsonEndIdx = r.text.find( '\');', jsonStartIdx )
  623.  
  624. return json.loads( r.text[jsonStartIdx:jsonEndIdx] )
  625.  
  626. def GetGameStats( s, playerName ):
  627. s.headers.pop( 'Origin', None )
  628. s.headers.update( { 'X-Requested-With': 'ShockwaveFlash/24.0.0.194' } )
  629. s.headers.update( { 'Referer': GameURL } )
  630. r = s.get( 'http://www.tremorgames.com/achievements/json_get_stats.php', params={ 'PlayerName': playerName, 'GameID': GameID } )
  631. return r.json()
  632.  
  633. def UpdateGameStat( s, playerName, statName, statValue ):
  634. # calculate key
  635. requestKey = hashlib.md5( (playerName + Key + str( statValue )).encode( 'utf-8' ) ).hexdigest().lower()
  636.  
  637. s.headers.update( { 'Origin': 'http://www.tremorgames.com' } )
  638. s.headers.update( { 'X-Requested-With': 'ShockwaveFlash/24.0.0.194' } )
  639. s.headers.update( { 'Referer': GameSWF } )
  640. r = s.post( 'http://www.tremorgames.com/achievements/record_stats.php', data={ 'StatValue': statValue, 'StatName': statName, 'PlayerName': playerName, 'GameID': GameID, 'Key': requestKey } )
  641. return
  642.  
  643. random.seed()
  644. s = requests.Session()
  645. s.headers.update( { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36' } )
  646. s.headers.update( { 'Accept-Language': 'en-US,en;q=0.8' } )
  647.  
  648. # Логин на т емо
  649. username = input( 'Lогин на tremor : ' )
  650. password = input( 'Pass : ' )
  651. LoginTremorGames( s, username, password )
  652. print( 'В оде вошли' )
  653. i = 0
  654. while i < 92:
  655. GameID = int(kek[i,2])
  656. Key = (kek[i,3])
  657. GameURL = (kek[i,0])
  658. GameSWF = (kek[i,1])
  659. gameAchievements = GetGameAchievements( s )
  660. #gameStats = GetGameStats( s, username )
  661.  
  662. # Начало фа ма ачивок
  663. for achievement in gameAchievements:
  664. # currently only Max and Cumulative stat types supported
  665. if achievement['StatType'] != 'Max' and achievement['StatType'] != 'Cumulative':
  666. continue
  667.  
  668. # usually the current stat value isn't 0 but something like null or none, so we set it to 0
  669. if not IsNumeric( achievement['ProgressValue'] ):
  670. achievement['ProgressValue'] = '0'
  671.  
  672. statIncrease = 1
  673. statGoal = int( achievement['StatValue'] )
  674. if statGoal >= 100000:
  675. statIncrease = random.randrange( 1, 10000 )
  676. elif statGoal >= 10000:
  677. statIncrease = random.randrange( 1, 1000 )
  678. elif statGoal >= 1000:
  679. statIncrease = random.randrange( 1, 100 )
  680.  
  681. print( 'Сейчас выполняется ачивка - "' + achievement['AchievementName'] + '"' )
  682. while int( achievement['ProgressValue'] ) < int( achievement['StatValue'] ):
  683. achievement['ProgressValue'] = str( int( achievement['ProgressValue'] ) + statIncrease )
  684.  
  685. if achievement['StatType'] == 'Cumulative':
  686. UpdateGameStat( s, username, achievement['StatName'], statIncrease )
  687. else:
  688. UpdateGameStat( s, username, achievement['StatName'], int( achievement['ProgressValue'] ) )
  689.  
  690. # so we don't do it too fast
  691. time.sleep( 1 )
  692.  
  693. print( 'Ачивка в оде получена\n' )
  694. print( 'Иг а закончена, по счёту она : ',i+1 )#;print ( '1');time.sleep( 1 );print ( '2');time.sleep( 1 );print ( '3');time.sleep( 1 );print ( '4');time.sleep( 1 );print ( '5')
  695. i = i + 1
  696. i = 0
  697. while (i < 74):
  698. GameID = int(kek2[i,2])
  699. Key = (kek2[i,3])
  700. GameURL = (kek2[i,0])
  701. GameSWF = (kek2[i,1])
  702. gameAchievements = GetGameAchievements( s )
  703. #gameStats = GetGameStats( s, username )
  704.  
  705. # Начало фа ма ачивок
  706. for achievement in gameAchievements:
  707. # currently only Max and Cumulative stat types supported
  708. if achievement['StatType'] != 'Max' and achievement['StatType'] != 'Cumulative':
  709. continue
  710.  
  711. # usually the current stat value isn't 0 but something like null or none, so we set it to 0
  712. if not IsNumeric( achievement['ProgressValue'] ):
  713. achievement['ProgressValue'] = '0'
  714.  
  715. statIncrease = 1
  716. statGoal = int( achievement['StatValue'] )
  717. if statGoal >= 100000:
  718. statIncrease = random.randrange( 1, 10000 )
  719. elif statGoal >= 10000:
  720. statIncrease = random.randrange( 1, 1000 )
  721. elif statGoal >= 1000:
  722. statIncrease = random.randrange( 1, 100 )
  723.  
  724. print( 'Сейчас выполняется ачивка - "' + achievement['AchievementName'] + '"' )
  725. while int( achievement['ProgressValue'] ) < int( achievement['StatValue'] ):
  726. achievement['ProgressValue'] = str( int( achievement['ProgressValue'] ) + statIncrease )
  727.  
  728. if achievement['StatType'] == 'Cumulative':
  729. UpdateGameStat( s, username, achievement['StatName'], statIncrease )
  730. else:
  731. UpdateGameStat( s, username, achievement['StatName'], int( achievement['ProgressValue'] ) )
  732.  
  733. # so we don't do it too fast
  734. time.sleep( 1 )
  735.  
  736. print( 'Ачивка в оде получена\n' )
  737. print( 'Иг а закончена, по счёту она : ',i+1 )#;print ( '1');time.sleep( 1 );print ( '2');time.sleep( 1 );print ( '3');time.sleep( 1 );print ( '4');time.sleep( 1 );print ( '5')
  738. i = i + 1
  739.  
  740.  
  741. print( 'Заебись :)' )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement