# sqli influxql

**influxDB** (written in Go) is an open source **time-series database** that is *used for storage and retrieval of time series data*.

## Connect

InfluxDB supports both **password and JWT based authentication**. JWT is an authentication method that is based on a **"shared secret"**, which is known to both parties. If an external party knows the **"secret"**, it can create valid tokens and authenticate with them.

## influxql commands

```bash
# list all dbs
SHOW DATABASES;
USE db;

# list all users
SHOW USERS;

# list measurements
SHOW MEASUREMENTS;

# read value from a measurement_var
SELECT * from "MEASUREMENT_VAR";

# list series
SHOW SERIES;

# list tag keys
SHOW TAG KEYS;
```

* [gist.github.com/tomazursic/6cc217e2644c619ceceefb8ce824925b](https://gist.github.com/tomazursic/6cc217e2644c619ceceefb8ce824925b)
* [songrgg.github.io/influxdb-command-cheatsheet/](https://songrgg.github.io/operation/influxdb-command-cheatsheet/)

## References

* [komodosec.com/when-all-else-fails-find-a-0-day](https://www.komodosec.com/post/when-all-else-fails-find-a-0-day)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kashz.gitbook.io/kashz-jewels/cheatsheet/sqli-influxql.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
