Skip to content

Commit 034e0b6

Browse files
committed
Land rapid7#2111, variable assignment fix
2 parents 54af292 + 73fd14a commit 034e0b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/phpldapadmin_query_engine.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def exploit
114114
data = "cmd=query_engine&query=none&search=1&orderby=#{php_code}\r\n\r\n"
115115
session = get_session
116116

117-
uri normalize_uri(datastore['URI'])
117+
uri = normalize_uri(datastore['URI'])
118118
uri << '/' if uri[-1,1] != '/'
119119
uri << 'cmd.php'
120120

0 commit comments

Comments
 (0)