Skip to content

Commit 6bf385e

Browse files
committed
Removed dublicate logging bug
1 parent a836c9b commit 6bf385e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ def check
138138
end
139139

140140
def execute_command(cmd, _opts = {})
141-
print_status('Uploading malicious payload...')
142-
143141
cmd = Rex::Text.uri_encode(cmd, 'hex-all')
144142
query = [
145143
'hid_javascript=1',
@@ -166,8 +164,9 @@ def execute_command(cmd, _opts = {})
166164
end
167165

168166
def exploit
169-
@linemax = 450
167+
print_status('Uploading malicious payload...')
170168

169+
@linemax = 450
171170
case target['Type']
172171
when :windows_dropper, :nix_dropper
173172
execute_cmdstager(linemax: @linemax)

0 commit comments

Comments
 (0)