Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Cracker</title>
- <style>
- body {
- background-color: #000000;
- color: #FFFFFF;
- text-align: center;
- font-family: tahoma;
- }
- div {
- background-color: #1C1C1C;
- width: 50%;
- margin: auto;
- padding-top: 10px;
- padding-bottom: 10px;
- margin-top: 5px;
- margin-bottom: 5px;
- }
- hr {
- width: 50%;
- }
- </style>
- </head>
- <body>
- <h1>Cracker</h1>
- <div>
- <form method="post">
- <input type="text" name="file" placeholder="File">
- <input type="text" name="delimiter" placeholder="Delimiter">
- <input type="submit" name="submit" value="Submit">
- </form>
- </div>
- <div>
- <?php
- if ($_POST) {
- set_time_limit(0);
- function crack($username, $password)
- {
- echo $username . ':' . $password;
- echo '<br />';
- // Here you should have your curl function
- }
- foreach (file($_POST['file']) as $line) {
- $line = explode($_POST['delimiter'], $line);
- $username = $line[0];
- $password = $line[1];
- crack($username, $password);
- }
- echo PHP_EOL;
- }
- ?>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement