[Debian]: Create NTFS Filesystem

fdisk /dev/sdX

If required delete old partition table (DATA LOSS!!!):

for i in partitionNumber; do d + ENTER; done

Create new DOS partition table:


Create new Partition:

n + ENTER + Follow instructions

Set Partition Type NTFS:

t + ENTER + 7 + ENTER

Write changes:


Create NTFS Partiton:

mkfs.ntfs /dev/sdX

[Postfix]: Block Spam with Helo Restrictions


###Block HELO Wildcards
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, check_helo_access hash:/etc/postfix/helo_access, permit

Example Syntax for mailminion:


.mailminion.net REJECT Fuck off - I hate spam like this!
mailminion.net REJECT Fuck off - I hate spam like this!
mmsvr.net REJECT Fuck off - I hate spam like this!
.mmsvr.net REJECT Fuck off - I hate spam like this!

Build readable database for postfix:

postmap helo_access

Restart Postfix:

/etc/init.d/postfix restart
service postfix restart


[Script]: Simple Kimsufi KS-1 Notification Script


just a little script to check if a KS-1 is available:

#Simple KS-1 Notification Script
#Alexander Krischan - http://krischan.eu

#API abrufen und verarbeiten
curl https://ws.ovh.com/dedicated/r2/ws.dispatcher/getAvailability2 -o api -silent
cat api | tr "," "\n" > out
num=`grep -A 31 150sk10 out | grep -c 1H-high`

#Mail erstellen
echo "KS-1 Available" > mail
echo "Buy here: http://www.kimsufi.com/de/index.xml" >> mail
echo "or here: http://kimsufi.com/en/order/kimsufi.cgi?hard=142sk1&dedicatedQuantity=1" >> mail
echo "" >> mail
echo "Output:" >> mail
grep -A 31 150sk10 out >> mail

#Auf Verfuegbarkeit pruefen
if [ $num = 0 ]; then
mail -s "Kimsufi KS-1 Available!" sample@domain.com < mail


[Script] Hitleap Viewer with CentOS

To simplify the process of installing wine and tightvnc I wrote a little script. You’ll be asked for an userpass and vncpass during the installation. The User is hardcoded to “hitvnc” and you just need to login via vnc and install hitleap via the msi-file and you will be done 😉 (just check my normal howto if you don’t know how to install hitleap)

OS: CentOS 6 32bit (tested) / CentOS 7 32bit (not tested – please give me some feedback if you try it with CentOS7)


cd /home && wget http://repo.krischan.eu/hitvnc/install.sh && wget http://repo.krischan.eu/hitvnc/vncuser.sh && chmod +x install.sh && chmod 777 vncuser.sh && bash install.sh 


RunAbove Cloud – 10$ Credit

Today I’d like to introduce a new cloud service called “RunAbove“. It’s a sub-brand of OVH Systems which is one of the biggest hosting companies in Europe. I have some OpenVZ-Containers with them for productive use, because of their DDoS-Mitigation which is pretty good (up to 400 Gbps ) and much more important: it’s free!

Continue reading