feat: add OpenCanary honeypot documentation and management scripts
This commit is contained in:
@@ -56,3 +56,4 @@ flowchart LR
|
||||
`/etc/systemd/system/opencanary-watcher.service` (Tails log file and delivers push alerts).
|
||||
* **Docker Container:**
|
||||
`opencanary` (Managed via Docker with `restart: unless-stopped` on network `opencanary_net`).
|
||||
|
||||
|
||||
@@ -12,3 +12,4 @@ stdin, stdout, stderr = c.exec_command("docker service logs --tail 10 gotify_got
|
||||
print(stdout.read().decode())
|
||||
|
||||
c.close()
|
||||
|
||||
|
||||
@@ -12,3 +12,4 @@ stdin, stdout, stderr = c.exec_command('sqlite3 /var/lib/docker/volumes/gotify_g
|
||||
print("Recent messages in Gotify:\n", stdout.read().decode())
|
||||
|
||||
c.close()
|
||||
|
||||
|
||||
@@ -27,3 +27,4 @@ err = stderr.read().decode()
|
||||
if err: print("Stderr:", err)
|
||||
|
||||
c.close()
|
||||
|
||||
|
||||
@@ -34,3 +34,4 @@ c.exec_command("systemctl restart opencanary-watcher.service")
|
||||
print("Restarted watcher service")
|
||||
|
||||
c.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user