-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
143 additions
and
6 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"label": "Guides", | ||
"position": 3 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# Notifications | ||
|
||
## DNS | ||
|
||
- DNS listener runs on port 53. | ||
- You will receive notifications for any DNS queries of your payload's domain (e.g. `d14a68e4.sonar.test`) | ||
and for any queries of its subdomains (e.g. `test.d14a68e4.sonar.test`). | ||
- DNS interaction notification is a dig-like representation of the question and answer. | ||
|
||
![DNS notification example](../assets/dns_notification_dark.png#gh-dark-mode-only)![DNS notification example](../assets/dns_notification_light.png#gh-light-mode-only) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# Manage payloads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Quick start | ||
|
||
1. Open a chat with the Sonar bot in the configured messenger. | ||
2. Create a new payload with the command `/new <NAME>`. Use a meaningful name as it will be used in | ||
in interaction notifications. You will receive your unique domain name in the response. | ||
|
||
![Payload creation in Telegram](../assets/create_payload_dark.png#gh-dark-mode-only)![Payload creation in Telegram](../assets/create_payload_light.png#gh-light-mode-only) | ||
|
||
|
||
:::tip | ||
|
||
- `project_test` — payload's name | ||
- `d14a68e4.sonar.test` — payload's unique subdomain | ||
- `dns, ftp, http, smtp` — protocols for which notifications are enabled (by default all protocols are enabled) | ||
- `false` — shows if all interaction events are stored in database (disabled by default) | ||
|
||
::: | ||
|
||
3. You can now use your unique domain `d14a68e4.sonar.test` in any DNS/HTTP/SMTP/FTP interactions and | ||
you will receive notifications to the chat with the Sonar bot for all the interactions. | ||
Here is an example HTTP interaction notifications after execution of of the command `curl d14a68e4.sonar.test`: | ||
|
||
![Example HTTP notification](../assets/http_notification_dark.png#gh-dark-mode-only)![Example HTTP notification](../assets/http_notification_light.png#gh-light-mode-only) | ||
|
||
|
||
:::tip | ||
|
||
- `project_test` — payload's name (the same as was used in the `/new' command when the payload was created) | ||
- `HTTP` — protocol of the iteraction | ||
- `100.100.100.100:12345` — IP address and port from which the interaction occurred | ||
- `04 Aug 2024 at 19:58:50 BST` — date and time of the interaction | ||
- The interaction details: | ||
|
||
``` | ||
GET / HTTP/1.1 | ||
Host: d14a68e4.sonar.test | ||
User-Agent: curl/8.6.0 | ||
Accept: */* | ||
HTTP/1.1 200 OK | ||
Content-Type: text/html; charset=utf-8 | ||
Date: Sun, 04 Aug 2024 18:58:50 GMT | ||
Content-Length: 42 | ||
Connection: close | ||
<html><body>b991ee98230c58c0</body></html> | ||
``` | ||
In the case of HTTP/HTTPS, this is the interaction *request* and *response*. | ||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters