Files
oscp/Necronomicon/Attacks/Dev Software & Databases/Elastic.md
T
2025-11-21 17:17:42 +01:00

6 lines
277 B
Markdown

- Get a list of indices
- `curl "<IP>:9200/_cat/indices?v"`
- Extract last bit of data from given index
- `curl "<IP>:9200/<index_name>>/_search?pretty&size=4"`
- Search for keywords in index
- `curl "<IP>:9200/<index_name>/_search?pretty&size=12&q=message:<search_string>"`