mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-02 19:07:46 +00:00
fix typos
This commit is contained in:
@@ -36,7 +36,7 @@ func (dbobj dbcon) createUserRecord(parsedData userJSON, event *auditEvent) (str
|
||||
md5Hash := md5.Sum([]byte(encodedStr))
|
||||
bdoc["md5"] = base64.StdEncoding.EncodeToString(md5Hash[:])
|
||||
bdoc["token"] = userTOKEN
|
||||
// the index search field is hashed here, to be not-reversable
|
||||
// the index search field is hashed here, to be not-reversible
|
||||
// I use original md5(master_key) as a kind of salt here,
|
||||
// so no additional configuration field is needed here.
|
||||
if len(parsedData.loginIdx) > 0 {
|
||||
|
||||
@@ -35,7 +35,7 @@ var (
|
||||
// 2. GDPR stands for data minimalization.
|
||||
// 3. Do not store what you actually do not NEED.
|
||||
/*
|
||||
var interestingHeaders = []string{"x-forwarded", "x-forwarded-for", "x-comming-from", "via",
|
||||
var interestingHeaders = []string{"x-forwarded", "x-forwarded-for", "x-coming-from", "via",
|
||||
"forwarded-for", "forwarded", "client-ip", "user-agent", "cookie", "referer"}
|
||||
|
||||
func getMeta(r *http.Request) string {
|
||||
|
||||
Reference in New Issue
Block a user