Skip to content

Instantly share code, notes, and snippets.

@tech-zombie
Created January 9, 2019 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tech-zombie/5b89317ad6ef626c295e458c5a0bebf9 to your computer and use it in GitHub Desktop.
Save tech-zombie/5b89317ad6ef626c295e458c5a0bebf9 to your computer and use it in GitHub Desktop.
Quick and stupid traffic generator, will show chrome on site so you can see how it deals with traffic, has a hard dependency on chrome.
Function connect-towebsite
{
Param($siteURL)
cd "C:\Program Files (x86)\Google\Chrome\Application\"
for ($i=0; $i -lt 100; $i++)
{
.\chrome.exe -incognito $siteURL
start-sleep 5
get-process "*chrome*" | Stop-Process
start-sleep 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment