bing_sqli_scan.py 文件源码

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

项目:darkc0de-old-stuff 作者: tuwid 项目源码 文件源码
def bingSearch(query, index):
    global BING_URLS

    url = 'http://api.search.live.net/xml.aspx?Appid='+BING_APP_ID+'&query='\
          +urllib.quote(query)+'&sources=web&market=en-us&web.count=50&web.offset='+str(index)
    xml = minidom.parse(urllib2.urlopen(url))

    for node in xml.getElementsByTagName('web:Url'):
        BING_URLS.append(node.childNodes[0].data)

# Checks the urls for errors
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号