This file contains 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/python | |
# -*- coding: utf-8 -*- | |
# set expandtab ts=4 sw=4 ai | |
import os, sys | |
import time | |
import random | |
import string | |
import prowlpy | |
from twisted.python import log |
This file contains 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
" Install me | |
" git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle | |
" wget -O ~/.vimrc https://raw.github.com/crashdump/tasty-debian/master/files/vim/vimrc | |
" vim +BundleInstall +qall | |
set nocompatible | |
filetype off | |
syntax on |
This file contains 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
#include <unistd.h> | |
#include <X11/X.h> | |
#include <X11/Xlib.h> | |
#include <strings.h> | |
#include <memory.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
/* | |
* 2013/10/09. Adrien Pujol. |
This file contains 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/python | |
# -*- coding: utf-8 -*- | |
import time, socket, sys, argparse | |
from multiprocessing.pool import ThreadPool | |
DNSRBL_LIST='/etc/zabbix/externalscripts/check-dnsrbl.txt' | |
result_list = [] | |
def reverse_host(host, separator='.'): |
This file contains 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/perl | |
use strict; | |
use XML::Simple; | |
use WWW::Curl::Easy; | |
my $WOEID = 12215; # Yahoo! "Where On Earth Identifier" for Bedford, UK | |
my $ZABBIX_SENDER = "/usr/bin/zabbix_sender"; | |
my $ZABBIX_SERVER = "172.24.1.36"; |
This file contains 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
.include /usr/local/etc/exim/macros.conf | |
hide pgsql_servers = PGSQL_SERVERS | |
#primary_hostname = | |
domainlist local_domains = @ : localhost : localhost.localdomain | |
domainlist relay_sql_domains = RELAY_SQL_DOMAINS | |
domainlist relay_sql_smtp_domains = SMTP_SQL_DOMAINS | |
domainlist relay_sql_lmtp_domains = LMTP_SQL_DOMAINS | |
domainlist ldap_domains = LDAP_DOMAINS | |
domainlist smtp_callback_domains = SMTP_CALLBACK_DOMAINS | |
domainlist whitelisted_domains = WHITELISTED_DOMAINS |
This file contains 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
# This is a configuration for Logstash acting like that: | |
# | |
## INPUT | |
# - Syslog server listening on (custom >1024 as we don't run it as root) UDP/10514 | |
# - GELF event listening on (default) UDP/12201 | |
# | |
## FILTERING | |
# - Nothing here yet | |
# | |
## OUTPUT |
This file contains 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
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: logstash-server | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start daemon at boot time | |
# Description: Enable service provided by daemon. |
NewerOlder