Get_vul_from_RSAS_Repo.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:SecTools 作者: Shad0wpf 项目源码 文件源码
def get_solution(self, tag):
        '''['????', '????', 'CVE??'] '''
        value = []
        tr_lst = tag.table.contents
        for i in tr_lst:
            if type(i) is NavigableString:
                continue
            if i.th.string in (u'????', u'????'):
                val = [i.strip() for i in i.td.strings]
                val = '\n'.join(val).replace('\n*', '*')
                value.append(val)
            elif i.th.string == u'CVE??':
                value.append(i.td.string)
        if len(value) == 2:
            value.append(None)
        return value
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号