Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

小部分poc报错no such host问题原因 #50

Open
ghn1ng opened this issue Jun 1, 2022 · 1 comment
Open

小部分poc报错no such host问题原因 #50

ghn1ng opened this issue Jun 1, 2022 · 1 comment

Comments

@ghn1ng
Copy link

ghn1ng commented Jun 1, 2022

controller.go中DoSingleRuleRequest函数有点问题,fixedFastReq.URI().Update(curPath)这里执行之后应该是丢掉了host头,我这里测试都是丢掉了然后报错no such host,需要手动fixedFastReq.URI().SetHost(curHost),不知道为什么你程序大部分都能正常发包而只有小部分POC才会报错。

@ismilent
Copy link

ismilent commented Oct 5, 2022

controller.go中DoSingleRuleRequest函数有点问题,fixedFastReq.URI().Update(curPath)这里执行之后应该是丢掉了host头,我这里测试都是丢掉了然后报错no such host,需要手动fixedFastReq.URI().SetHost(curHost),不知道为什么你程序大部分都能正常发包而只有小部分POC才会报错。

大佬,解决了吗,我也遇到这个问题

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

No branches or pull requests

2 participants