Skip to content

Commit 7d2fa9e

Browse files
committed
Delete unnecessary to_s
1 parent 8fdea5f commit 7d2fa9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/freebsd/misc/citrix_netscaler_soap_bof.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def initialize(info={})
7777
def check
7878
res = send_request_cgi({
7979
'method' => 'GET',
80-
'uri' => normalize_uri(target_uri.path.to_s)
80+
'uri' => normalize_uri(target_uri.path)
8181
})
8282

8383
if res && res.code == 200 && res.body && res.body =~ /Server Request Handler.*No body received/m
@@ -135,7 +135,7 @@ def send_request_soap
135135

136136
send_request_cgi({
137137
'method' => 'POST',
138-
'uri' => normalize_uri(target_uri.path.to_s),
138+
'uri' => normalize_uri(target_uri.path),
139139
'data' => soap
140140
}, 1)
141141
end

0 commit comments

Comments
 (0)