add a path for Bitnami installations of Drupal

This commit is contained in:
ophirharpazg 2020-09-01 15:20:22 +03:00
parent ac731f5736
commit 8e14e74d94
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@ class DrupalExploiter(WebRCE):
:return: the Drupal exploit config
"""
exploit_config = super(DrupalExploiter, self).get_exploit_config()
exploit_config['url_extensions'] = ['node/']
exploit_config['url_extensions'] = ['node/', # In Linux, no path is added
'drupal/node/'] # However, Bitnami installations are under /drupal
return exploit_config
def add_vulnerable_urls(self, potential_urls, stop_checking=False):