Skip to content

Instantly share code, notes, and snippets.

View binzram's full-sized avatar
🎯
Focusing

Nomar Znip binzram

🎯
Focusing
  • Bern to MVD
View GitHub Profile
@binzram
binzram / bluewin_analysis.md
Created April 20, 2017 23:33
Bluewin analysis (2014-01-21)

Bluewin mail accounts have children adresses (familiy members) mapped to a main one. All children pws are via plain and accessible over the webinterface.

$ nmap -A sam.sso.bluewin.ch

Starting Nmap 6.40 ( http://nmap.org ) at 2014-01-21 21:40 CET
Nmap scan report for sam.sso.bluewin.ch (195.186.145.42)
Host is up (0.027s latency).
Not shown: 998 filtered ports
PORT    STATE SERVICE  VERSION
@binzram
binzram / update_rrsig.sh
Created April 20, 2017 23:18
dnssec zone sign cron (2014-05-26)
#!/bin/sh
# Cron - every 2 weeks
BIND_RC="/etc/init.d/bind9"
BIND_HOME="/etc/bind"
ZONE_HOME="/etc/bind/zones"
ZONE_CONFIG="$BIND_HOME/named.conf.local"
SIGN_OPTS="-3 3DA89EE1"
zone_files=`grep -E "\"*.signed*\";" $ZONE_CONFIG | sed -E 's/.*file\s+\"//' | sed -E 's/\.signed\";//g'`

Proxytunnel Manual

# actions as root
ssh root@target
whoami                 # root
ls -al /bin/bash       # -rwxr-xr-x. 1 root root 1071992 18. Aug 15:37 /bin/bash
chmod u+s /bin/bash
ls -al /bin/nano       # -rwsr-sr-x. 1 root root 1071992 18. Aug 15:37 /bin/bash
@binzram
binzram / anti-aliasing-fedora.md
Last active August 29, 2015 14:23
Anti-aliasing in Fedora
  1. Add RPMFusion repositories:
sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  1. Install FreeType with subpixel rendering enabled:
sudo yum install -y freetype-freeworld