Translated ['src/README.md', 'src/banners/hacktricks-training.md', 'src/

This commit is contained in:
Translator
2024-12-31 20:18:58 +00:00
parent 820dd99aed
commit 931ae54e5f
245 changed files with 9984 additions and 12710 deletions

View File

@@ -4,28 +4,27 @@
## Amazon MQ
### Introduction to Message Brokers
### Introduzione ai Broker di Messaggi
**Message brokers** serve as intermediaries, facilitating communication between different software systems, which may be built on varied platforms and programmed in different languages. **Amazon MQ** simplifies the deployment, operation, and maintenance of message brokers on AWS. It provides managed services for **Apache ActiveMQ** and **RabbitMQ**, ensuring seamless provisioning and automatic software version updates.
**I broker di messaggi** fungono da intermediari, facilitando la comunicazione tra diversi sistemi software, che possono essere costruiti su piattaforme varie e programmati in lingue diverse. **Amazon MQ** semplifica il deployment, l'operazione e la manutenzione dei broker di messaggi su AWS. Fornisce servizi gestiti per **Apache ActiveMQ** e **RabbitMQ**, garantendo un provisioning senza soluzione di continuità e aggiornamenti automatici delle versioni software.
### AWS - RabbitMQ
RabbitMQ is a prominent **message-queueing software**, also known as a _message broker_ or _queue manager_. It's fundamentally a system where queues are configured. Applications interface with these queues to **send and receive messages**. Messages in this context can carry a variety of information, ranging from commands to initiate processes on other applications (potentially on different servers) to simple text messages. The messages are held by the queue-manager software until they are retrieved and processed by a receiving application. AWS provides an easy-to-use solution for hosting and managing RabbitMQ servers.
RabbitMQ è un noto **software di gestione delle code di messaggi**, conosciuto anche come _broker di messaggi_ o _gestore di code_. Fondamentalmente è un sistema in cui le code sono configurate. Le applicazioni interagiscono con queste code per **inviare e ricevere messaggi**. I messaggi in questo contesto possono contenere una varietà di informazioni, che vanno da comandi per avviare processi su altre applicazioni (potenzialmente su server diversi) a semplici messaggi di testo. I messaggi sono trattenuti dal software del gestore di code fino a quando non vengono recuperati e elaborati da un'applicazione ricevente. AWS fornisce una soluzione facile da usare per ospitare e gestire i server RabbitMQ.
### AWS - ActiveMQ
Apache ActiveMQ® is a leading open-source, Java-based **message broker** known for its versatility. It supports multiple industry-standard protocols, offering extensive client compatibility across a wide array of languages and platforms. Users can:
Apache ActiveMQ® è un broker di messaggi open-source leader, basato su Java, noto per la sua versatilità. Supporta più protocolli standard del settore, offrendo ampia compatibilità con i client su una vasta gamma di lingue e piattaforme. Gli utenti possono:
- Connect with clients written in JavaScript, C, C++, Python, .Net, and more.
- Leverage the **AMQP** protocol to integrate applications from different platforms.
- Use **STOMP** over websockets for web application message exchanges.
- Manage IoT devices with **MQTT**.
- Maintain existing **JMS** infrastructure and extend its capabilities.
- Connettersi con client scritti in JavaScript, C, C++, Python, .Net e altro.
- Sfruttare il protocollo **AMQP** per integrare applicazioni provenienti da diverse piattaforme.
- Utilizzare **STOMP** su websockets per scambi di messaggi tra applicazioni web.
- Gestire dispositivi IoT con **MQTT**.
- Mantenere l'infrastruttura **JMS** esistente ed estenderne le capacità.
ActiveMQ's robustness and flexibility make it suitable for a multitude of messaging requirements.
## Enumeration
La robustezza e la flessibilità di ActiveMQ lo rendono adatto a una moltitudine di requisiti di messaggistica.
## Enumerazione
```bash
# List brokers
aws mq list-brokers
@@ -48,9 +47,8 @@ aws mq list-configurations
# Creacte Active MQ user
aws mq create-user --broker-id <value> --password <value> --username <value> --console-access
```
> [!WARNING]
> TODO: Indicate how to enumerate RabbitMQ and ActiveMQ internally and how to listen in all queues and send data (send PR if you know how to do this)
> TODO: Indica come enumerare RabbitMQ e ActiveMQ internamente e come ascoltare in tutte le code e inviare dati (invia PR se sai come farlo)
## Privesc
@@ -58,23 +56,19 @@ aws mq create-user --broker-id <value> --password <value> --username <value> --c
../aws-privilege-escalation/aws-mq-privesc.md
{{#endref}}
## Unauthenticated Access
## Accesso non autenticato
{{#ref}}
../aws-unauthenticated-enum-access/aws-mq-unauthenticated-enum.md
{{#endref}}
## Persistence
## Persistenza
If you know the credentials to access the RabbitMQ web console, you can create a new user qith admin privileges.
Se conosci le credenziali per accedere alla console web di RabbitMQ, puoi creare un nuovo utente con privilegi di amministratore.
## References
## Riferimenti
- [https://www.cloudamqp.com/blog/part1-rabbitmq-for-beginners-what-is-rabbitmq.html](https://www.cloudamqp.com/blog/part1-rabbitmq-for-beginners-what-is-rabbitmq.html)
- [https://activemq.apache.org/](https://activemq.apache.org/)
{{#include ../../../banners/hacktricks-training.md}}