Commit 246b66f
Nitin Chaudhary
feat: Add DNS validation for advanced SSRF protection
- Add ValidateURLWithDNS() method for async DNS resolution validation
- Add ResolveHostname() utility for DNS rebinding attack prevention
- Link Winsock2 library for Windows DNS resolution support
- Enhances existing SDL input validation with DNS-level security
Addresses: 58386087 - Advanced DNS validation features1 parent de71ef3 commit 246b66f
File tree
2 files changed
+14
-0
lines changed2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
36 | 43 | | |
37 | 44 | | |
38 | 45 | | |
| |||
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
48 | 58 | | |
49 | 59 | | |
50 | 60 | | |
| |||
0 commit comments