Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaBouali committed Nov 27, 2023
1 parent 771dc36 commit 8c41032
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bane/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#coding: utf-8


__version__='5.1.4'
__version__='5.1.5'

__author__="Ala Bouali"

Expand Down
4 changes: 2 additions & 2 deletions bane/scanners/vulnerabilities/vulner_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def scan(
if basic_only==False:
return l
else:
return [{'title':x.get('title',''),'description':x.get('description',''),'href':x.get('href',''),'sourceHref':x.get('sourceHref',''),'published':x.get('published','')} for x in l]
return [{'title':x.get('title',''),'description':x.get('description',''),'href':x.get('href',''),'sourceHref':x.get('sourceHref',''),'published':x.get('published',''),'cvelist':x.get('cvelist',[''])[0],'score':x.get('cvss',{'score':"N/A"})['score'],'vector':x.get('cvss',{'vector':"N/A"})['vector']} for x in l]
else:
return []#{'error':"couldn't find vulnerabilities for this version"}
except Exception as ex:
Expand Down Expand Up @@ -168,7 +168,7 @@ def scan_cpe(
if basic_only==False:
return l
else:
return [{'title':x.get('title',''),'description':x.get('description',''),'href':x.get('href',''),'sourceHref':x.get('sourceHref',''),'published':x.get('published','')} for x in l]
return [{'title':x.get('title',''),'description':x.get('description',''),'href':x.get('href',''),'sourceHref':x.get('sourceHref',''),'published':x.get('published',''),'cvelist':x.get('cvelist',[''])[0],'score':x.get('cvss',{'score':"N/A"})['score'],'vector':x.get('cvss',{'vector':"N/A"})['vector']} for x in l]
else:
return []#{'error':"couldn't find vulnerabilities for this version"}
except:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

setuptools.setup(
name="bane",
version="5.1.4",
version="5.1.5",
author="AlaBouali",
author_email="[email protected]",
description='This Python library offers a comprehensive set of tools for various cybersecurity and networking tasks. Its functionalities encompass diverse capabilities such as bruteforce attacks, cryptographic methods, DDoS attacks, information gathering, botnet creation and management, CMS vulnerability scanning, network discovery, vulnerability scanning, useful modules for common tasks, web page analyzers, and proxy utilities making it a powerful toolkit for cybersecurity professionals and network administrators.',
Expand Down

0 comments on commit 8c41032

Please sign in to comment.