Skip to content

Commit

Permalink
Update phone.py
Browse files Browse the repository at this point in the history
  • Loading branch information
evilfeonix authored Jan 10, 2025
1 parent b16ec08 commit d9be068
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions phone.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import os, sys, time, argparse
import os, sys, time, socket, argparse


# Versoin: 2.0.2
Expand Down Expand Up @@ -60,10 +60,9 @@ def F30N1X():


try:import requests, opencage, countryinfo, phonenumbers

except ModuleNotFoundError:
load(f"\n{red}[!] Ops! Sorry," )
slow(f'{info}Look Like This Script Is Missing Some Requirment. ')
slow(f'{info}Look Like This Script Is Missing Some Requirment.{red}')
slow('===========================================================')
slow(f' {green}Run: {purple}bash installer.sh{red} ')
slow('===========================================================')
Expand All @@ -76,7 +75,7 @@ def F30N1X():

def internet():
try:
s = socket(AF_NET, SOCK_STREAM)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect_ex(("www.google.com",80))
return True
except Exception:return False
Expand All @@ -92,7 +91,7 @@ def aboutus():
slow(f'\t{info}Author {blue}:>>{purple} evilfeonix')
slow(f'\t{info}Github {blue}:>>{purple} Evil {red}FeoniX')
slow(f'\t{info}Youtube {blue}:>>{purple} Evil {red}FeoniX')
slow(f'\t{info}Latest Update {blue}:>>{purple} 30-12-2024')
slow(f'\t{info}Latest Update {blue}:>>{purple} 30-01-2025')
slow(f'\t{info}Website {blue}:>>{purple} www.evilfeonix.com{red}')
slow("===========================================================")

Expand Down Expand Up @@ -325,8 +324,8 @@ def main():
update = argument.update_script
about = argument.about_tool

# if not internet():
if internet():
# if internet():
if not internet():
slow(f"\n{error}Please Check Your Internet Connection{stop}\n")
os.sys.exit()

Expand Down

0 comments on commit d9be068

Please sign in to comment.