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

spoof_host not fully works #4

Open
jeky-- opened this issue Jun 20, 2016 · 0 comments
Open

spoof_host not fully works #4

jeky-- opened this issue Jun 20, 2016 · 0 comments

Comments

@jeky--
Copy link

jeky-- commented Jun 20, 2016

Hi, I'm experticing some problem because my Windows 10 installation is part of a domain with a dns prefix like contoso.corp.com. In this case wpad is "wpad.contoso.corp.com". The spoofing part is working perfectly, but when something try to get the configuration file (wpad.dat) the requested URL is http://wpad.contoso.corp.com/wpad.dat and not http://127.0.0.1/wpad.dat so Potato is not replying with a config file but with an empty file.
I guess that the problem is on line #136 of Program.cs
<<else if (request.Url.AbsoluteUri.ToString().Equals("http://127.0.0.1/wpad.dat") || request.Url.AbsoluteUri.ToString().Equals("http://wpad/wpad.dat"))>>
We sould probably add the case with the hostname given with -spoof_host !
At the moment I've tried to open the progect on my Vistual Studio 2005 but I'me having problems with Imports (c:\Microsotf.CSharp.targets not found).
I'll try to solve my problems, but I think that many people will enjoin an official fix!

Thank you so much for your beautifull work !
Paolo

@jeky-- jeky-- changed the title spoof_host not filly works spoof_host not fuilly works Jun 20, 2016
@jeky-- jeky-- changed the title spoof_host not fuilly works spoof_host not fully works Jun 20, 2016
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