Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #fingerprint the firmware of a Netgear WNDR3700v4
- #this requires no authentication
- from bowcaster.clients.http import HttpClient
- def fingerprint_wndr3700_version(target,port=80):
- client=HttpClient()
- url="http://%s:%d/currentsetting.htm" % (target,port)
- resp=client.send(url)
- lines=resp.split()
- fingerprint={}
- for line in lines:
- (k,v)=line.strip().split("=")
- fingerprint[k]=v
- return fingerprint
Advertisement
Add Comment
Please, Sign In to add comment