MCPcopy
hub / github.com/Xyntax/POC-T / queryHttpRecord

Function queryHttpRecord

plugin/cloudeye.py:73–77  ·  view source on GitHub ↗
(domain, delay=2)

Source from the content-addressed store, hash-verified

71
72
73def queryHttpRecord(domain, delay=2):
74 time.sleep(delay)
75 domain = domain.replace(uniq_domain + '.dnslog.info', '').rstrip('.')
76 api_base = 'http://cloudeye.me/api/{key}/{domain}/ApacheLog/'.format(key=key, domain=domain)
77 return requests.post(api_base).content

Callers

nothing calls this directly

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected