From 3f7818a1b4b89262999c33c4048e086d9425202d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Let?= Date: Mon, 27 Apr 2020 23:37:38 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75c8e3f..99d7c4c 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ In order to be able to develop a good history tool I will need to get some insig This project is also my Master thesis so I need to be a bit scientific and base my design decisions on evidence/data. Running `reshctl sanitize` creates a sanitized version of recorded history. -In sanitized history, all sensitive information is replaced with its SHA1 hashes. +In sanitized history, all sensitive information is replaced with its SHA256 hashes. If you tried sanitizing your history and you think the result is not sanitized enough then please create an issue or message me. From 1ee488be054ff3f7d6cde1930b50e169625eb0fe Mon Sep 17 00:00:00 2001 From: Simon Let Date: Mon, 27 Apr 2020 23:57:58 +0200 Subject: [PATCH 2/2] only listen on localhost --- cmd/daemon/run-server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/daemon/run-server.go b/cmd/daemon/run-server.go index 370b662..1dba979 100644 --- a/cmd/daemon/run-server.go +++ b/cmd/daemon/run-server.go @@ -64,7 +64,7 @@ func runServer(config cfg.Config, reshHistoryPath, bashHistoryPath, zshHistoryPa mux.Handle("/inspect", &inspectHandler{sesshistDispatch: sesshistDispatch}) mux.Handle("/dump", &dumpHandler{histfileBox: histfileBox}) - server := &http.Server{Addr: ":" + strconv.Itoa(config.Port), Handler: mux} + server := &http.Server{Addr: "localhost:" + strconv.Itoa(config.Port), Handler: mux} go server.ListenAndServe() // signalhandler - takes over the main goroutine so when signal handler exists the whole program exits