We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ec55d4a + fb19b6f commit fa22990Copy full SHA for fa22990
tests/cli/ssrf/test_ssrf_curl_exec_redirect.phpt
@@ -6,13 +6,13 @@ AIKIDO_LOG_LEVEL=INFO
6
AIKIDO_BLOCK=1
7
8
--POST--
9
-test=http://ssrf-redirects.testssandbox.com/ssrf-test
+test=https://ssrf-redirects.testssandbox.com/ssrf-test-3
10
11
--FILE--
12
<?php
13
14
-$host = '0.0.0.0';
15
-$port = 80;
+$host = '127.0.0.1';
+$port = 3000;
16
$pid = null;
17
18
$descriptorspec = [
@@ -35,7 +35,7 @@ try {
35
sleep(1);
36
37
// Perform the cURL request
38
- $ch1 = curl_init("http://ssrf-redirects.testssandbox.com/ssrf-test");
+ $ch1 = curl_init("https://ssrf-redirects.testssandbox.com/ssrf-test-3");
39
curl_setopt($ch1, CURLOPT_RETURNTRANSFER, true);
40
curl_setopt($ch1, CURLOPT_FOLLOWLOCATION, true);
41
$response = curl_exec($ch1);
0 commit comments