We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0e66f2 commit 1f57faeCopy full SHA for 1f57fae
src/main/java/org/joychou/security/SSRFChecker.java
@@ -82,7 +82,7 @@ public static Boolean isInnerIPByUrl(String url) {
82
*/
83
private static boolean isInnerIp(String strIP){
84
85
- String blackSubnetlist[] = {"10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "127.0.0.0/8"};
+ String blackSubnetlist[] = {"10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "127.0.0.0/8", "0.0.0.0/32"};
86
87
for (String subnet: blackSubnetlist) {
88
SubnetUtils utils = new SubnetUtils(subnet);
0 commit comments