Advertisement
Elmahdi03

MAMAM BABA

Dec 29th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. from bs4 import BeautifulSoup
  2. from requests import get
  3. from sys import argv
  4.  
  5. def GetHidden_Inputs(URL):
  6. try:
  7. content = get(URL).text
  8. soup = BeautifulSoup(content)
  9. inputs = soup.findAll('input')
  10. for inputs_ in inputs:
  11. if inputs_['type'] in ('hidden', 'text'):
  12. print(inputs_['name']+'="XSS<'+'&',sep=' ', end='', flush=True)
  13. except:
  14. pass
  15. GetHidden_Inputs(argv[1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement