Skip to content

Instantly share code, notes, and snippets.

View mms-gianni's full-sized avatar
👋
Maintainer @kubero-dev

mms-gianni

👋
Maintainer @kubero-dev
View GitHub Profile
@mms-gianni
mms-gianni / check_gearman_workers.sh
Last active October 18, 2019 06:24
Icinga/Nagios Moniroting plugin for gearman
#!/bin/bash
# example: ./check_gearman_workers.sh gearman-1 some:task 13 10
HOST=$1
JOB=$2
WARN=$3
CRIT=$4
WORKERS_LEFT=$((echo status ; sleep 0.1) | netcat $HOST 4730 -q1 | grep $JOB | awk '{ print $4-$3-$2}')
#!/usr/bin/python
import argparse
import urllib2
import logging as log
import re
from multiprocessing import Process
import threading
@mms-gianni
mms-gianni / remote-web-arachni.nasl
Last active July 7, 2016 11:07
remote-web-wapiti.nasl maybe fixed... need a new gnupg key
##############################################################################
# OpenVAS Vulnerability Test
#
# Assess web security with arachni
#
# Authors:
# Michelangelo Sidagni <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2