MCPcopy Create free account
hub / github.com/client9/libinjection / get

Method get

misc/sqliserver.py:163–180  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

161
162class DaysSinceHandler(tornado.web.RequestHandler):
163 def get(self):
164 lastevasion = datetime.date(2013, 9, 12)
165 today = datetime.date.today()
166 daynum = (today - lastevasion).days
167 if daynum < 10:
168 days = "00" + str(daynum)
169 elif daynum < 100:
170 days = "0" + str(daynum)
171 else:
172 days = str(daynum)
173
174 self.render(
175 "days-since-last-bypass.html",
176 title='libinjection: Days Since Last Bypass',
177 days=days,
178 ssl_protocol=self.request.headers.get('X-SSL-Protocol', ''),
179 ssl_cipher=self.request.headers.get('X-SSL-Cipher', '')
180 )
181
182class NullHandler(tornado.web.RequestHandler):
183 def get(self):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected