Skip to content

Commit 6e4c33b

Browse files
authored
0.15-dev
Fix bugs Add ver
1 parent 2559316 commit 6e4c33b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

binpython.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#BINPython By:XINGYUJIE AGPL-V3.0 LECENSE Release
22
#Please follow the LICENSE
3-
3+
ver="0.15-dev"
44
#base import
55
import getopt
66
import sys
@@ -43,12 +43,12 @@
4343
print("[*] Help info")
4444
print("""
4545
-h --help View this help
46-
-f --file= Enter Python Filename and run
46+
-f --file Enter Python Filename and run
4747
-v --version View BINPython Version
4848
""")
4949
sys.exit()
5050
if opt_name in ('-v','--version'):
51-
print("BINPython By:XINGYUJIE[https://github.com/xingyujie/binpython] AGPL-3.0 LICENSE Release")
51+
print("BINPython " + ver + " By:XINGYUJIE[https://github.com/xingyujie/binpython] AGPL-3.0 LICENSE Release")
5252
print("Python " + platform.python_version())
5353
exit()
5454
if opt_name in ('-f','--file'):
@@ -59,7 +59,7 @@
5959
sys.exit()
6060
#main BINPython
6161

62-
print("BINPython 0.14 (Python Version:" + platform.python_version() + ")By:XINGYUJIE https://github.com/xingyujie/binpython[Running on " + platform.platform() + " " + platform.version() + "]")
62+
print("BINPython " + ver + " (Python Version:" + platform.python_version() + ")By:XINGYUJIE https://github.com/xingyujie/binpython[Running on " + platform.platform() + " " + platform.version() + "]")
6363
print('Type "about", "help", "copyright", "credits" or "license" for more information.')
6464
try:
6565
while True:

0 commit comments

Comments
 (0)