diff --git a/src/core/main.py b/src/core/main.py index eb577e6a85..a04aaae587 100644 --- a/src/core/main.py +++ b/src/core/main.py @@ -513,9 +513,7 @@ def main(filename, url, http_request_method): requests.application_identification(url) # Specifies the technology supporting the web application requests.technology_detection(response) - if response.info()[settings.X_POWERED_BY] : - server_banner = response.info()[settings.X_POWERED_BY] - elif response.info()[settings.SERVER] : + if response.info()[settings.SERVER] : server_banner = response.info()[settings.SERVER] # Procedure for target server's operating system identification. requests.check_target_os(server_banner) diff --git a/src/utils/settings.py b/src/utils/settings.py index 88b6c7fb5d..79663583f9 100755 --- a/src/utils/settings.py +++ b/src/utils/settings.py @@ -247,7 +247,7 @@ def sys_argv_errors(): DESCRIPTION = "The command injection exploiter" AUTHOR = "Anastasios Stasinopoulos" VERSION_NUM = "4.0" -REVISION = "46" +REVISION = "47" STABLE_RELEASE = False VERSION = "v" if STABLE_RELEASE: