Skip to content

phishing-hunter/intelgpt

Repository files navigation

IntelGPT

IntelGPT is a command line tool that allows you to examine specific input such as URLs, file hashes, domain names, and IP addresses using GPT3.

GPT-3, or Generative Pre-trained Transformer 3, is a language generation model developed by OpenAI. One of the key features of GPT-3 is its ability to generate human-like text. This makes it suitable for a variety of natural language processing tasks.

asciicast

Usage

To build the IntelGPT tool, run the following command:

docker-compose build

To use the IntelGPT tools, you need to set up your API keys for OpenAI, Google Custom Search, and Shodan in a .env file. You can do this by following these steps:

  1. Copy the env.template file to create a new .env file.
cp env.template .env
  1. Open the .env file in a text editor and enter your API keys.
vim .env
  1. Input your OpenAI API Key to OPENAI_API_KEY
OPENAI_API_KEY=xxxxxxxxxxxxxxxxxxx
  1. Input your Google Custom Search ID to GOOGLE_CSE_ID and Google Custom Search API Key to GOOGLE_API_KEY
GOOGLE_CSE_ID=xxxxxxxxxxxxxxxxxxx
GOOGLE_API_KEY=xxxxxxxxxxxxxxxxxxx
  1. Input your Shodan API Key to SHODAN_API_KEY
SHODAN_API_KEY=xxxxxxxxxxxxxxxxxxx

To run the tool, use the following command:

docker-compose run intelgpt [OPTIONS] INPUT_VALUE

Please make sure to keep your API keys private and never share them with anyone.

Options

  • --url: Investigate the given URL. Example: docker-compose run intelgpt --url http://example.com
  • --hash: Investigate the given file hash. Example: docker-compose run intelgpt --hash fafe11f23567080fb14cfd3b51cb440b9c097804569402d720fd32dd66059830
  • --domain: Investigate the given domain name. Example: docker-compose run intelgpt --domain example.com
  • --ip: Investigate the given IP address. Example: docker-compose run intelgpt --ip 192.168.1.1
  • --lang: Output the result in the specified language. Example: docker-compose run intelgpt --url http://example.com --lang english

You can also use the help option to see the usage instructions for the tool:

docker-compose run intelgpt --help
docker-compose run intelgpt --hash fafe11f23567080fb14cfd3b51cb440b9c097804569402d720fd32dd66059830 --lang english

References

About

IntelGPT is a command line tool that allows you to examine specific input such as URLs, file hashes, domain names, and IP addresses using GPT3.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published