Advertisement
Guest User

Untitled

a guest
Oct 30th, 2019
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.64 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.0.9.0
  8. * @ Author : DeZender
  9. * @ Release on : 08.08.2019
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function run($ig, $climate)
  15. {
  16. ini_set('memory_limit', '-1');
  17. ini_set('max_execution_time', '-1');
  18. $poll_active = $slider_active = $question_active = $quiz_active = $mass_story_view_active = false;
  19. $proxy = '3';
  20.  
  21. try {
  22. $climate->out('Please provide an username for config file...');
  23. $config_name = getVarFromUser('Username');
  24.  
  25. do {
  26. if (empty($config_name)) {
  27. $config_name = getVarFromUser('Username');
  28. }
  29. } while (empty($config_name));
  30.  
  31. $climate->infoBold('Checking for config...');
  32. sleep(1);
  33.  
  34. if (file_exists('./config/config-' . $config_name . '.json')) {
  35. $climate->infoBold('Config file found. Processing...');
  36. sleep(1);
  37. $mafile = fopen('./config/config-' . $config_name . '.json', 'r');
  38. $file = fread($mafile, filesize('./config/config-' . $config_name . '.json'));
  39. $data = json_decode($file);
  40. fclose($mafile);
  41. $climate->infoBold('Checking & Validating License key...');
  42. sleep(1);
  43.  
  44. if ($data->license_key !== '') {
  45. $license_status = activate_license($data->license_key, $ig, $climate);
  46. }
  47. else {
  48. $climate->out('Please provide a valid license key from your Dashboard on Hypervoter.com (https://hypervoter.com).');
  49. $climate->out('Example: j5tkjkl4f7e595e9008bb77acc599453');
  50. $license_key = getVarFromUser('License key');
  51.  
  52. do {
  53. if (empty($license_key)) {
  54. $license_key = getVarFromUser('License key');
  55. }
  56. } while (empty($license_key));
  57.  
  58. $license_key = str_replace(' ', '', $license_key);
  59. $license_status = activate_license($license_key, $ig, $climate);
  60.  
  61. if ($license_status == 'valid') {
  62. $climate->out('You license active and valid.');
  63. }
  64. else {
  65. $climate->out('You license key not valid.');
  66. run($ig, $climate);
  67. }
  68.  
  69. sleep(1);
  70. }
  71.  
  72. if ('valid' === $license_status) {
  73. $climate->backgroundBlueWhiteBold(' You license key is active and valid. Processing... ');
  74. sleep(1);
  75.  
  76. if ('' !== $data->username) {
  77. $climate->infoBold('Username Found');
  78. $login = $data->username;
  79. }
  80. else {
  81. $climate->backgroundRedWhiteBold('Username can not empty');
  82. sleep(1);
  83. exit();
  84. }
  85.  
  86. if ('' !== $data->password) {
  87. $climate->infoBold('Password Found');
  88. $password = $data->password;
  89. }
  90. else {
  91. $climate->backgroundRedWhiteBold('Password can not empty');
  92. sleep(1);
  93. exit();
  94. }
  95.  
  96. if ('3' === $data->proxy) {
  97. $climate->infoBold('Proxy Skipping Enabled. Processing ...');
  98. $proxy = '3';
  99. sleep(1);
  100. }
  101. else {
  102. $climate->infoBold('Proxy Option found. Validating...');
  103. sleep(1);
  104. $validate_proxy = isValidProxy($data->proxy, $climate);
  105. $climate->infoBold('Proxy Status : ' . $validate_proxy);
  106.  
  107. if ($validate_proxy == 200) {
  108. $climate->info('Proxy Connected. Processing ...');
  109. $proxy = $data->proxy;
  110. $ig->setProxy($data->proxy);
  111. }
  112. else {
  113. $proxy = '3';
  114. $climate->info('Proxy can not conntected. Skipping...');
  115. }
  116. }
  117.  
  118. if ($data->speed_value) {
  119. $climate->infoBold('Speed Value Found. Processing ... ');
  120. $speed = (int) $data->speed_value;
  121.  
  122. do {
  123. if (1500000 < $speed) {
  124. $climate->errorBold('Speed value is incorrect. Type integer value from 1 to 1 500 000 stories/day.');
  125. usleep(500000);
  126. $climate->errorBold('For Maxiumum speed please use "0"... Please set speed now (that will not change your config file)');
  127. $speed = (int) getVarFromUser('Speed');
  128. }
  129. } while (1500000 < $speed);
  130.  
  131. if ($speed === 0) {
  132. $climate->infoBold(' Maximum speed enabled. ');
  133. $delay = 46;
  134. }
  135. else {
  136. $climate->infoBold('Speed set to ' . $speed . ' stories/day.');
  137. $delay = round(864000 / $speed);
  138. }
  139. }
  140.  
  141. if (0 < $data->fresh_stories_range) {
  142. $fresh_stories_range = $data->fresh_stories_range;
  143. $climate->infoBold('Experimental Feature (Fresh Stories Range) value found. Validating ...');
  144. sleep(1);
  145.  
  146. do {
  147. if (23 < $fresh_stories_range) {
  148. $climage->errorBold('Fresh stories range value is incorrect. Type integer value from 1 to 23.');
  149. $climage->errorBold('Type 0 for skip this option.');
  150. $fresh_stories_range = (int) getVarFromUser('Fresh Stories Range');
  151. }
  152. } while (23 < $fresh_stories_range);
  153.  
  154. $climate->infoBold('Fresh Stories Range set to ' . $fresh_stories_range);
  155. sleep(1);
  156. }
  157. else {
  158. $fresh_stories_range = 0;
  159. $climate->infoBold('Experimental Feature (Fresh Stories Range) Skipping.');
  160. usleep(500000);
  161. }
  162.  
  163. $defined_targets = $data->targets;
  164.  
  165. if ($data->is_mass_story_vivew_active) {
  166. $climate->backgroundRedWhiteBold('Attention! Mass story View Feature is active. Please use this option with caution. Our algorithm is optimized for maximum efficiency and human behaviour. As developers, we are not responsible if your account blocked by Instagram. ');
  167. }
  168. }
  169. else {
  170. $climate->backgroundRedWhiteBold(' You license key is not valid. Please obtain valid licence key from your Dashboard on Hypervoter.com (https://hypervoter.com) ');
  171. sleep(1);
  172. exit();
  173. }
  174. }
  175. else {
  176. $climate->backgroundRedWhiteBold(' Config file not found. Manual input starting... ');
  177. sleep(5);
  178. $defined_targets = NULL;
  179. $climate->out('Please provide a valid license key from your Dashboard on Hypervoter.com (https://hypervoter.com).');
  180. $climate->out('Example: j5tkjkl4f7e595e9008bb77acc599453');
  181. $license_key = getVarFromUser('License key');
  182.  
  183. do {
  184. if (empty($license_key)) {
  185. $license_key = getVarFromUser('License key');
  186. }
  187. } while (empty($license_key));
  188.  
  189. $license_key = str_replace(' ', '', $license_key);
  190. $license_status = activate_license($license_key, $ig, $climate);
  191.  
  192. if ($license_status == 'valid') {
  193. $climate->out('You license active and valid.');
  194. }
  195. else {
  196. $climate->out('You license key not valid.');
  197. run($ig, $climate);
  198. }
  199.  
  200. $climate->out('Please provide login data of your Instagram Account.');
  201. $login = getVarFromUser('Login');
  202.  
  203. do {
  204. if (empty($login)) {
  205. $login = getVarFromUser('Login');
  206. }
  207. } while (empty($login));
  208.  
  209. $password = getVarFromUser('Password');
  210. .........................................................................
  211. .............................................
  212. ...........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement