Skip to content

Commit fae8f16

Browse files
Merge pull request #205 from AikidoSec/hansott-patch-1
Fix hostname in comment
2 parents 409bc58 + d80a3b1 commit fae8f16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent_api/src/main/java/dev/aikido/agent_api/vulnerabilities/ssrf/RequestToServiceHostnameChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public final class RequestToServiceHostnameChecker {
99
private static final List ALLOWED_LOCALHOST_VARIANTS = List.of(
1010
"localhost",
1111
"localdomain",
12-
// metadata is a hostname used by google, it gets automatically extended to metadata.goog
12+
// metadata is a hostname used by google, it gets automatically extended to metadata.google.internal
1313
// https://stackoverflow.com/questions/23362887/can-you-get-external-ip-address-from-within-a-google-compute-vm-instance
1414
"metadata"
1515
);

0 commit comments

Comments
 (0)