forked from p15670423/monkey
add a path for Bitnami installations of Drupal
This commit is contained in:
parent
ac731f5736
commit
8e14e74d94
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue