Skip to content

A simple Python health check, designed for active monitoring of CTF assets

License

Notifications You must be signed in to change notification settings

chriselgee/CTFUpChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTFUpChecker

A simple Python health check, designed for active monitoring of CTF assets

Setup

THIS WILL FAIL if you run it as-is. Setup is required.

  1. Determine what online assets you want to check, what command you'll use, and what expected output is
  2. Put entries into checks.json for each asset you're checking:
  • name should be something descriptive or meaningful to you
  • cmd is the command that Python will subprocess.check_output()
  • expect is a string that should come out of the cmd to STDOUT when the asset is healthy
  1. Ensure any PEM or other files needed for checks are in the working directory of rctfok.py

Running

python3 rctfok.py and watch for red output

  _____     _____ _______ ______    ____  _  _____  
 |  __ \   / ____|__   __|  ____|  / __ \| |/ /__ \ 
 | |__) | | |       | |  | |__    | |  | | ' /   ) |
 |  _  /  | |       | |  |  __|   | |  | |  <   / / 
 | | \ \  | |____   | |  | |      | |__| | . \ |_|  
 |_|  \_\  \_____|  |_|  |_|       \____/|_|\_\(_)  

About

A simple Python health check, designed for active monitoring of CTF assets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages