From 8087f7d2ef5d7877f0ba9d28040dd7177edd3984 Mon Sep 17 00:00:00 2001 From: edoardottt Date: Sat, 19 Jun 2021 18:38:45 +0200 Subject: [PATCH] update ext and endpoints --- scanner/endpoints.go | 12 ++++-------- scanner/extensions.go | 6 ++++++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/scanner/endpoints.go b/scanner/endpoints.go index d14f962..ac7d33e 100644 --- a/scanner/endpoints.go +++ b/scanner/endpoints.go @@ -38,24 +38,20 @@ func GetJuicyParameters() []string { "key", "token", "secret", - "secretid", "user-id", "user_id", "userid", - "secret-id", - "secret_id", - "auth-id", - "auth_id", + "auth", "admin", - "adminid", - "admin-id", "dashboard", "manage", "debug", - "admin_id", + "dbg", "uid", "exec", "cmd", + "root", + "shell", } return juicyParameters } diff --git a/scanner/extensions.go b/scanner/extensions.go index 20f5b7d..ff488f1 100644 --- a/scanner/extensions.go +++ b/scanner/extensions.go @@ -53,15 +53,21 @@ func GetExtensions() []FileType { {"dat", 1}, {"db", 1}, {"sql", 1}, + {"pwd", 1}, + {"passwd", 1}, + {"gitignore", 1}, {"properties", 2}, {"dtd", 2}, {"conf", 2}, + {"cfg", 2}, {"config", 2}, {"configs", 2}, {"sh", 3}, {"py", 3}, {"txt", 3}, {"xml", 3}, + {"java", 3}, + {"go", 3}, {"yml", 3}, {"yaml", 3}, {"toml", 3},