Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from bs4 import BeautifulSoup
- from requests import get
- from sys import argv
- def GetHidden_Inputs(URL):
- try:
- content = get(URL).text
- soup = BeautifulSoup(content)
- inputs = soup.findAll('input')
- for inputs_ in inputs:
- if inputs_['type'] in ('hidden', 'text'):
- print(inputs_['name']+'="XSS<'+'&',sep=' ', end='', flush=True)
- except:
- pass
- GetHidden_Inputs(argv[1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement