diff --git a/modules/exploits/multi/http/apache_rocketmq_update_config.rb b/modules/exploits/multi/http/apache_rocketmq_update_config.rb index 7b735b64bc527..fd01864249b79 100644 --- a/modules/exploits/multi/http/apache_rocketmq_update_config.rb +++ b/modules/exploits/multi/http/apache_rocketmq_update_config.rb @@ -116,7 +116,7 @@ def on_new_session(session) print_good("Determined the original $ROCKETMQ_HOME: #{pwd}") print_status('Re-running the exploit in order to reset the proper $ROCKETMQ_HOME value') - execute_command(working_dir, { broker_port: @broker_port }) + execute_command(pwd, { broker_port: @broker_port }) end def exploit