PyNesca/modules/network_scan/URLScanner.py

11 lines
261 B
Python
Raw Normal View History

from core.prototypes.AbstractScanner import AbstractScanner
import requests
class URLScanner(AbstractScanner):
def __init__(self, timeout):
pass
def scan_address(self, url:"url") -> {"response"}:
return {'response':requests.get(url)}