# Pentest Muse Cli | AI Assistant Tailored For Cybersecurity Professionals

**URL:** <https://onehack.st/t/pentest-muse-cli-ai-assistant-tailored-for-cybersecurity-professionals/280607>\
**Category:** Tools & Scripts\
**Tags:** tools, hacking\
**Created:** [April 1, 2024, 10:54pm UTC](https://onehack.st/t/pentest-muse-cli-ai-assistant-tailored-for-cybersecurity-professionals/280607 "2024-04-01T22:54:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueHacker](https://onehack.st/user_avatar/onehack.st/bluehacker/32/174721_2.png) [@BlueHacker](https://onehack.st/u/BlueHacker)\
**Post date:** [April 1, 2024, 10:54pm UTC](https://onehack.st/t/pentest-muse-cli-ai-assistant-tailored-for-cybersecurity-professionals/280607/1 "2024-04-01T22:54:24Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/0/f/0f722f72960fd1c3a1c8e008f5b1166f7a97ec68.png)

# Pentest Muse

Pentest Muse is an AI assistant tailored for cybersecurity professionals. It can help penetration testers brainstorm ideas, write payloads, analyze code, and perform reconnaissance. It can also take actions, execute command line codes, and iteratively solve complex tasks.

## Pentest Muse Web App

In addition to this command-line tool, we are excited to introduce the [Pentest Muse Web Application](https://www.pentestmuse.ai/)! The web app has access to the latest online information, and would be a good AI assistant for your pentesting job.

## Disclaimer

This tool is intended for legal and ethical use only. It should only be used for authorized security testing and educational purposes. The developers assume no liability and are not responsible for any misuse or damage caused by this program.

## Requirements

- Python 3.12 or later
- Necessary Python packages as listed in `requirements.txt`

## Setup

### Standard Setup

1. Clone the repository:

```auto
git clone https://github.com/pentestmuse-ai/PentestMuse
cd PentestMuse

```

1. Install the required packages:

```auto
pip install -r requirements.txt

```

### Alternative Setup (Package Installation)

Install Pentest Muse as a Python Package:

```auto
pip install .

```

## Running the Application

### Chat Mode (Default)

In the chat mode, you can chat with pentest muse and ask it to help you brainstorm ideas, write payloads, and analyze code. Run the application with:

```auto
python run_app.py

```

or

```auto
pmuse

```

### Agent Mode (Experimental)

You can also give Pentest Muse more control by asking it to take actions for you with the agent mode. In this mode, Pentest Muse can help you finish a simple task (e.g., ‘help me do sql injection test on url xxx’). To start the program with agent model, you can use:

```auto
python run_app.py agent

```

or

```auto
pmuse agent

```

## Selection of Language Models

### Managed APIs

You can use Pentest Muse with our managed APIs after signing up at [www.pentestmuse.ai/signup](http://www.pentestmuse.ai/signup). After creating an account, you can simply start the pentest muse cli, and the program will prompt you to login.

### OpenAI API keys

Alternatively, you can also choose to use your own OpenAI API keys. To do this, you can simply add argument `--openai-api-key=[your openai api key]` when starting the program.

## Contact

For any feedback or suggestions regarding Pentest Muse, feel free to reach out to us at [contact@pentestmuse.ai](mailto:contact@pentestmuse.ai) or [join our discord](https://discord.gg/5cY35u99Nr). Your input is invaluable in helping us improve and evolve.

## GitHub:

> **[GitHub - AbstractEngine/pentest-muse-cli](https://github.com/AbstractEngine/pentest-muse-cli)**
>
> Contribute to AbstractEngine/pentest-muse-cli development by creating an account on GitHub.
