# Traffic Generator

The machine is offline, but there is a script (**traffic-generator.sh**) for me to generate traffic to snort interface. I will use this script to trigger traffic to the snort interface. Once I run the script, it will ask you to choose the exercise type and then automatically open another terminal to show me the output of the selected action.

Running the **"traffic generator.sh"** file by executing it as sudo.&#x20;

![](https://2022164620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtzurpgroDJSMn9AFVmQP%2Fuploads%2FgMwdnUU1i1JrFtEkFlfz%2Fimage2.PNG?alt=media\&token=1dbef835-8172-4485-ac9a-67d2f6624d56)

![Following the command](https://2022164620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtzurpgroDJSMn9AFVmQP%2Fuploads%2F6ixiQZWvqa5pnuoiUzgt%2Fimage%203.PNG?alt=media\&token=cc64726d-07fb-4fd7-b119-20670f8c963a)


---

# 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://oklencodes.gitbook.io/untitled/offensive-security/snort/traffic-generator.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.
