INNER CODE UNIT · Python
replace
faiyazahmad07/xss_vibes · main.py:91
def replace(self,url,param_name,value):
return re.sub(f"{param_name}=([^&]+)",f"{param_name}={value}",url)
def bubble_sort(self, arr):
'''
For sorting the payloads
'''
#print(arr)
a = 0
keys = []
for i in arr:
for j in i:
keys.append(j)
#print(keys)
while a < len(keys) - 1:
b = 0
while b < len(keys) - 1:
d1 = arr[b]
#print(d1)