Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * TeamSpeak3 Password Encrypter by Dasoren <Dasoren@Dasoren.com>
- *
- * Revision: 1
- * Latest change: 2014-2-2 14:48:51 EST (-5 GMT)
- *
- * Copyright (c) 2014, Dasoren <Dasoren@Dasoren.com>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of Dasoren nor the
- * names of his contributors may be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL ACTIUM BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- */
- ?>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Leckoren Servers TS3 Password Encrypt</title>
- </head>
- <body>
- <table width="500"
- border="0"
- align="center"
- cellpadding="0"
- cellspacing="1"
- bgcolor="#CCCCCC">
- <tr>
- <form name="form1"
- method="post"
- action="pass.php">
- <td>
- <table width="100%"
- border="0"
- cellpadding="1"
- cellspacing="1"
- bgcolor="#CCCCCC">
- <tr>
- <strong>
- TS3 Pass Encrypt <br>
- #1 Enter Password<br>
- #2 Press Encrypt <br>
- #3 Copy Encrypted Password
- </strong>
- </tr>
- <tr>
- <td style="width120px;">Encrypted Password</td>
- <td>:</td>
- <td><input disabled
- name="encrypt"
- type="text"
- id="encrypt"
- style="width:254px;height31px;"
- value= <?php if(isset($_POST['mypassword'])){
- $encrypted=(base64_encode(sha1($_POST['mypassword'], true)));
- echo $encrypted;} else{ echo '';}
- ?> >
- </td>
- </tr>
- <tr>
- <br><br>
- <td style="width120px;"><?php
- if(isset($_POST['mypassword'])){echo "Unencrypted Password";}
- else{echo "Password to Encrypt";}
- ?></td>
- <td>:</td>
- <td><input name="mypassword"
- type="text"
- id="mypassword"
- style="width:254px;height31px;"
- value=
- <?php if(isset($_POST['mypassword'])){
- echo $_POST['mypassword'];} else{ echo '';}
- ?> >
- </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td><input type="submit"
- name="make"
- value="Encrypt">
- </td>
- </tr>
- </table>
- </td>
- </form>
- </tr>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement