Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2017
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.22 KB | None | 0 0
  1.  
  2. Feb 03, 2017 06:22:54 PM Info
  3. ReflectedHttpActionDescriptor ExecuteAsync Action returned 'System.Web.Http.Results.JsonResult`1[Newtonsoft.Json.Linq.JToken]'
  4. Feb 03, 2017 06:22:54 PM Error
  5. Exception in test_indexer
  6. Feb 03, 2017 06:22:54 PM Info
  7. Found 0 releases from BitHUmen
  8. Feb 03, 2017 06:22:54 PM Debug
  9. IWebClient: Returning OK => <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  10. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  11. <head>
  12. <title> - </title>
  13. <link rel="stylesheet" href="https://media.bithumen.be/css/bithumen.css" type="text/css">
  14. </head>
  15. <body>
  16. <table class="mainouter" width="100%" border="1" cellspacing="0" cellpadding="10" style="margin-top: 10px;">
  17. <tr>
  18. <td class="outer" align="center">
  19. <table id="main" style="margin-left: auto; margin-right: auto; text-align: center;" class="bottom" border="0">
  20. <tr>
  21. <td id="maintd" class="bottom">
  22. <div id="szethuzo"></div>
  23. <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="10" HEIGHT="10" id="r" ALIGN="">
  24. <PARAM NAME="movie" VALUE="r2.swf">
  25. <PARAM NAME="menu" VALUE="false">
  26. <PARAM NAME="quality" VALUE="low">
  27. <PARAM NAME="wmode" VALUE="transparent">
  28. <PARAM NAME="bgcolor" VALUE="#FFFFFF">
  29. <EMBED src="r2.swf" menu="false" quality="low" wmode="transparent" bgcolor="#FFFFFF" WIDTH="10" HEIGHT="10" NAME="r" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
  30. </OBJECT>
  31.  
  32. <form method="POST" action="takelogin.php" id="loginform">
  33. <input type="hidden" name="salted_passhash" id="loginform_salted_passhash" value="" />
  34. <input type="hidden" name="salted_passhash_trimmed" id="loginform_salted_passhash_trimmed" value="" />
  35. <p>Figyelem: A cookiekat engedélyezned kell.</p> <input type="hidden" id="login-vxx" name="vxx" value="e611e" />
  36. <table align="center" border="0" cellpadding="5">
  37. <tr>
  38. <td class="rowhead" style="vertical-align: middle">Felhasználónév:</td>
  39. <td align="left">
  40. <input type="text" size="40" name="username" id="loginform_username" style="background-color: white; border: 1px solid #333333; height: 20px"/>
  41. </td>
  42. </tr>
  43. <tr>
  44. <td class="rowhead" style="vertical-align: middle">Jelszó:</td>
  45. <td align="left">
  46. <input type="password" size="40" name="password" id="loginform_password" style="background-color: white; border: 1px solid #333333; height: 20px"/>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td class="rowhead" style="vertical-align: middle">Megjegyez:</td>
  51. <td align="left">
  52. <input type="checkbox" name="megjegyez" />
  53. </td>
  54. </tr>
  55. <tr>
  56.  
  57. <td colspan="2" align="center">
  58. <input type="submit" value="Bejelentkezés!" style="width: 140px;" class="btn" id="loginform_submit"> <input style="width: 100px;" type="button" value="Google Login" class="btn" onclick="return googleAuth();">
  59. <br/>
  60. <a href="/recover.php">Elfelejtetted a jelszavad?</a>
  61. <br/>
  62. (ha nem tudsz belépni beszélj azzal aki meghívott)
  63. <br/>
  64. <br>
  65. <a href="http://bithumen.be/login.php?ssl=0">Hagyományos HTTP bejelentkezés</a>
  66. </td>
  67. </tr>
  68. </table>
  69. </form>
  70. </td></tr></table> </td></tr></table>
  71. <script type="text/javascript">
  72. var mystorage = new (function() {
  73. this.storage = window.localStorage && window.JSON ? window.localStorage : false;
  74.  
  75. this.now = function() {
  76. return parseInt(new Date().getTime()/1000);
  77. }
  78.  
  79. this.set = function(k, v, e) {
  80. if (!this.storage)
  81. return false;
  82. if (!k)
  83. return false;
  84. if (v == undefined)
  85. return false;
  86. if (!e) {
  87. e = 0;
  88. }
  89. if (e < 0) {
  90. return this.storage.removeItem(k);
  91. } else {
  92. if (e < this.now()) {
  93. e = this.now()+e;
  94. }
  95. return this.storage.setItem(k, JSON.stringify([v, e]));
  96. }
  97. }
  98.  
  99. this.get = function(k) {
  100. if (!this.storage)
  101. return false;
  102. if (!k)
  103. return false;
  104. var rv = false;
  105. if (!(rv = this.storage.getItem(k)))
  106. return false;
  107. rv = JSON.parse(rv);
  108. if (rv[1] > this.now() || rv[1] == 0)
  109. return rv[0];
  110. this.set(k, 0, -1);
  111. return false;
  112. }
  113.  
  114. })();
  115.  
  116. function googleAuth()
  117. {
  118. var m = false;
  119. if (m = document.location.search.match(/[?&]returnto=([^&]+)/)) {
  120. var redurl = decodeURIComponent(m[1]);
  121. if (redurl.match(/^\/[a-z0-9]+/)) {
  122. mystorage.set("returnto", redurl, 120);
  123. }
  124. }
  125. document.location.href="/google.php?action=login&vxx="+document.getElementById('login-vxx').value;
  126. }
  127.  
  128. var sslRedirect = new (function() {
  129. this.ssl_working = false;
  130.  
  131. this.urls = {
  132. "https://bithumen.be/media/img/null.png": {
  133. obj: false,
  134. status: -1,
  135. created_at: 0,
  136. loaded_at: 0
  137. },
  138. "https://bhstatic.imageservecdn.com/img/null.png": {
  139. obj: false,
  140. status: -1,
  141. created_at: 0,
  142. loaded_at: 0
  143. }
  144. };
  145.  
  146. this.takeImageEvent = function(obj, status) {
  147. var url = obj.src.match(/^(.*)\?/)[1];
  148. switch (status) {
  149. case 'inserted':
  150. this.urls[url].status = 0;
  151. this.urls[url].obj = obj;
  152. this.urls[url].created_at = new Date().getTime();
  153. break;
  154. case 'loaded':
  155. this.urls[url].status = 1;
  156. this.urls[url].obj = obj;
  157. this.urls[url].loaded_at = new Date().getTime();
  158. break;
  159. case 'error':
  160. this.urls[url].status = -1;
  161. this.urls[url].obj = obj;
  162. break;
  163. }
  164. }
  165.  
  166. this.decorateSecure = function() {
  167. document.getElementById("loginform").onsubmit = null;
  168. document.getElementById("loginform_submit").value = "Biztonságos bejelentkezés!";
  169. document.getElementById("loginform_submit").style.width = "150px";
  170. document.getElementById("loginform_password").style.background = "#FFFFFF url('https://media.bithumen.be/img/lock.png') no-repeat center right";
  171. }
  172. this.check = function() {
  173. for (var url in this.urls) {
  174. switch (this.urls[url].status) {
  175. case -1:
  176. // error
  177. this.ssl_working = false;
  178. return false;
  179. break;
  180. case 0:
  181. // timeout
  182. this.ssl_working = false;
  183. return false;
  184. break;
  185. case 1:
  186. this.ssl_working = true;
  187. break;
  188. }
  189. }
  190.  
  191. if (this.ssl_working) {
  192. this.decorateSecure();
  193. var basehttpsurl = "https://" + document.location.host;
  194. var actionUrl = basehttpsurl + "/takelogin.php";
  195. document.getElementById("loginform").setAttribute("action", actionUrl);
  196. window.googleAuth = function() {
  197. document.location.href= basehttpsurl + "/google.php?action=login&vxx="+document.getElementById('login-vxx').value;
  198. }
  199. }
  200. }
  201.  
  202. this.run = function() {
  203. if (document.location.protocol.match(/^https/i)) {
  204. this.ssl_working = true;
  205. this.decorateSecure();
  206. return false;
  207. }
  208.  
  209. if (document.location.search.match(/[?&]ssl=0/)) {
  210. return false;
  211. }
  212.  
  213. var self = this;
  214. for (var url in this.urls) {
  215. var myimg = document.createElement("IMG");
  216. myimg.onload = function () {
  217. self.takeImageEvent(this, "loaded");
  218. }
  219. myimg.onerror = function () {
  220. self.takeImageEvent(this, "error");
  221. }
  222.  
  223. myimg.src = url + "?rnd=" + parseInt(Math.random()*1000000).toString();
  224. this.takeImageEvent(myimg, "inserted");
  225. document.body.appendChild(myimg);
  226. }
  227. window.setTimeout(function () {
  228. self.check();
  229. }, 3000);
  230. }
  231.  
  232. // no force ssl
  233. this.run();
  234. })();
  235. </script>
  236. <script type="text/javascript" src="https://media.bithumen.be/js/md5_min.js" async="async"></script>
  237. <script>
  238. function makeRequest(url) {
  239. http_request = false;
  240.  
  241. if (window.XMLHttpRequest) {
  242. http_request = new XMLHttpRequest();
  243. if (http_request.overrideMimeType) {
  244. http_request.overrideMimeType('text/pain');
  245. }
  246. } else if (window.ActiveXObject) {
  247. try {
  248. http_request = new ActiveXObject("Msxml2.XMLHTTP");
  249. } catch (e) {
  250. try {
  251. http_request = new ActiveXObject("Microsoft.XMLHTTP");
  252. } catch (e) {}
  253. }
  254. }
  255.  
  256. if (!http_request) {
  257. alert('Giving up Cannot create an XMLHTTP instance');
  258. return false;
  259. }
  260. http_request.onreadystatechange = alertContents;
  261. http_request.open('GET', url, true);
  262. http_request.send(null);
  263.  
  264. }
  265.  
  266. function alertContents() {
  267. if (http_request.readyState == 4) {
  268. if (http_request.status == 200) {
  269. parse_secret(http_request.responseText);
  270. } else {
  271. alert('There was a problem with the request.');
  272. }
  273. }
  274.  
  275. }
  276.  
  277. var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
  278. function decode64(input) {
  279. var output = "";
  280. var chr1, chr2, chr3;
  281. var enc1, enc2, enc3, enc4;
  282. var i = 0;
  283.  
  284. // remove all characters that are not A-Z, a-z, 0-9, +, /, or =
  285. input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
  286.  
  287. do {
  288. enc1 = keyStr.indexOf(input.charAt(i++));
  289. enc2 = keyStr.indexOf(input.charAt(i++));
  290. enc3 = keyStr.indexOf(input.charAt(i++));
  291. enc4 = keyStr.indexOf(input.charAt(i++));
  292.  
  293. chr1 = (enc1 << 2) | (enc2 >> 4);
  294. chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
  295. chr3 = ((enc3 & 3) << 6) | enc4;
  296.  
  297. output = output + String.fromCharCode(chr1);
  298.  
  299. if (enc3 != 64) {
  300. output = output + String.fromCharCode(chr2);
  301. }
  302. if (enc4 != 64) {
  303. output = output + String.fromCharCode(chr3);
  304. }
  305. } while (i < input.length);
  306.  
  307. return output;
  308. }
  309.  
  310. //------
  311.  
  312. function parse_secret(text) {
  313. var datas = text.split("-|-");
  314. var secret = decode64(datas[1]);
  315. var salt = datas[2];
  316. var formPassword = document.getElementById("loginform_password").value;
  317. var passhash = hex_md5(secret+formPassword+secret);
  318. var passhash_trimmed = hex_md5(secret+formPassword.replace(/^\s+|\s+$/gm, '')+secret);
  319. document.getElementById("loginform_password").value = "";
  320. var salted_passhash = hex_md5(salt+"|"+passhash);
  321. var salted_passhash_trimmed = hex_md5(salt+"|"+passhash_trimmed);
  322. document.getElementById("loginform_salted_passhash").value = salted_passhash;
  323. document.getElementById("loginform_salted_passhash_trimmed").value = salted_passhash_trimmed;
  324. document.getElementById("loginform").submit();
  325. }
  326.  
  327. function setMD5Login() {
  328. document.getElementById("loginform_submit").value = "Biztonságos bejelentkezés!";
  329. document.getElementById("loginform_submit").style.width = "150px";
  330. document.getElementById("loginform_password").style.background = "#FFFFFF url('https://media.bithumen.be/img/lock.png') no-repeat center right";
  331. document.getElementById("loginform").onsubmit = function () {
  332. makeRequest("/takeusername.php?username=" + document.getElementById("loginform_username").value + "&vxx=e611e");
  333. return false;
  334. }
  335. }
  336.  
  337. </script>
  338. <script type="text/javascript">
  339.  
  340. var _gaq = _gaq || [];
  341. _gaq.push(['_setAccount', 'UA-36873970-1']);
  342. _gaq.push(['_setDomainName', 'bithumen.be']);
  343. _gaq.push(['_setAllowLinker', true]);
  344. _gaq.push(['_trackPageview']);
  345.  
  346. (function() {
  347. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  348. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  349. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  350. })();
  351.  
  352. </script>
  353. </body></html>
  354. Feb 03, 2017 06:22:54 PM Debug
  355. IWebClient.GetString(Url:https://bithumen.be/login.php/browse.php?&search=&incldead=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement