Embed Gist Example
This file contains hidden or 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
| { | |
| "version": "2", | |
| "templates": [ | |
| { | |
| "type": 1, | |
| "title": "Registry", | |
| "description": "Docker image registry", | |
| "categories": ["docker"], | |
| "platform": "linux", | |
| "logo": "https://portainer-io-assets.sfo2.digitaloceanspaces.com/logos/registry.png", |
This file contains hidden or 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
| { | |
| "version": "2", | |
| "templates": [ | |
| { | |
| "type": 1, | |
| "platform": "linux", | |
| "network": "redcloud_default", | |
| "title": "Metasploit - Nightly", | |
| "description": "Official bare Metasploit Alpine build. Includes beta features from dev branch.", | |
| "name": "red_msf-dev", |
This file contains hidden or 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
| window.onload = function() { | |
| var s = document.createElement('script'); | |
| s.type = 'text/javascript'; | |
| var code = 'alert("hello world!");'; | |
| try { | |
| s.appendChild(document.createTextNode(code)); | |
| document.body.appendChild(s); | |
| } catch (e) { | |
| s.text = code; | |
| document.body.appendChild(s); |
This file contains hidden or 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
| function Get-TablesFromWebRequest { | |
| param( | |
| [Parameter(Mandatory = $true)] | |
| [Microsoft.PowerShell.Commands.HtmlWebResponseObject] $WebRequest, | |
| [Parameter(Mandatory = $true)] | |
| [int] $TableNumber | |
| ) | |
| ## Extract the tables out of the web request |