Skip to content

A chatbot wrapper for the Android Debug Bridge to assist in Digital Forensics investigations

Notifications You must be signed in to change notification settings

jgordley/chat-adb

Repository files navigation

ADB Chat

ADB Chat is a LangChain Agent-based chat application that allows the user to execute Android Debug Bridge commands using a natural language chat interface.

ADB Chat Homepage

Research Paper: ADB Chat: A Chat-based Langchain Agent for Android Forensics

Installation

  1. Clone this repository locally and install the requirements using pip
➜ pip install -r requirements.txt
  1. Install the Android Debug Bridge here: Android Debug Bridge Download
    • At the bare minimum you need /platform_tools on your computer, here is the direct download page: Platform Tools

Usage

  1. Start up an adb server on your computer
➜ adb start-server

daemon not running; starting now at tcp:5037
daemon started successfully
  1. Start up the ADB Chat application
➜ streamlit run main.py

You can now view your Streamlit app in your browser.

Local URL: http://localhost:8501
Network URL: http://192.168.1.196:8501

  1. Enter your OpenAI API Key and output folder in the sidebar. Select a device and an OpenAI model to use.

Troubleshooting

➜ adb kill-server
➜ adb start-server
  • Make sure you are entering your OpenAI API Key correctly if you are seeing 400 forbidden errors

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

A chatbot wrapper for the Android Debug Bridge to assist in Digital Forensics investigations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages