forked from imjdl/SearchApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PoC_tpl.txt
46 lines (37 loc) · 819 Bytes
/
PoC_tpl.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urlparse
from pocsuite.api.poc import POCBase, register, Output
from pocsuite.api.request import req
class TestPOC(POCBase):
vulID = ''
version = ''
author = ''
vulDate = ''
createDate = ''
updateDate = ''
references = ['']
name = ''
appPowerLink = ''
appName = ''
appVersion = ''
vulType = ''
desc = '''
'''
samples = [
""
]
install_requires = ""
search_keyword = ""
def _verify(self):
pass
def _attack(self):
self._verify()
def parse_output(self, result):
output = Output(self)
if result:
output.success(result)
else:
output.fail('Internet nothing returned')
return output
register(TestPOC)