Add new features to Ghost Tracker tool#97
Open
krataratha wants to merge 1 commit intoHunxByts:mainfrom
Open
Conversation
Updated the Ghost Tracker tool with new features including website status checking, improved IP tracking, and enhanced phone number tracking.
There was a problem hiding this comment.
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_optiondecorator 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 anif __name__ == "__main__":entrypoint.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+223
to
+224
| if __name__ == "__main__": | ||
| main() |
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 on lines
+39
to
+41
| try: | ||
| req_api = requests.get(f"http://ipwho.is/{ip}") | ||
| ip_data = json.loads(req_api.text) |
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") |
|
|
||
| def main(): | ||
| while True: | ||
| clear() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated the Ghost Tracker tool with new features including website status checking, improved IP tracking, and enhanced phone number tracking.