summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-08-13 21:28:50 +0200
committertv <tv@shackspace.de>2014-08-13 21:28:50 +0200
commit2406eb62c12707b929a2c0790630f84542953310 (patch)
tree21ce33e4ffa090111dabb70ae114378ee1be8f85 /retiolum
parent5e6b03e977129cbfe841c5f4624aa52abeda5c5f (diff)
parent1489d8ec99a73627ed71c7e37aad09eae9ab4e5a (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'retiolum')
-rw-r--r--retiolum/hosts/TriBot11
-rw-r--r--retiolum/scripts/github_listener/github-listener.service15
2 files changed, 26 insertions, 0 deletions
diff --git a/retiolum/hosts/TriBot b/retiolum/hosts/TriBot
new file mode 100644
index 00000000..821046f5
--- /dev/null
+++ b/retiolum/hosts/TriBot
@@ -0,0 +1,11 @@
+Subnet = 10.243.117.163
+Subnet = 42:ff05:504f:f27a:3534:9be1:4343:5e95
+
+-----BEGIN RSA PUBLIC KEY-----
+MIIBCgKCAQEAz8pZtvSqDEKo/8IHt71GzWa2oTqZPUv2kRoipUXbJGv3eWpkbd4n
+OpaLuY7MjUveZ39m830t5RAkgB9iChU5wurszgfLrxJ15uibJe+yFJl9O6kuYJr1
+69s12F/v/pPno5eWuXWJ+CdMW8srZB1I/ZIL1/GaptuDoMxu7uBnDbL/NJrpPBSr
+JxCJGHET8jh2++B3cqsBWNGkQjQTM8NwwAup6HQjBrbOQYOAQbcOTMmalc/9JFfO
+LUz63LrCPk5pIeLi+876IdAJBuJsVWwmTbl/D9R6D34Z8bYHIv9mDmO/omckcxX2
+JJgEq5/xlLb2gHt/qfUunbYHIstp/s2bSwIDAQAB
+-----END RSA PUBLIC KEY-----
diff --git a/retiolum/scripts/github_listener/github-listener.service b/retiolum/scripts/github_listener/github-listener.service
new file mode 100644
index 00000000..70e2676a
--- /dev/null
+++ b/retiolum/scripts/github_listener/github-listener.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=github_listener
+After=network.target
+
+[Service]
+ExecStart=/bin/nc -lvv -p 5432 -c "./handle_request /opt/github_listener/retiolum/hosts /var/www/euer.krebsco.de/retiolum/"
+User=tinc
+WorkingDirectory=/krebs/retiolum/scripts/github_listener/
+[Install]
+WantedBy=multi-user.target
+
+# program:github_listener]
+#command=nc -lvv -p 5432 -c "./handle_request /opt/github_listener/retiolum/hosts /var/www/euer.krebsco.de/retiolum/"
+#user=tinc
+#directory=/krebs/retiolum/scripts/github_listener/