Python Script

Filter Parameters to XSS
#!/usr/bin/python3

import os
base_url = 'echo "{}" | kxss'
with open('bc.txt', mode='r') as file:
	while line := file.readline():
		command = base_url.format(line.rstrip())
		print(command)
		print(os.popen(command).read())
		print("********************************************")
		print('\n\n')

Last updated