Skip to content

Instantly share code, notes, and snippets.

View schewara's full-sized avatar

Old Schepperhand schewara

  • Vienna
  • 05:27 (UTC +02:00)
View GitHub Profile
@schewara
schewara / gist:02b0e23dd56b5829a0a700d2e9a14d1a
Created December 3, 2019 18:22
kubernetes dns resolution test
working nslookup task
#### test.yaml ####
---
apiVersion: v1
kind: Service
metadata:
name: mywebserver
@schewara
schewara / revelation2keepassx.rb
Created April 30, 2014 23:01
Conversion from Revelation XML to KeePassX XML
#!/usr/bin/env ruby
# converter.rb - Convert Revelation XML output to KeepassX input
# Copyright (c) 2008 Maxim Burgerhout
# Author: Maxim Burgerhout <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
@schewara
schewara / gist:5668621
Last active May 21, 2018 18:48 — forked from louiszuckerman/gist:1346387
Logstash parser for ModSecurity/CRS entries in the Apache ErrorLog
Logstash Configuration...
input {
file {
format => "plain"
path => "/var/log/apache2/*error.log"
type => "apacheerror"
}
}
filter {