Fix: bug using output option
This commit is contained in:
parent
89e1b2b7f1
commit
76eb594566
|
@ -15,9 +15,6 @@ except:
|
||||||
print('\033[91m[!] Missing requirements. Try running python3 -m pip install -r requirements.txt')
|
print('\033[91m[!] Missing requirements. Try running python3 -m pip install -r requirements.txt')
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
# Reset text color at exit
|
|
||||||
atexit.register(lambda: print(Style.RESET_ALL))
|
|
||||||
|
|
||||||
def banner():
|
def banner():
|
||||||
print(" ___ _ _____ __ ")
|
print(" ___ _ _____ __ ")
|
||||||
print(" / _ \ |__ ___ _ __ ___ \_ \_ __ / _| ___ __ _ __ _ ")
|
print(" / _ \ |__ ___ _ __ ___ \_ \_ __ / _| ___ __ _ __ _ ")
|
||||||
|
@ -60,6 +57,13 @@ parser.add_argument('-u', '--update', action='store_true',
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
def resetColors():
|
||||||
|
if not args.output:
|
||||||
|
print(Style.RESET_ALL)
|
||||||
|
|
||||||
|
# Reset text color at exit
|
||||||
|
atexit.register(resetColors)
|
||||||
|
|
||||||
# If any param is passed, execute help command
|
# If any param is passed, execute help command
|
||||||
if not len(sys.argv) > 1:
|
if not len(sys.argv) > 1:
|
||||||
parser.print_help()
|
parser.print_help()
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
___ _ _____ __
|
||||||
|
/ _ \ |__ ___ _ __ ___ \_ \_ __ / _| ___ __ _ __ _
|
||||||
|
/ /_)/ '_ \ / _ \| '_ \ / _ \ / /\/ '_ \| |_ / _ \ / _` |/ _` |
|
||||||
|
/ ___/| | | | (_) | | | | __/\/ /_ | | | | _| (_) | (_| | (_| |
|
||||||
|
\/ |_| |_|\___/|_| |_|\___\____/ |_| |_|_| \___/ \__, |\__,_|
|
||||||
|
|___/
|
||||||
|
PhoneInfoga Ver. v1.0.0-rc2
|
||||||
|
Coded by Sundowndev
|
||||||
|
|
||||||
|
[0m
|
||||||
|
[!] ---- Fetching informations for 33651968838 ---- [!]
|
||||||
|
[*] Running local scan...
|
||||||
|
[+] International format: +33 6 51 96 88 38
|
||||||
|
[+] Local format: 0651968838
|
||||||
|
[+] Country code: +33
|
||||||
|
[+] Location: France
|
||||||
|
[+] Carrier:
|
||||||
|
[+] Area: France
|
||||||
|
[+] Timezone: Europe/Paris
|
||||||
|
[*] The number is valid and possible.
|
||||||
|
[*] Scan finished.
|
||||||
|
|
||||||
|
[0m
|
Loading…
Reference in New Issue