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
| $prtguser = "apiuser" | |
| $prtghash = "123456" | |
| $match = "Auto-Discovery *" | |
| $actiontype = "close" # "close" or "resolve" | |
| $message = "auto close" | |
| $hostname = "prtg.yourdomain.com" | |
| $URI = "https://" + $hostname + "/api/table.json?content=tickets&columns=datetime,priority,parentid,message,user,status,name&filter_drel=&username=" + $prtguser + "&passhash=" + $prtghash | |
| $response = Invoke-WebRequest $URI | |
| $jsonObj = $([String]::new($response.Content)) | ConvertFrom-Json | select -expand tickets | select parentid,status_raw,message_raw | Where-Object {($_.message_raw -like $match) -and ($_.status_raw -EQ '1')} |
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
| Example infrastructure outage incident report | |
| Friday, May 13, 2077 | |
| By the Example Security Team | |
| Earlier this week we experienced an outage in our API infrastructure. Today we’re providing an incident report that details the nature of the outage and our response. | |
| The following is the incident report for the Example Security outage that occurred on April 30, 2077. We understand this service issue has impacted our valued developers and users, and we apologize to everyone who was affected. |
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
| 2500+ IP addresses dedicated to serving malware. | |
| 1.168.33.91 | |
| 103.12.217.155 | |
| 103.242.11.1 | |
| 103.242.11.94 | |
| 103.243.51.129 | |
| 103.253.141.43 | |
| 103.255.101.168 |
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
| 2500+ IP addresses dedicated to serving malware. | |
| 1.168.33.91 | |
| 103.12.217.155 | |
| 103.242.11.1 | |
| 103.242.11.94 | |
| 103.243.51.129 | |
| 103.253.141.43 | |
| 103.255.101.168 |
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
| #!/usr/bin/env bash | |
| # | |
| # Simple script to monitor a ipcam stream running on mpv | |
| # using the ipc-server | |
| # requires mpv, socat, and jq written for bash 4 | |
| # xwinwrap to run on the Desktop | |
| # by gmail plgroves 2019 | |
| # | |
| # script creates a kill script in same path as this script | |
| # named This_script-kill |
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
| <div class="player-wrapper"> | |
| <video id="player" class="player video-js vjs-default-skin vjs-big-play-centered" crossorigin="anonymous" preload="metadata" autoplay controls> | |
| <source poster="https://raw.githubusercontent.com/Pierrinho/elephant/master/elephant.jpg" src="https://raw.githubusercontent.com/Pierrinho/elephant/master/elephant.mp4"> | |
| </video> | |
| </div> |
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
| #!/usr/bin/php -f | |
| <?php | |
| error_reporting(~E_WARNING); | |
| //Create a UDP socket | |
| if(!($sock = socket_create(AF_INET, SOCK_DGRAM, 0))) { | |
| $errorcode = socket_last_error(); | |
| $errormsg = socket_strerror($errorcode); | |
| die("Couldn't create socket: [$errorcode] $errormsg \n"); | |
| } | |
| echo "Socket created \n"; |
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
| <div class="header"> | |
| <!--Content before waves--> | |
| <div class="inner-header flex"> | |
| <form class="login"> | |
| <img src="https://tscencompass.com/wp-content/uploads/tsc-hc-encompass.png"> | |
| <input type="text" placeholder="Username"> | |
| <input type="password" placeholder="Password"> |
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
| <!--Hey! This is the original version | |
| of Simple CSS Waves--> | |
| <div class="header"> | |
| <!--Content before waves--> | |
| <div class="inner-header flex"> | |
| <!--Just the logo.. Don't mind this--> | |
| <svg version="1.1" class="logo" baseProfile="tiny" id="Layer_1" xmlns="http://www.w3.org/2000/svg" | |
| xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 500 500" xml:space="preserve"> |
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
| <form class="login"> | |
| <input type="text" placeholder="Username"> | |
| <input type="password" placeholder="Password"> | |
| <button>Login</button> | |
| </form> |