repo.or.cz
/
Projects.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial Commit
[Projects.git]
/
website
/
web
/
handler.py
blob
7661a4b0c9326c9599c91d3f9c027588ec92f185
1
import
random
2
import
time
3
import
os
4
5
import
utils
6
import
convert
7
8
from
Cheetah
.
Template
import
Template
9
10
SCRIPTDIR
=
os
.
path
.
dirname
(
__file__
)
11
12
scans
= []
13
14
def
find
()
15
16
def
main
(
self
,
ip
,
request
):
17
search
=
request
18
search
.
append
(
ip
)
19
20
self
.
scans
[
1
][
find
(
scans
[
0
])]