Skip to content

Commit 4736720

Browse files
committed
updates to jenkins ccli ampersand file read
1 parent 064a2f3 commit 4736720

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/gather/jenkins_cli_ampersand_arbitrary_file_read.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def parameter_one
149149
"\x03\x00\x00\x01\x31\x00\x00\x00"
150150
end
151151

152-
def data_generator(pad = false)
152+
def data_generator(pad: false)
153153
data = []
154154
data << request_header
155155
data << parameter_one if pad == true
@@ -162,7 +162,7 @@ def data_generator(pad = false)
162162
data.join('')
163163
end
164164

165-
def upload_request(uuid, multi_line_file = true)
165+
def upload_request(uuid, multi_line_file: true)
166166
# send upload request asking for file
167167

168168
# In testing against Docker image on localhost, .01 seems to be the magic to get the download request to hit very slightly ahead of the upload request

0 commit comments

Comments
 (0)