It sounds like you could borrow the technique used by Fiddler: implement a
proxy and configure system browsers to use the proxy (this seems easier on
Windows, which has a system-wide proxy configuration). This would require
generating and installing certificates to the system trust store so that
you can effectively perform a man-in-the-middle attack.

On Fri, Oct 7, 2016, 05:33 <djaafrina...@gmail.com> wrote:

> I'm trying to make a GoLang program, that logs every outgoing http/https
> request when it runs on the computer, for example, when it's running it on
> my computer, when I open a browser and openhttp://example.com, it logs
> it. An appreciated extra would be a way to redirect some unwanted website
> requests (like a parental control)
>
> I've been trying and looking all around and it seems that all the examples
> out there consider the computer where the Go exe is running as a server..
> That's not what I want
>
> Thank you very much
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Jonathan Yu / *@jawnsy* on LinkedIn <https://linkedin.com/in/jawnsy>,
Twitter <https://twitter.com/jawnsy>, GitHub <https://github.com/jawnsy>,
Facebook <https://facebook.com/jawnsy>

*“Ever tried. Ever failed. No matter. Try again. Fail again. Fail better.”* —
Samuel Beckett, Worstward Ho (1983)

“In an adaptive environment, winning comes from adapting to change by
continuously experimenting and identifying new options more quickly and
economically than others. The classical strategist's mantra of sustainable
competitive advantage becomes one of serial temporary advantage.” — Navigating
the Dozens of Different Strategy Options
<https://hbr.org/2015/06/navigating-the-dozens-of-different-strategy-options>
 (HBR)

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to