diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index feef1f5..739b9be 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,9 +3,13 @@
-
-
+
+
+
+
+
+
@@ -41,21 +45,20 @@
-
+
-
-
+
+
-
@@ -75,8 +78,8 @@
-
-
+
+
@@ -85,8 +88,8 @@
-
-
+
+
@@ -147,7 +150,6 @@
-
@@ -157,12 +159,13 @@
-
+
+
@@ -699,7 +702,13 @@
1455759358999
-
+
+ 1455790319854
+
+
+ 1455790319854
+
+
@@ -744,7 +753,8 @@
-
+
+
@@ -1199,14 +1209,6 @@
-
-
-
-
-
-
-
-
@@ -1233,9 +1235,7 @@
-
-
-
+
@@ -1276,9 +1276,7 @@
-
-
-
+
@@ -1290,17 +1288,6 @@
-
-
-
-
-
-
-
-
-
-
-
@@ -1341,25 +1328,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
diff --git a/enteletaor_lib/modules/redis/redis_clients.py b/enteletaor_lib/modules/redis/redis_clients.py
index bed8009..9985e39 100644
--- a/enteletaor_lib/modules/redis/redis_clients.py
+++ b/enteletaor_lib/modules/redis/redis_clients.py
@@ -12,7 +12,7 @@ def action_redis_server_connected(config):
"""
Dump all redis information
"""
- log.warning("Trying to connect with redis server...")
+ log.warning(" - Trying to connect with redis server...")
# Connection with redis
con = redis.StrictRedis(host=config.target, port=config.port, db=config.db)
diff --git a/enteletaor_lib/modules/redis/redis_disconnect.py b/enteletaor_lib/modules/redis/redis_disconnect.py
index a38f952..58de945 100644
--- a/enteletaor_lib/modules/redis/redis_disconnect.py
+++ b/enteletaor_lib/modules/redis/redis_disconnect.py
@@ -12,7 +12,7 @@ def action_redis_server_disconnect(config):
"""
Disconnect one or more users from server
"""
- log.warning("Trying to connect with redis server...")
+ log.warning(" - Trying to connect with redis server...")
# Connection with redis
con = redis.StrictRedis(host=config.target, port=config.port, db=config.db)
diff --git a/enteletaor_lib/modules/redis/redis_discover_db.py b/enteletaor_lib/modules/redis/redis_discover_db.py
index 3b56273..59b5a18 100644
--- a/enteletaor_lib/modules/redis/redis_discover_db.py
+++ b/enteletaor_lib/modules/redis/redis_discover_db.py
@@ -12,7 +12,7 @@ def action_redis_discover_dbs(config):
"""
Dump all redis information
"""
- log.warning("Trying to connect with redis server...")
+ log.warning(" - Trying to connect with redis server...")
# Connection with redis
con = redis.StrictRedis(host=config.target, port=config.port, db=config.db)
diff --git a/enteletaor_lib/modules/redis/redis_dump.py b/enteletaor_lib/modules/redis/redis_dump.py
index 52ca2cb..d912e5f 100644
--- a/enteletaor_lib/modules/redis/redis_dump.py
+++ b/enteletaor_lib/modules/redis/redis_dump.py
@@ -34,7 +34,7 @@ def action_redis_dump(config):
"""
Dump all redis information
"""
- log.error("Trying to connect with redis server...")
+ log.warning(" - Trying to connect with redis server...")
# Connection with redis
con = redis.StrictRedis(host=config.target, port=config.port, db=config.db)
diff --git a/enteletaor_lib/modules/redis/redis_info.py b/enteletaor_lib/modules/redis/redis_info.py
index 23d5896..26ea0be 100644
--- a/enteletaor_lib/modules/redis/redis_info.py
+++ b/enteletaor_lib/modules/redis/redis_info.py
@@ -12,7 +12,7 @@ def action_redis_server_info(config):
"""
Dump all redis information
"""
- log.warning("Trying to connect with redis server...")
+ log.warning(" - Trying to connect with redis server...")
# Connection with redis
con = redis.StrictRedis(host=config.target, port=config.port, db=config.db)
diff --git a/enteletaor_lib/modules/redis/redis_poison.py b/enteletaor_lib/modules/redis/redis_poison.py
index b331af8..66799e3 100644
--- a/enteletaor_lib/modules/redis/redis_poison.py
+++ b/enteletaor_lib/modules/redis/redis_poison.py
@@ -117,7 +117,7 @@ def action_redis_cache_poison(config):
"""
Dump all redis information
"""
- log.error("Trying to connect with redis server...")
+ log.warning(" - Trying to connect with redis server...")
# Connection with redis
con = redis.StrictRedis(host=config.target, port=config.port, db=config.db)
@@ -164,17 +164,20 @@ def action_redis_cache_poison(config):
try:
modified = handle_html(config, content)
except ValueError as e:
- log.error("Can't modify cache content: " % e)
+ log.error(" - Can't modify cache content: " % e)
continue
except IOError as e:
- log.error("Can't modify cache content: " % e)
+ log.error(" - Can't modify cache content: " % e)
# Injection was successful?
if modified is None:
- log.warning("Can't modify content: ensure that content is HTML")
+ log.warning(" - Can't modify content: ensure that content is HTML")
continue
# Set injection into server
con.setex(val, 200, modified)
+ log.error(" - Poisoned cache key '%s' at '%s'" % (val, config.target))
+ if not cache_keys:
+ log.error(" - No cache keys found in server: Can't poison remote cache.")
diff --git a/enteletaor_lib/modules/redis/redis_shell.py b/enteletaor_lib/modules/redis/redis_shell.py
index 3af03ea..0e64310 100644
--- a/enteletaor_lib/modules/redis/redis_shell.py
+++ b/enteletaor_lib/modules/redis/redis_shell.py
@@ -12,7 +12,7 @@ def action_redis_shell(config):
"""
Dump all redis information
"""
- log.warning("Trying to connect with redis server...")
+ log.warning(" - Trying to connect with redis server...")
# Connection with redis
con = redis.StrictRedis(host=config.target, port=config.port, db=config.db)