summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksej Jocic <aleksej@spidermail.tk>2019-02-15 19:52:00 +0100
committerAleksej Jocic <aleksej@spidermail.tk>2019-02-15 19:52:00 +0100
commit0521e7b39ea30187f8f035e3bcd690084655c156 (patch)
treebcd42f1328c05ce2d499a9eae08dff2caabc98c8
parent55c8a70d30d273a0e5048652734552de6be336cc (diff)
shebang change,version updatev1.2.1
-rwxr-xr-xtmap6
1 files changed, 4 insertions, 2 deletions
diff --git a/tmap b/tmap
index a81a4cb..2fc0282 100755
--- a/tmap
+++ b/tmap
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
import sys
from socket import *
import socks
@@ -7,6 +7,8 @@ import time
from ipaddress import *
import threading
+VERSION='1.2.1'
+
## Receive first 80 bytes from port, return string of received data
def getBanner(host, port, wait, notor):
## Don't use Tor if private address
@@ -131,7 +133,7 @@ def main():
## Version argument
if args.version:
- print("Tmap 1.0.0")
+ print("Tmap " + VERSION)
print("License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>")
print("This is free software: you are free to change and redistribute it.")
print("There is NO WARRANTY, to the extent permitted by law.")