Skip to main content

Hack_IP

CLI Tool to gather System Information, IP Address, and device location.

Explore the docs »

View Demo . Report Bug . Request Feature

Test Cases Downloads GitHub Contributors Github Issues GitHub Last Commit Repo Size GitHub Pull Requests Github License Test Cases

Table Of Contents

About The Project

HackIP is an innovative system information and network analysis tool that combines the power of system diagnostics with advanced natural language processing capabilities provided by GPT. HackIP fetches detailed system information, scans for open network ports, identifies public IP addresses, and leverages GPT to provide insightful analysis and interaction with the gathered data.

Features

HackIP comes with a multitude of features:

  • System Information Gathering: Retrieves comprehensive details about your system's hardware and software configuration.
  • Network Port Scanning: Efficiently scans and reports open network ports, providing crucial information for network security analysis.
  • Public IP Geolocation: Identifies the geolocation of your public IP address, offering valuable context for network traffic analysis.
  • GPT-Enabled Data Interaction: Uses the latest GPT models to interpret, analyze, and interact with the collected data, offering a user-friendly interface and actionable insights.

Getting Started

To install HackIP, follow these steps:

Prerequisites

  1. Python >=3.9
  2. OpenAI Key
  3. Cuttly API key (optional)

Installation

With pip:

pip install hack-ip

Next, run:

hackip

Usage

You can run the HackIp using the following command:

hackip run [OPTIONS]

Each option for the hackip run command is detailed below:

  • --details: Enables advanced detailed scanning using Nmap. This option is suitable for comprehensive network scanning.
  • --chat: Activates a chat interface for interactive communication with the tool.
  • --no_fetch: If set, the tool will chat without fetching system information. Ideal for chat-only interactions.
  • --cuttly_api_key: Specify your Cuttly URL shortener API key with this option, necessary for URL shortening features.
  • --openai_key: Your OpenAI API key. This is required for functionalities that utilize OpenAI services, such as chat response generation.

Example Usage

Run HackIp with Advanced Scanning and Chat:

hackip run --details --chat --cuttly_api_key YOUR_CUTTLY_API_KEY --openai_key YOUR_OPENAI_API_KEY

Run HackIp with Chat Feature Only:

hackip run --chat --openai_key YOUR_OPENAI_API_KEY

Note: Replace YOUR_CUTTLY_API_KEY and YOUR_OPENAI_API_KEY with your actual API keys.

Star History

Star History Chart

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
  • Please make sure you check your spelling and grammar.
  • Create individual PR for each suggestion.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/<feature>)
  3. Commit your Changes (git commit -m 'Add some <feature>')
  4. Push to the Branch (git push origin feature/<feature>)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Subhomoy Roy Choudhury - SDE at Fynd - Github - Linkedin - Twitter

Project Link: https://github.com/subhomoy-roy-choudhury/Hack_IP

Acknowledgements

Metadata

Release files for hack-ip 2.9.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hack-ip 2.9.6
File Size Uploaded
hack_ip-2.9.6.tar.gz 13.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for hack-ip 2.9.6
File Interpreter ABI Platform
hack_ip-2.9.6-py3-none-any.whl Python 3 none any Details

Total release size: 26.7 MB

Release files / hack_ip-2.9.6.tar.gz

Download URL hack_ip-2.9.6.tar.gz
Size 13.3 MB
Tags Source
SHA-256 checksum
How to use checksums
c08be667c5af3bcb2cd56597e34bec38f394103ed8a96d8269869ea3775bd68b
BLAKE2b-256 checksum
How to use checksums
8edab41daaf4ca9f100f884df3944a50688c7f967e663efb9e58486149163ef4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1019-azure

Release files / hack_ip-2.9.6-py3-none-any.whl

Download URL hack_ip-2.9.6-py3-none-any.whl
Size 13.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
508b1727fb23189e39f821073fbda5681bca05ca30c0c4967e0ec902ada89470
BLAKE2b-256 checksum
How to use checksums
5846910dc3b1188cc507573fc74bbd1e8e07cad6af1b2db3edb157424357e366
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1019-azure

Release history Release notifications | RSS feed

This release

2.9.6 This release

2 release files

2.9.5

2 release files

2.9.4

2 release files

2.9.3

2 release files

2.9.2

2 release files

2.9.1

2 release files

2.9.0

2 release files

2.8.0

2 release files

2.7.0

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page