INNER CODE UNIT · Python
write
faiyazahmad07/xss_vibes · main.py:83
def write(self, output, value):
'''
Writes the output back to the given filename.
'''
if not output:
return None
subprocess.call(f"echo '{value}' >> {output}",shell=True)
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: