Skip to content

tool that captures user prompts by replicating the chat-bot LLMs

License

Notifications You must be signed in to change notification settings

DakshGajjar/llama-phish

Repository files navigation

Introduction

A tool that replicates the behaviour of a chat-based Large Language Model (LLM) like ChatGPT. It uses phishing-like tactics to deceive users into interacting with a fake AI Chatbot interface to capture user prompts while giving them actual output as well.

Functionality

This tool is designed to mimic the conversational capabilities of AI Chatbot LLMs, making it difficult for users to distinguish it from genuine AI. While engaging in conversations, the tool captures and displays user prompts which may contain sensitive data.

It achieves this by:

  • Real-time Data Collection: The tool captures user inputs and responses in real-time, allowing it to build a comprehensive user profile.
  • Seamless Conversation: The tool ensures that the conversation with the user appears normal, providing responses that are indistinguishable from those generated by products like ChatGPT or Gemini.

Installation

To install this repo run

  pip install -r requirements.txt 

llama-API-token can be obtained here - https://console.llama-api.com

Usage/Examples

To run type

  python3 main.py --llama-token <TOKEN_LLAMA_API> --name <NAME_FOR_AI>

Author

Screenshots


Flask Server Backend


Chat Interface front-end


Captured data in CSV file

Acknowledgements

Contributing

Contributions are always welcome!

License

MIT

About

tool that captures user prompts by replicating the chat-bot LLMs

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published