Skip to content

Add new features to Ghost Tracker tool#97

Open
krataratha wants to merge 1 commit intoHunxByts:mainfrom
krataratha:patch-1
Open

Add new features to Ghost Tracker tool#97
krataratha wants to merge 1 commit intoHunxByts:mainfrom
krataratha:patch-1

Conversation

@krataratha
Copy link
Copy Markdown

Updated the Ghost Tracker tool with new features including website status checking, improved IP tracking, and enhanced phone number tracking.

Updated the Ghost Tracker tool with new features including website status checking, improved IP tracking, and enhanced phone number tracking.
Copilot AI review requested due to automatic review settings April 29, 2026 11:15
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Ghost Tracker CLI script by adding new menu-driven features for IP lookups, phone number info, username checks, and a new website status checker.

Changes:

  • Added a new menu/options system with an @is_option decorator to render the banner before running actions.
  • Added new features: “Show Your IP” and “Website Status Checker”, and rewrote IP/phone/username tracking flows.
  • Added a main() loop with an if __name__ == "__main__": entrypoint.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread GhostTR.py
Comment on lines +223 to +224
if __name__ == "__main__":
main()
Comment thread GhostTR.py
Comment on lines +151 to +157
options = [
{'num': 1, 'text': 'IP Tracker', 'func': IP_Track},
{'num': 2, 'text': 'Show Your IP', 'func': showIP},
{'num': 3, 'text': 'Phone Number Tracker', 'func': phoneGW},
{'num': 4, 'text': 'Username Tracker', 'func': TrackLu},
{'num': 5, 'text': 'Website Status Checker', 'func': websiteChecker},
{'num': 0, 'text': 'Exit', 'func': exit}
Comment thread GhostTR.py
Comment on lines +39 to +41
try:
req_api = requests.get(f"http://ipwho.is/{ip}")
ip_data = json.loads(req_api.text)
Comment thread GhostTR.py
Comment on lines +39 to +58
try:
req_api = requests.get(f"http://ipwho.is/{ip}")
ip_data = json.loads(req_api.text)

print(f' {Wh}============= {Gr}SHOW INFORMATION IP ADDRESS {Wh}=============')
print(f"{Wh}\n IP target :{Gr} {ip}")
print(f"{Wh} Type IP :{Gr} {ip_data['type']}")
print(f"{Wh} Country :{Gr} {ip_data['country']}")
print(f"{Wh} Country Code :{Gr} {ip_data['country_code']}")
print(f"{Wh} City :{Gr} {ip_data['city']}")
print(f"{Wh} Region :{Gr} {ip_data['region']}")
print(f"{Wh} Latitude :{Gr} {ip_data['latitude']}")
print(f"{Wh} Longitude :{Gr} {ip_data['longitude']}")
print(f"{Wh} ISP :{Gr} {ip_data['connection']['isp']}")
print(f"{Wh} Domain :{Gr} {ip_data['connection']['domain']}")
print(f"{Wh} Timezone :{Gr} {ip_data['timezone']['id']}")
print(f"{Wh} Current Time :{Gr} {ip_data['timezone']['current_time']}")

except:
print(f"{Re}Failed to fetch IP data")
Comment thread GhostTR.py

def main():
while True:
clear()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants