mirror of
https://github.com/ChronosX88/medved.git
synced 2024-11-24 15:42:17 +00:00
20 lines
457 B
Smarty
20 lines
457 B
Smarty
|
|
#code{{data['response']['code']}}
|
|
server = self._host['data']['response']['headers'].get('Server', None)
|
|
{% if server != none %}
|
|
|
|
|
|
" Server: #%s\n" % server
|
|
|
|
else:
|
|
|
|
"\n"
|
|
|
|
if self._host['data']['title']:
|
|
|
|
"Title: %s\n" % self._host['data']['title']
|
|
|
|
"Geo: %s/%s\n" % (self._host['data']['geo']['country'], self._host['data']['geo']['city'])
|
|
"http://%s:%s/\n" % (self._host['ip'], self._host['port'])
|
|
"#http_" + str(int(netaddr.IPAddress(self._host['ip'])))
|