-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphantomrecon.py
More file actions
82 lines (62 loc) · 2.52 KB
/
phantomrecon.py
File metadata and controls
82 lines (62 loc) · 2.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/usr/bin/env python3
"""
PhantomRecon - Mobile Pentest & OSINT Framework
A comprehensive reconnaissance and information gathering toolkit.
Author: @p0is0n3r404
Version: 1.0.0
"""
import sys
import os
# Add project root to path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from core.banner import show_banner, show_menu, console, print_error, print_info
def main():
"""Main entry point for PhantomRecon."""
while True:
try:
show_banner()
show_menu()
choice = console.input(
" [bold cyan]┌──([/bold cyan][bold yellow]PhantomRecon[/bold yellow][bold cyan])─[Module]\n"
" └──▶ [/bold cyan]"
).strip()
if choice == "01" or choice == "1":
from modules import phone_lookup
phone_lookup.run()
elif choice == "02" or choice == "2":
from modules import ip_lookup
ip_lookup.run()
elif choice == "03" or choice == "3":
from modules import email_osint
email_osint.run()
elif choice == "04" or choice == "4":
from modules import username_search
username_search.run()
elif choice == "05" or choice == "5":
from modules import whois_lookup
whois_lookup.run()
elif choice == "06" or choice == "6":
from modules import subdomain_finder
subdomain_finder.run()
elif choice == "07" or choice == "7":
from modules import port_scanner
port_scanner.run()
elif choice == "08" or choice == "8":
from modules import exif_extractor
exif_extractor.run()
elif choice == "00" or choice == "0" or choice.lower() == "exit":
console.print("\n [bold cyan]👻 PhantomRecon shutting down... See you in the shadows![/bold cyan]\n")
sys.exit(0)
else:
print_error("Invalid selection! Please enter 01-08 or 00.")
from core.utils import pause
pause()
except KeyboardInterrupt:
console.print("\n\n [bold cyan]👻 PhantomRecon shutting down... See you in the shadows![/bold cyan]\n")
sys.exit(0)
except Exception as e:
print_error(f"Unexpected error: {e}")
from core.utils import pause
pause()
if __name__ == "__main__":
main()