Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit af7203e

Browse files
committed
Fixed tests
1 parent 06970ee commit af7203e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wpxf/core/payload.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def enqueue_command(cmd)
126126
private
127127

128128
def raw_payload_with_random_var_names
129-
payload = "#{php_preamble} #{raw}"
129+
payload = "#{php_preamble} #{raw}".dup
130130
vars = generate_vars(obfuscated_variables)
131131
obfuscated_variables.each { |v| payload.gsub!("$#{v}", "$#{vars[v]}") }
132132
payload

0 commit comments

Comments
 (0)