Skip to content

Commit 2131859

Browse files
committed
Add version tracking to lib/core
1 parent ff32ce9 commit 2131859

File tree

4 files changed

+23
-16
lines changed

4 files changed

+23
-16
lines changed

.vs/slnx.sqlite

0 Bytes
Binary file not shown.

lib/core/__version__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '1.0'

nosqlmap.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/python
2+
# NoSQLMap Copyright 2012-2017 NoSQLMap Development team
3+
# See the file 'doc/COPYING' for copying permission
4+
5+
import sys
6+
from lib.core.__version__ import __version__
7+
8+
def print_banner():
9+
print("╔╗╔┌─┐╔═╗╔═╗ ╦ ╔╦╗┌─┐┌─┐")
10+
print("║║║│ │╚═╗║═╬╗║ ║║║├─┤├─┘")
11+
print("╝╚╝└─┘╚═╝╚═╝╚╩═╝╩ ╩┴ ┴┴ ")
12+
print(" Version %s www.nosqlmap.net" % __version__)
13+
print(" By @tcstool and @codingo_")
14+
15+
def main():
16+
print_banner()
17+
18+
19+
20+
21+
if __name__ == '__main__':
22+
main()

nosqlmapCLI.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)