index.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  1. <?php
  2. /* Site Data */
  3. /* invite_code_master is the Invite Code that the VIP Users will be using on the site */
  4. /* free_user_exp is the active days for Free Users */
  5. /* vip_user_exp is the active days for VIP Users */
  6. $site_name = "EZ Connect";
  7. $site_description = "Provider of Quality SSH, SSL, VPN Accounts";
  8. $site_template = "darkly";
  9. $invite_code_master = "30DaysInviteCode";
  10. $free_user_exp = "3";
  11. $expiration2 = "30";
  12. /* Server Data */
  13. /* Format: Server_Name, IP_Address, Root_Pass, User_Type */
  14. /* Example_1: 1=>array(1=>"LadyClare Server 1","123.456.789","LadyClare","VIP"), */
  15. $server_lists_array=array(
  16. 1=>array(1=>"BlackVPN","101.99.65.127","151007ad","3"),
  17. );
  18. /* Service Ports Variables */
  19. $port_ssh= '22'; // SSH Ports
  20. $port_dropbear= '442, 109'; // Dropbear Ports
  21. $port_ssl= '443'; // SSL Ports
  22. $port_squid= '3128, 8080, 8000'; // Squid Ports
  23. $ovpn_client= ''.$hosts.'/client.ovpn'; // OpenVPN Client Config
  24. /* Dont Edit Any Part Of The Code If You Dont Know How It Works*/
  25. $error = false;
  26. if (isset($_POST['user']))
  27. {
  28. $username = trim($_POST['user']);
  29. $username = strip_tags($username);
  30. $username = htmlspecialchars($username);
  31. $password1 = trim($_POST['password']);
  32. $password1 = strip_tags($password1);
  33. $password1 = htmlspecialchars($password1);
  34. $invite_code = $_POST['invite'];
  35. $invite_code = strip_tags($invite_code);
  36. $invite_code = htmlspecialchars($invite_code);
  37. if (empty($username))
  38. {
  39. $error = true;
  40. $nameError = "Please Input A Username.";
  41. }
  42. else if (strlen($username) < 3)
  43. {
  44. $error = true;
  45. $nameError = "Username Must Have Atleat 3 Characters.";
  46. }
  47. if (empty($password1))
  48. {
  49. $error = true;
  50. $passError = "Please Input Password.";
  51. }
  52. else if(strlen($password1) < 3)
  53. {
  54. $error = true;
  55. $passError = "Password Must Have Atleast 3 Characters.";
  56. }
  57. for ($row = 1; $row < 101; $row++)
  58. {
  59. if ( $_POST['server'] == $server_lists_array[$row][1] )
  60. {
  61. if ( $server_lists_array[$row][4] == "VIP" )
  62. {
  63. if ( !empty($invite_code))
  64. {
  65. if ( $invite_code != $invite_code_master )
  66. {
  67. $error = true;
  68. $inviteError = "Invite Code Is Incorrect";
  69. }
  70. else
  71. {
  72. $hosts= $server_lists_array[$row][2];
  73. $root_pass= $server_lists_array[$row][3];
  74. break;
  75. }
  76. }
  77. else
  78. {
  79. $error = true;
  80. $inviteError = "Please Input Invite Code";
  81. }
  82. }
  83. elseif ( $server_lists_array[$row][4] == "Free" )
  84. {
  85. $hosts= $server_lists_array[$row][2];
  86. $root_pass= $server_lists_array[$row][3];
  87. break;
  88. }
  89. }
  90. }
  91. if ( $_POST['user_type'] == "VIP User")
  92. {
  93. if ( empty($invite_code))
  94. {
  95. $error = true;
  96. $inviteError = "Please Input Invite Code";
  97. }
  98. else
  99. {
  100. $expiration= $vip_user_exp;
  101. }
  102. }
  103. elseif ( $_POST['user_type'] == "Free User")
  104. {
  105. if ( empty($invite_code))
  106. {
  107. $expiration= $free_user_exp;
  108. }
  109. else
  110. {
  111. $error = true;
  112. $inviteError = "Invite Code If For VIP Users Only";
  113. }
  114. }
  115. $password1 = $_POST['password'];
  116. $nDays = $expiration2;
  117. $datess = date('m/d/y', strtotime('+'.$nDays.' days'));
  118. $password = escapeshellarg( crypt($password1) );
  119. if( !$error )
  120. {
  121. date_default_timezone_set('UTC');
  122. date_default_timezone_set("Asia/Manila");
  123. $my_date = date("Y-m-d H:i:s");
  124. $connection = ssh2_connect($hosts, 22);
  125. if (ssh2_auth_password($connection, 'root', $root_pass))
  126. {
  127. $show = true;
  128. ssh2_exec($connection, "useradd $username -m -p $password -e $datess -d /tmp/$username -s /bin/false");
  129. $succ = 'Added Succesfully';
  130. if ($res)
  131. {
  132. $errTyp = "success";
  133. $errMSG = "Successfully registered, you may Check your credentials";
  134. $username = '';
  135. $password = '';
  136. }
  137. else
  138. {
  139. $errTyp = "danger";
  140. $errMSG = "Something went wrong, try again later...";
  141. }
  142. }
  143. else
  144. {
  145. die('Connection Failed...');
  146. }
  147. }
  148. }
  149. ?>
  150. <html>
  151. <head>
  152. <meta charset="utf-8">
  153. <meta name="viewport" content="width=device-width, initial-scale=1">
  154. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  155. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.1.1/cyborg/bootstrap.min.css">
  156. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css">
  157. <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  158. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
  159. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
  160. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  161. <style type="text/css">
  162. .box{
  163. color: #fff;
  164. padding: 20px;
  165. display: none;
  166. margin-top: 20px;
  167. }
  168. .red{ background: #ff0000; }
  169. .green{ background: #228B22; }
  170. .blue{ background: #0000ff; }
  171. </style>
  172. <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
  173. <script type="text/javascript">
  174. $(document).ready(function(){
  175. $("select").change(function(){
  176. $(this).find("option:selected").each(function(){
  177. var optionValue = $(this).attr("value");
  178. if(optionValue){
  179. $(".box").not("." + optionValue).hide();
  180. $("." + optionValue).show();
  181. } else{
  182. $(".box").hide();
  183. }
  184. });
  185. }).change();
  186. });
  187. </script>
  188. <style>
  189. * {
  190. box-sizing: border-box;
  191. }
  192. /* Create two equal columns that floats next to each other */
  193. .column {
  194. float: left;
  195. width: 33.33%;
  196. padding: 10px;
  197. }
  198. /* Clear floats after the columns */
  199. .row:after {
  200. content: "";
  201. display: table;
  202. clear: both;
  203. }
  204. /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  205. @media screen and (max-width: 600px) {
  206. .column {
  207. width: 100%;
  208. }
  209. }
  210. .icon-background {
  211. color: #FFFFFF;
  212. }
  213. </style>
  214. </head>
  215. <body>
  216. <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
  217. <a class="navbar-brand" href="#">EZ Connect</a>
  218. <button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation">
  219. <span class="navbar-toggler-icon"></span>
  220. </button>
  221. <div class="navbar-collapse collapse" id="navbarColor02" style="">
  222. <ul class="navbar-nav mr-auto">
  223. <li class="nav-item active">
  224. <a class="nav-link" href="/index.php">Home <span class="sr-only">(current)</span></a>
  225. </li>
  226. </ul>
  227. </div>
  228. </nav>
  229. <br>
  230. <div align="center">
  231. <span class="badge badge-primary">NO DDOS</span>
  232. <span class="badge badge-secondary">NO HACKING</span>
  233. <span class="badge badge-success">NO TORRENT</span>
  234. <span class="badge badge-danger">NO CARDING</span>
  235. <span class="badge badge-warning">NO ILLEGAL</span>
  236. <span class="badge badge-info">100% FREE</span>
  237. <span class="badge badge-light">100% UPTIME</span>
  238. <span class="badge badge-dark">100% PROTECTION</span>
  239. </div>
  240. <center><iframe src="https://freesecure.timeanddate.com/clock/i6np8hk8/n145/fn6/fs12/fcf00/tct/pct/ftb/bas2/bat0/bacfff/pa8/tt0/tw1/th2/tb4" frameborder="0" width="156" height="44" allowTransparency="true"></iframe>
  241. </center>
  242. <center><iframe data-aa='1133593' src='//acceptable.a-ads.com/1133593' scrolling='no' style='border:0px; padding:0; overflow:hidden' allowtransparency='true'></iframe></center>
  243. <div align="center">
  244. <div class="col-md-4" align="center">
  245. <div align="center">
  246. <div align="center" class="card-body">
  247. <form method="post" align="center" class="softether-create">
  248. <div class="form-group">
  249. <?php
  250. if($show == true)
  251. {
  252. echo '<div class="card border-danger">';
  253. echo '<table class="table-danger">';
  254. echo '<tr>'; echo '<td> </td>'; echo '<td> </td>'; echo '</tr>';
  255. echo '<tr>'; echo '<td>Server</td>'; echo '<td>'; echo $_POST['server']; echo '</td>'; echo '</tr>';
  256. echo '<tr>'; echo '<td>Host</td>'; echo '<td>'; echo $hosts; echo '</td>'; echo '</tr>';
  257. echo '<tr>'; echo '<td>Username</td>'; echo '<td>'; echo $username; echo '</td>'; echo '</tr>';
  258. echo '<tr>'; echo '<td>Password</td>'; echo '<td>'; echo $password1; echo '</td>'; echo '</tr>';
  259. echo '<tr>'; echo '<td>SSH Port</td>'; echo '<td>'; echo $port_ssh; echo '</td>'; echo '</tr>';
  260. echo '<tr>'; echo '<td>Dropbear Port</td>'; echo '<td>'; echo $port_dropbear; echo '</td>'; echo '</tr>';
  261. echo '<tr>'; echo '<td>SSL Port</td>'; echo '<td>'; echo $port_ssl; echo '</td>'; echo '</tr>';
  262. echo '<tr>'; echo '<td>Squid Port</td>'; echo '<td>'; echo $port_squid; echo '</td>'; echo '</tr>';
  263. echo '<tr>'; echo '<td>OpenVPN Config</td>'; echo '<td>';echo '<a href="http://';echo $hosts; echo "/"; echo "client.ovpn"; echo'">download config</a>'; echo '</td>'; echo '</tr>';
  264. echo '<tr>'; echo '<td>Expiration Date</td>'; echo '<td>'; echo $datess; echo '</td>'; echo '</tr>';
  265. echo '<tr>'; echo '<td> </td>'; echo '<td> </td>'; echo '</tr>';
  266. echo '</table>';
  267. echo '</div>';
  268. }
  269. ?>
  270. </div>
  271. <div class="form-group">
  272. <span class="text-danger"><?php echo $nameError; ?></span>
  273. </div>
  274. <div class="form-group">
  275. <span class="text-danger"><?php echo $passError; ?></span>
  276. </div>
  277. <div class="form-group">
  278. <span class="text-danger"><?php echo $inviteError; ?></span>
  279. </div>
  280. <div class="form-group">
  281. <div class="input-group">
  282. <div class="input-group-prepend">
  283. <span class="input-group-text"><i class="fas fa-globe" style="color:red;"></i></span>
  284. </div>
  285. <select class="custom-select" name="server" required>
  286. <option disabled selected value>Select Server</option>
  287. <?php
  288. for ($row = 1; $row < 101; $row++)
  289. {
  290. if (( $server_lists_array[$row][4] == VIP ))
  291. {
  292. echo '<option>';echo $server_lists_array[$row][1]; echo '</option>';
  293. }
  294. elseif ( $server_lists_array[$row][4] == Free )
  295. {
  296. continue;
  297. }
  298. else
  299. {
  300. break;
  301. }
  302. }
  303. ?>
  304. </optgroup>
  305. </select>
  306. </div>
  307. </div>
  308. <div class="form-group">
  309. <div class="input-group">
  310. <div class="input-group-prepend">
  311. <span class="input-group-text"><i class="fas fa-user-circle" style="color:red;"></i></span>
  312. </div>
  313. <input type="text" class="form-control" id="username" placeholder="Username" name="user" autocomplete="off" >
  314. </div>
  315. </div>
  316. <div class="form-group">
  317. <div class="input-group">
  318. <div class="input-group-prepend">
  319. <span class="input-group-text"><i class="fas fa-key" style="color:red;"></i></span>
  320. </div>
  321. <input type="text" class="form-control" id="password" placeholder="Password" name="password" autocomplete="off" >
  322. </div>
  323. </div>
  324. <div class="form-group">
  325. <div class="input-group">
  326. <div class="input-group-prepend">
  327. <span class="input-group-text"><i class="fas fa-code" style="color:red;"></i></span>
  328. </div>
  329. <input type="text" class="form-control" id="confirm" placeholder="Invite Code Here" name="invite" autocomplete="off" >
  330. </div>
  331. </div>
  332. <div class="form-group ">
  333. <button type="submit" id="button" class="btn btn-outline-danger btn-block btn-action">CREATE ACCOUNT</button>
  334. </div>
  335. </form>
  336. </div>
  337. </div>
  338. </div>
  339. </div>
  340. </div>
  341. </div>
  342. <div class="row">
  343. <div align="center" class="column" style="background-color:#ffffff00;">
  344. <span class="fa-stack fa-4x">
  345. <i class="fa fa-circle fa-stack-2x icon-background"></i>
  346. <i class="fas fa-user-shield fa-stack-1x style="color:red;"></i>
  347. </span>
  348. <h4>Privacy & Security</h4>
  349. <p>Get your identity hidden online, your IP Address will be masked with our server IP. Also your connection will be encrypted.</p>
  350. </div>
  351. <div align="center" class="column" style="background-color:#ffffff00;">
  352. <span class="fa-stack fa-4x">
  353. <i class="fa fa-circle fa-stack-2x icon-background"></i>
  354. <i class="ico fa fa-unlock-alt fa-stack-1x style="color:red;"></i>
  355. </span>
  356. <h4>Bypass Cencorship</h4>
  357. <p>Bypass your school, government or your office internet cencorship. Unblock any site and enjoy Internet Freedom.</p>
  358. </div>
  359. <div align="center" class="column" style="background-color:#ffffff00;">
  360. <span class="fa-stack fa-4x">
  361. <i class="fa fa-circle fa-stack-2x icon-background"></i>
  362. <i class="ico fa fa-rocket fa-stack-1x style="color:red;"></i>
  363. </span>
  364. <h4>Boost Internet Speed</h4>
  365. <p>Our service may boost your internet speed and make your connection stable (stable PING). This differ by country.</p>
  366. </div>
  367. </div>
  368. <center><iframe data-aa='1133593' src='//acceptable.a-ads.com/1133593' scrolling='no' style='border:0px; padding:0; overflow:hidden' allowtransparency='true'></iframe></center>
  369. <style>
  370. p {text-align:center;}
  371. </style>
  372. <p><strong>Donation Accepted. Any amount will help.</strong></p>
  373. <div align="center">
  374. <select>
  375. <option>DONATE OPTION</option>
  376. <option value="red">COINS.PH</option>
  377. <option value="green">GCASH</option>
  378. </select>
  379. </div>
  380. <div align="center" class="red box">You have selected <strong>Coins.ph.</strong> Donate to this number <br> 09667441328</div>
  381. <div align="center" class="green box">You have selected <strong>GCASH</strong> Donate to this number <br> 09667441328</div>
  382. <style>
  383. p {text-align:center;}
  384. </style>
  385. <p><strong>Thank you !</strong></p>
  386. <div align="center">
  387. Made with <i class="fa fa-heart pulse"></i> by <a href="https://www.phcorner.net/members/357807/" target="_blank">Wang Zki</a>
  388. </div>
  389. <style>.fb-livechat,.fb-widget{display:none}.ctrlq.fb-button,.ctrlq.fb-close{position:fixed;right:24px;cursor:pointer}.ctrlq.fb-button{z-index:1;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOCAxMjgiIGhlaWdodD0iMTI4cHgiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB3aWR0aD0iMTI4cHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxnPjxyZWN0IGZpbGw9IiMwMDg0RkYiIGhlaWdodD0iMTI4IiB3aWR0aD0iMTI4Ii8+PC9nPjxwYXRoIGQ9Ik02NCwxNy41MzFjLTI1LjQwNSwwLTQ2LDE5LjI1OS00Niw0My4wMTVjMCwxMy41MTUsNi42NjUsMjUuNTc0LDE3LjA4OSwzMy40NnYxNi40NjIgIGwxNS42OTgtOC43MDdjNC4xODYsMS4xNzEsOC42MjEsMS44LDEzLjIxMywxLjhjMjUuNDA1LDAsNDYtMTkuMjU4LDQ2LTQzLjAxNUMxMTAsMzYuNzksODkuNDA1LDE3LjUzMSw2NCwxNy41MzF6IE02OC44NDUsNzUuMjE0ICBMNTYuOTQ3LDYyLjg1NUwzNC4wMzUsNzUuNTI0bDI1LjEyLTI2LjY1N2wxMS44OTgsMTIuMzU5bDIyLjkxLTEyLjY3TDY4Ljg0NSw3NS4yMTR6IiBmaWxsPSIjRkZGRkZGIiBpZD0iQnViYmxlX1NoYXBlIi8+PC9zdmc+) center no-repeat #0084ff;width:60px;height:60px;text-align:center;bottom:24px;border:0;outline:0;border-radius:60px;-webkit-border-radius:60px;-moz-border-radius:60px;-ms-border-radius:60px;-o-border-radius:60px;box-shadow:0 1px 6px rgba(0,0,0,.06),0 2px 32px rgba(0,0,0,.16);-webkit-transition:box-shadow .2s ease;background-size:80%;transition:all .2s ease-in-out}.ctrlq.fb-button:focus,.ctrlq.fb-button:hover{transform:scale(1.1);box-shadow:0 2px 8px rgba(0,0,0,.09),0 4px 40px rgba(0,0,0,.24)}.fb-widget{background:#fff;z-index:2;position:fixed;width:360px;height:435px;overflow:hidden;opacity:0;bottom:0;right:24px;border-radius:6px;-o-border-radius:6px;-webkit-border-radius:6px;box-shadow:0 5px 40px rgba(0,0,0,.16);-webkit-box-shadow:0 5px 40px rgba(0,0,0,.16);-moz-box-shadow:0 5px 40px rgba(0,0,0,.16);-o-box-shadow:0 5px 40px rgba(0,0,0,.16)}.fb-credit{text-align:center;margin-top:8px}.fb-credit a{transition:none;color:#bec2c9;font-family:Helvetica,Arial,sans-serif;font-size:12px;text-decoration:none;border:0;font-weight:400}.ctrlq.fb-overlay{z-index:0;position:fixed;height:100vh;width:100vw;-webkit-transition:opacity .4s,visibility .4s;transition:opacity .4s,visibility .4s;top:0;left:0;background:rgba(0,0,0,.05);display:none}.ctrlq.fb-close{z-index:4;padding:0 6px;background:#365899;font-weight:700;font-size:11px;color:#fff;margin:8px;border-radius:3px}.ctrlq.fb-close::after{content:'x';font-family:sans-serif}</style>
  390. <div class="fb-livechat">
  391. <div class="ctrlq fb-overlay"></div>
  392. <div class="fb-widget">
  393. <div class="ctrlq fb-close"></div>
  394. <div class="fb-page" data-href="https://www.facebook.com/Free-SSH-VPN-351926902090977/" data-tabs="messages" data-width="360" data-height="400" data-small-header="true" data-hide-cover="true" data-show-facepile="false">
  395. <blockquote cite="https://www.facebook.com/Free-SSH-VPN-351926902090977/" class="fb-xfbml-parse-ignore"> </blockquote>
  396. </div>
  397. <div class="fb-credit">
  398. <a href="" target="_blank">Facebook Chat</a>
  399. </div>
  400. <div id="fb-root"></div>
  401. </div>
  402. <a href="https://m.me/Free-SSH-VPN-351926902090977" title="Send us a message on Facebook" class="ctrlq fb-button"></a>
  403. </div>
  404. <script src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9"></script>
  405. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
  406. <script>$(document).ready(function(){var t={delay:125,overlay:$(".fb-overlay"),widget:$(".fb-widget"),button:$(".fb-button")};setTimeout(function(){$("div.fb-livechat").fadeIn()},8*t.delay),$(".ctrlq").on("click",function(e){e.preventDefault(),t.overlay.is(":visible")?(t.overlay.fadeOut(t.delay),t.widget.stop().animate({bottom:0,opacity:0},2*t.delay,function(){$(this).hide("slow"),t.button.show()})):t.button.fadeOut("medium",function(){t.widget.stop().show().animate({bottom:"30px",opacity:1},2*t.delay),t.overlay.fadeIn(t.delay)})})});</script>
  407. </body>
  408. </html>