FAQ
Hello,

As a small project to teach myself about LD_PRELOAD, linking and cgo, I
wrote a shared library in Go that hooks into a libc function and starts a
TCP server accepting arbitrary commands sent to it client such as telnet or
netcat:

https://github.com/mattbostock/go-ldpreload-backdoor

It was fun to write so hopefully someone else can learn from it. It also
uses GO15VENDOREXPERIMENT.

Thanks,
Matt

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedAug 26, '15 at 7:40p
activeAug 26, '15 at 7:40p
posts1
users1
websitegolang.org

1 user in discussion

Matt Bostock: 1 post

People

Translate

site design / logo © 2021 Grokbase