Skip to content

Instantly share code, notes, and snippets.

@MHaggis
Created September 13, 2023 15:46
Show Gist options
  • Save MHaggis/224ab9db0bdb3186a5b7f255b85245c6 to your computer and use it in GitHub Desktop.
Save MHaggis/224ab9db0bdb3186a5b7f255b85245c6 to your computer and use it in GitHub Desktop.
Mockbin Atomic Test with Headless browsing
- name: Headless Browser Accessing Mockbin
description: |
The following Atomic Red Team test leverages the Chrome headless browser to access a mockbin site. Create your own Mockbin.org site and replace the BIN in the inputs.
supported_platforms:
- windows
input_arguments:
bin_id:
description: Mockbin.org BIN ID
type: string
default: f6b9a876-a826-4ac0-83b8-639d6ad516ec
browser:
description: Browser to use (msedge, chrome, firefox)
type: string
default: chrome
executor:
command: |
start "" #{browser} --headless --disable-gpu https://mockbin.org/bin/#{bin_id}
cleanup_command: |
taskkill /im #{browser} /f
name: command_prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment