Skip to content

Commit

Permalink
v2.6 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xnl-h4ck3r committed Dec 11, 2023
1 parent 9566761 commit 541af9a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

- v2.6

- Changed

- Changes to prevent `SyntaxWarning: invalid escape sequence` errors when Python 3.12 is used.

- v2.5

- Changed
Expand Down
2 changes: 1 addition & 1 deletion knoxnl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__="2.5"
__version__="2.6"
21 changes: 6 additions & 15 deletions knoxnl/knoxnl.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@
API_URL = ''
API_KEY = ''

# Define colours
class tc:
NORMAL = '\x1b[39m'
RED = '\x1b[31m'
GREEN = '\x1b[32m'
YELLOW = '\x1b[33m'
MAGENTA = '\x1b[35m'
CYAN = '\x1b[36m'

# Object for an KNOXSS API response
class knoxss:
Code = ''
Expand All @@ -57,12 +48,12 @@ class knoxss:

def showBanner():
print()
print(tc.NORMAL+" _ "+tc.RED+"_ ___ "+tc.YELLOW+"__"+tc.CYAN+" _")
print(tc.NORMAL+"| | ___ __ "+tc.RED+"V"+tc.NORMAL+"_"+tc.RED+"V\ \ "+tc.YELLOW+"/ /"+tc.GREEN+"_ __"+tc.CYAN+" | | ")
print(tc.NORMAL+"| |/ / '_ \ / _ \\"+tc.RED+"\ \\"+tc.YELLOW+"/ /"+tc.GREEN+"| '_ \\"+tc.CYAN+"| | ")
print(tc.NORMAL+"| <| | | | (_) "+tc.RED+"/ /"+tc.YELLOW+"\ \\"+tc.GREEN+"| | | |"+tc.CYAN+" | ")
print(tc.NORMAL+"|_|\_\_| |_|\___"+tc.RED+"/_/ "+tc.YELLOW+"\_\\"+tc.GREEN+"_| |_|"+tc.CYAN+"_| ")
print(tc.MAGENTA+" by @Xnl-h4ck3r "+tc.NORMAL)
print(" _ "+colored("_ ___ ","red")+colored("__","yellow")+colored(" _","cyan"))
print("| | ___ __ "+colored("V","red")+"_"+colored(r"V\ \ ","red")+colored("/ /","yellow")+colored("_ __","green")+colored(" | | ","cyan"))
print(r"| |/ / '_ \ / _ \ "[:-1]+colored(r"\ \ "[:-1],"red")+colored("/ /","yellow")+colored(r"| '_ \ "[:-1],"green")+colored("| | ","cyan"))
print("| <| | | | (_) "+colored("/ /","red")+colored(r"\ \ "[:-1],"yellow")+colored("| | | |","green")+colored(" | ","cyan"))
print(r"|_|\_\_| |_|\___"+colored("/_/ ","red")+colored(r"\_\ "[:-1],"yellow")+colored("_| |_|","green")+colored("_| ","cyan"))
print(colored(" by @Xnl-h4ck3r ","magenta"))
print()

# Functions used when printing messages dependant on verbose options
Expand Down

0 comments on commit 541af9a

Please sign in to comment.