> For the complete documentation index, see [llms.txt](https://oklencodes.gitbook.io/untitled/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://oklencodes.gitbook.io/untitled/offensive-security/snort/traffic-generator.md).

# 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)
