Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么解析结果固定为 1.1.1.1 ? #15

Open
Explorer1092 opened this issue Jul 19, 2019 · 0 comments
Open

为什么解析结果固定为 1.1.1.1 ? #15

Explorer1092 opened this issue Jul 19, 2019 · 0 comments

Comments

@Explorer1092
Copy link
Contributor

def dns():
    d = DNSServer()
    d.add_record('httplog', LOCAL_IP)
    d.add_record('x', LOCAL_IP)
    d.add_record('mock', LOCAL_IP)
    d.start()

只有 httplog 、x 、mock解析的结果为LOCAL_IP,其余的解析结果为1.1.1.1

为什么其他的解析结果不是LOCAL_IP呢?这么做的用意是什么?

blind ssrf时,利用 http://xx.x.baidu.com/ 作为payload,可以一次性判断此ssrf漏洞多种的可能性。比如域名是否解析,http请求是否能正常发出。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant