Bullet chess challenge :)

Posted on November 26, 2012 in Chess • Tagged with Learning, Chess • 3 min read

I realised once more, that, when I excessively play bullet chess, I tend to stagnate or my performance even goes down the tubes. The reason behind this, I am assuming, the absence of defined goal or when I play without thinking (as far as thinking in bullet chess is the legit word) or other bad behaviour, as listening to music...

Therefore, I will try a little experiment: I play every day not more than 10 bullet games. This is around 20 minutes of playing. But every time I lose, I have to to 6 full and slow chin-ups. I'll play on chess.com and my starting rating is right now 1924, which actually is pretty high for me. Nevertheless, my goal is to reach ELO 2050. My all time highscore is 1974. Let's go and breake some records...

Ok let the journey begin :)

  • 26.11.2012: 1924 - 1896. Did around 30 chin-ups. Tired as hell. Lost too many times :)
  • 28.11.2012 1896 - 1903. Back in the 1900s. Did lot's of chin ups. My game improved slightly, I think more and deeper. My speed is still to slow...
  • 29.11.2012 1903 - 1900. I am stagnating, I have the impression …

Continue reading

Bullet Chess - A silly game?

Posted on November 05, 2012 in Chess • Tagged with Chess • 6 min read

I define bullet chess as games with one minute time for each player. There are plenty of other definitions, but I think my definition refers to the most common one. This article is definitely worth a read and helps to understand my further deliberations: http://en.wikipedia.org/wiki/Fast_chess

Well, besides my enthusiasm for IT security, I have always been a bullet chess player with myself worrying adictive feautures. It all began around three or four years ago, when I realised that simply too much people tend to use chess engines on online platform and in addition, I was just to nervous and unwilled to calculate and think the average (somehow boring long) length of a entire chess game. Bullet games came perfect in this manner: It is almost impossible to cheat manually in bullet games (of course you could write bots which directly interact with the server through the underlining protocol - HTTP when you're lucky, or some really badass proprietary one, when you have misfortune, but I assume that's a rather low percentage). It turns out, that my renunciation of the original purpose of chess; thinking deep and beeing patient, turned my in a slightly better long time …


Continue reading

Web safe Base64 Encode/Decode in C

Posted on October 29, 2012 in Programming • Tagged with C, Programming • 2 min read

A short while ago I needed to implement a little web safe base64 en/decoder and couldn't find any good small example in the width of the internet, so I decided to do my own dirty one. I hope I help somebody with this  little demonstration code...

I used Pelles C Compiler to build this program, but I am optimistic that it works on every common C Compiler, since it's quite close to the C11 standard.

#include 
#include 
#include 
#include

#define MAX_B64_PADDING 0x2
#define B64_PAD_CHAR "="

char * Base64Encode(char *input, unsigned int inputLen);
char * Base64Decode(char *input, unsigned int inputLen);
static unsigned char GetIndexByChar(unsigned char c);

static char *b64alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";

int main(int argc, char **argv) {

    if (argc != 2) {
        printf("Usage: %s StringToEncode\n", argv[0]);
        exit(EXIT_FAILURE);
    }
    printf("String \"%s\" to: " ,argv[1]);
    printf("%s\n", Base64Encode(argv[1], strlen(argv[1])));

    exit(EXIT_SUCCESS);
}

/* Caller has to free the returned base64 encoded string ! */
char *
Base64Encode(char *input, unsigned int inputLen)
{
    char *encodedBuf;
    int fillBytes, i, k, base64StrLen;
    unsigned char a0, a1, a2, a3;
    /* Make sure there is no overflow. RAM is cheap :) */
    base64StrLen = inputLen + (int)(inputLen * 0.45);

    encodedBuf = calloc(base64StrLen, sizeof(char));
    if (encodedBuf == NULL) {
        printf("calloc() failed …

Continue reading

Short essay about my experiences on duolingo.com

Posted on October 08, 2012 in Learning • Tagged with Learning • 3 min read

Well, it has been a hell of a time since I updated my blog. Honestly, I was kind of unmotivated doing anything on my VPS, but recently I solved some old issues (setting up DNS server, general administration things on my ubuntu 12.04) and I thought: Yeah, it's definitely time to feed my countless readers (yeah, you just met the first time my irony) with new interesting nibbles. And since I am a more or less motivated Spanish student, I thought I could share my pros and cons with duolingo.com.

I started learning Spanish approximately 5 months ago, when I began my spontaneous planned trip to Costa Rica. I was brutally thrown into (at least compared to Europe) very poor country and took for 5 weeks Spanish classes. Retrospectively, I'd say that I learned pretty quick how to communicate and express myself, but I completly fucked up my understanding of the language on the long term, because I learned it on the incorrect way. Before I even understood what my discussion partner intented to say and would have exposed me therefore in a silly but perfectly normal situation when I requested the unknown word/sentence, where I would …


Continue reading

Success

Posted on July 23, 2012 in Uncategorized • Tagged with Uncategorized • 4 min read

Have you ever wanted to know some strategies and hints how to be more successful in your daily work?

Well, here, i'll compile a list of thoughts and scenarios of effective working, which worked for me or seems to be at least reasonable in my future working career.

To illustrate and give an example for every wisdom, we use the example for a job assignment I could found myself in: The fictional job requires the accomplishment of a security audit of the employers content management system written in PHP. We have access to all sources, although the project is proprietary and is under a restrictive license.

1. Develop broad general knowledge.

The curios reader would ask now, why the hell do we need a proper general knowledge to scan a web application for programming errors which might weaken its security? Well, before you begin reading every line of code and do the formal, rather static part of your work, you'd better square the context of your task with your general knowledge: Where do the people, who wrote the application live at? Which language do the speak? What does the company which runs the cms exactly offer?

2. Work at least …


Continue reading

Let's begin this...

Posted on July 01, 2012 in Meta • Tagged with Meta • 1 min read

Hey World!

Before you leave!

This blog and homepage is under construction. Due the fact that Im currently implementing my own little wordpress theme and the rather embarassing circumstance that my design knowledge is pretty ...eehhm... basic, you'd better stay patient until you see the procution level of this blog...That can last several weeks.

I am a 21 year old german programmer and hopefully somewhen in the future a freelancing security consultant. In the foreseable future, I'll post here audit sessions, papers and tutorials on this blog. I would consider myself as a whitehat, so don't expect illicit stuff from me. My favourite programming languages are Python and C. Everything I do for myself and can be painless done in those programming languages, will be done in one of these.

Maybe you ask yourself what incolumitas.com means?

Well, it's the latin translation for safety and since every good domain name is already taken, I just switched to a different language (latin if you're curious) and a not so common word for safety. The DNS name matches perfectly my needs, because it points directly to the main intention of this site:

Offering security services.

You can hire me. Don't …


Continue reading