This file contains hidden or 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
import os | |
from cStringIO import StringIO | |
try: | |
import xml.etree.cElementTree as Xml | |
except ImportError: | |
import xml.etree.ElementTree as Xml | |
from PySide import QtGui # noqa | |
from PySide.QtCore import QFile | |
from PySide.QtUiTools import QUiLoader |
This file contains hidden or 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/env php | |
<?php | |
// get command line arguments | |
$args = $argv; | |
// AbuseIPDB API Key | |
$api_key = 'YOUR_API_KEY'; | |
// your AbuseIPDB User ID |
This file contains hidden or 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 | |
# This file was written as an executable to be used in the auto report function | |
# of csf and lfd. By replacing $YOUR_API_KEY below with your abuseipdb api key, | |
# allows you to use this code to integrate your csf system with abuseipdb.com | |
use strict; | |
use warnings; | |
use HTTP::Tiny; | |
use JSON; | |
# Gather the information from the commandline passed by lfd |
This file contains hidden or 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 -w | |
# example hook script for vzdump (--script option) | |
use strict; | |
print "HOOK: " . join (' ', @ARGV) . "\n"; | |
my $phase = shift; |
NewerOlder