(text:str)
| 21 | |
| 22 | |
| 23 | def select_web_poc(text:str) ->str: |
| 24 | web_poc_list = re.findall(r'(http.*?) (poc-.*)', text) |
| 25 | if web_poc_list == []: |
| 26 | return 'POC 检测漏洞结果为空' |
| 27 | |
| 28 | web_poc_list = [('{url} {poc}').format(url=line[0],poc=line[1]) for line in web_poc_list] |
| 29 | return '[+] ' + '\n[+] '.join(web_poc_list) |
| 30 | |
| 31 | |
| 32 |
no outgoing calls
no test coverage detected