

def fuzz_url(self, callbacks, request_byte_array, requestInfo):
    if requestInfo:
        request_headers = requestInfo.getHeaders()
        t0 = request_headers[0].split(' ')
        t1 = request_headers[1].split(': ')
        directory = webcommon.extract_directory(self, callbacks, t0[1])
        if (directory not in unique_list_of_urls):
            unique_list_of_urls.append(directory)
            request_string = self._helpers.bytesToString(request_byte_array)
            t2 = request_string.split('\n')
            t3 = t2[0].split(' ')
            callbacks[1] = (directory + '/dummy')
            t4 = ' '.join(t3)
            t2[0] = t4
            request_string = '\n'.join(t2)
            request_byte_array = self._helpers.stringToBytes(request_string)
            callbacks.sendToIntruder(t1[1], 443, 1, request_byte_array, [jarray.array([(request_string.find('/dummy') + 1), request_string.find(' HTTP/1.1')], 'i')])

dataset/ETHPy150Open arvinddoraiswamy/mywebappscripts/BurpExtensions/common_dir_search.py BurpExtender.fuzz_url/VarMisuse@118/165 `t3`->`callbacks`