Skip to content

Commit

Permalink
Update portProbe.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aashishsec authored Jan 29, 2024
1 parent 06ba5b1 commit 25cd7ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions portProbe/portProbe.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def checking_vesion():

version = "v1.0.2"

url = f"https://api.github.com/repos/aashishsec/httpAlive/releases/latest"
url = f"https://api.github.com/repos/aashishsec/portProbe/releases/latest"

try:

Expand All @@ -85,20 +85,20 @@ def checking_vesion():

message = "latest"

print(f"[{blue}Version{reset}]: {bold}{white}httpAlive current version {version} ({green}{message}{reset})")
print(f"[{blue}Version{reset}]: {bold}{white}portProbe current version {version} ({green}{message}{reset})")

t.sleep(1)

else:

message ="outdated"

print(f"[{blue}Version{reset}]: {bold}{white}httpAlive current version {version} ({red}{message}{reset})")
print(f"[{blue}Version{reset}]: {bold}{white}portProbe current version {version} ({red}{message}{reset})")


except KeyboardInterrupt as e:

print(f"[{blue}INFO{random_color}]: httpAlive says BYE!")
print(f"[{blue}INFO{random_color}]: portProbe says BYE!")

exit()

Expand Down

0 comments on commit 25cd7ed

Please sign in to comment.