aiodirscan.py 366 B

1234567891011121314151617
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. """
  4. @Author: hywell
  5. @Email: hywell.28@gmail.com
  6. @Blog: iassas.com
  7. @Date: 2019/10/22 20:01
  8. """
  9. import aiohttp
  10. async def dirBrute(current_target):
  11. async with aiohttp.ClientSession() as session:
  12. async with session.get(current_target) as response:
  13. return [response.status, current_target, None]