small terminal utility to fetch the current DEFCON level in your terminal
Find a file
2025-10-17 23:37:05 +05:00
.vscode fix file handle bug and add .gitignore 2025-10-16 17:51:14 +05:00
src v2.1, add preprocessor flags for protection, small output changes, remove debug stuff 2025-10-17 23:22:14 +05:00
.gitignore remove cached file, add to .gitignore 2025-10-17 23:37:05 +05:00
LICENSE Initial commit 2024-10-02 19:21:41 +00:00
main.c v2.1, add preprocessor flags for protection, small output changes, remove debug stuff 2025-10-17 23:22:14 +05:00
README.md updoot readme 2024-10-02 19:32:24 +00:00

defcon_chan

small utility to fetch the current DEFCON level in your terminal

features:

  • caching the last known level
  • 8-color ANSI terminals supported
  • pretty cute output
  • quite fast, you can probably slap it in your .bashrc
  • written in C

requirements: libcurl

compiling(w/ GCC): gcc main.c -o defcon -lcurl

running: ./defcon