Skip to content

Instantly share code, notes, and snippets.

View SagaieNet's full-sized avatar

Sagaie SagaieNet

  • Sagaie.Net
  • Aix en Provence
  • 04:01 (UTC +02:00)
View GitHub Profile
@SagaieNet
SagaieNet / cve_test.sh
Created May 5, 2026 07:21
Sagaie - Script de vérification rapide CVE-2026-31431 (Copy Fail)
#!/bin/bash
# Script de vérification rapide CVE-2026-31431 (Copy Fail)
# Auteur: Oliver - Sagaie IT
# Usage: ./cve-2026-31431-check.sh [host1 host2 ...]
set -e
# Couleurs pour l'affichage
RED='\033[0;31m'
GREEN='\033[0;32m'
@zbalkan
zbalkan / sysmonconfig.xml
Last active March 14, 2026 13:50
Sysmon configuration by @SwiftOnSecurity, fine-tuned for Wazuh usage.
<!--
Since Wazuh File Integrity Monitoring (FIM) overlaps with some sysmon capabilities, it is better to fine-tune Sysmon configuration.
Another aspect would be to diable Wazuh FIM and rely on Sysmon. That is not covered here.
-->
<!--
sysmon-config | A Sysmon configuration focused on default high-quality event tracing and easy customization by the community
Source version: 74 | Date: 2021-07-08
Source project: https://github.com/SwiftOnSecurity/sysmon-config
Source license: Creative Commons Attribution 4.0 | You may privatize, fork, edit, teach, publish, or deploy for commercial use - with attribution in the text.
@otoolep
otoolep / influxdb-grafana-howto.sh
Last active May 5, 2026 07:20
Shell script to download, and configure, InfluxDB, nginx, and Grafana
#!/bin/bash
# Check out the blog post at:
#
# http://www.philipotoole.com/influxdb-and-grafana-howto
#
# for full details on how to use this script.
AWS_EC2_HOSTNAME_URL=http://169.254.169.254/latest/meta-data/public-hostname
INFLUXDB_DATABASE=test1
@mikesmullin
mikesmullin / watch.sh
Last active May 2, 2026 19:44
watch is a linux bash script to monitor file modification recursively and execute bash commands as changes occur
#!/usr/bin/env bash
# script: watch
# author: Mike Smullin <mike@smullindesign.com>
# license: GPLv3
# description:
# watches the given path for changes
# and executes a given command when changes occur
# usage:
# watch <path> <cmd...>
#