Archive for February, 2008

Munin Shoutcast Listeners plugin

February 27th, 2008 -- Posted in About Takis | 1 Comment »

This is a small plugin for munin, that connects to a shoutcast server, grabs the number of listeners and displays it in Munin.

============================================
#!/bin/sh
if [ “$1” = “autoconf” ]; then
echo yes
exit 0
fi

if [ “$1” = “config” ]; then

echo ‘graph_title Shoutcast Listeners’
echo ‘graph_args –base 1000 -l 0 ‘
echo ‘graph_vlabel Listeners’
echo ‘list.label Listeners’
echo ‘list.draw AREA’
exit 0
fi

printf “list.value “
lynx http://yourdomain.com:8090 –dump |grep “Stream is up” |awk -F ‘ ‘ ‘{print $10}’

====================================

Black Monday

February 26th, 2008 -- Posted in About Takis | No Comments »

After last Monday, which was Blue, came this one which was BLACK.
I hope the next one won’t be RED.

I woke up in the morning, full of joy, and ready to go to work, when i discovered that the Server had crashed and all my sites were down 🙁
no DNS, no nothing…
<%image(20080226-ping.jpg|499|158|Pinging with no success)%>
Hmm, it was better not knowing what had happened…

Later on, when i was about to leave, and i had already opened the front door of my beautiful house, it suddenly crossed my mind that i had some clothes on the other balcony that i had to pick up.
So, i rush to the other side of my beautiful house, and i try to take my clothes inside, because i was already late for work.
Then.. BOOOM. The back door closes suddenly.
It was the morning breeze that stalled me a bit. I then realized that i had been locked outside my own house, in the balcony, having the front door open. How about that?
<%image(20080226-IMG_4914_porta_spiti.JPG|467|480|The balcony door)%>
Beign a smart person, and having watched a lot of McGyver on my early ages, after about 4 minutes, i bas inside the house.
At first i thought jumping, but it was too high, and i am too old for that.
Then i thought breaking the window. That was a possible solution, but i knew i could do better than that.
It was then when i realized that somebody can enter my house without permission, and without making any noise.
I used the plastic thing that we hang clothes with it, don’t know the english word, “μανταλάκι” is the Greek one.
I put that between the glass and the wooden frame, to remove the frame. But there were four of them, and not so easy to remove.
I finally managed to remove them all, without breaking anything, and put them back again.
Now, not only i can handle more easily a similar situtation, but i have discovered one of the biggest backdoors of my house.
Of course i have taken all possible precautionary measures to avoid the possibility of an attack by a malicius person reading this text.
So, my house’s architecture is public, but nobody can enter. That is similar to open source software 😛
If only i could find mechanics from all over the world to fix it a bit..
Why isn’t civil engineering open source? :p

Later on, while driving to work, something else bad happened.
Turning right, on the parking, i hit something.
It was a wall.
I had miscalculated the inner distance between my car and the corner wall.
So we had the following situation:
<%image(20080226-xMG_4881_tyre.JPG|480|443|You can see the marks on my michelin tyres)%>
But i found out that i am not the only person in the world that has made the same miscalculation
You can see the corner here:
<%image(20080226-xMG_4882_corner_wall.JPG|480|438|Corner Wall in a corporate building)%>
Many people have fallen into this trap!
The concrete part of the corner is exceeding the virtual corner that a driver can see judjing from these metallic things..

After that i really needed some sleep inside my sailing boat 🙂

Enjoy:
<%image(20080226-xMG_4888_view_from_port.JPG|480|320|Nice view of patras marina)%>
<%image(20080226-xMG_4900_sf.JPG|480|320|Superfast ferries.. Going to Italy)%><%image(20080226-IMG_4906_sunset.JPG|480|320|Great sunset on patraikos bay)%>

Patras Carnival 2008 – Group 67 – “Disco-nect”

February 25th, 2008 -- Posted in About Takis | No Comments »

Guess who is the one in front of the screen 😛

Linux local root exploit (new)

February 14th, 2008 -- Posted in About Takis | No Comments »

It’s always fun when some lazy cz blackhat linux guru drinks so much that decides to make public some code.

btw, whotf is jessica_biel ?
If only she was in his bed, many admins would be sleeping normally these days…
Women rule the world my friends…

login as: tbl
Using keyboard-interactive authentication.
Password:
Linux fs 2.6.18-4-486 #1 Wed May 9 22:23:40 UTC 2007 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Sun Jan 6 03:18:00 2008 from 10.11.0.2
tbl@fs:~$ vi 1.c
tbl@fs:~$ gcc 1.c
tbl@fs:~$ whoami
tbl
tbl@fs:~$ ./a.out
———————————–
Linux vmsplice Local Root Exploit
By qaaz
———————————–
[+] mmap: 0x0 .. 0x1000
[+] page: 0x0
[+] page: 0x20
[+] mmap: 0x4000 .. 0x5000
[+] page: 0x4000
[+] page: 0x4020
[+] mmap: 0x1000 .. 0x2000
[+] page: 0x1000
[+] mmap: 0xb7df5000 .. 0xb7e27000
[+] root
root@fs:~# whoami
root
root@fs:~# oh shit…

Πατρινό Καρναβάλι 2008

February 11th, 2008 -- Posted in About Takis | No Comments »

Το θέμα του φετινού καρναβαλίου είναι το διαδίκτυο, έτσι και εμείς λοιπόν είπαμε να βγάλουμε ένα Group το οποίο μας εκφράζει!

Disco-nect λοιπόν, αναβιώνοντας τη μουσική κουλτούρα των 70’s – 80’s και συνδιάζωντάς την με τη σύγχρονη τεχνολογία.

Ελάτε μαζί μας να απο-συνδεθούμε από το δίκτυο τις ημέρες του καρναβαλιού, και να συνδεθούμε υπο ρυθμούς ντίσκο!!!

<%image(20080211-disconect.jpg|354|197|Patrino karnabali 2008 - Group 67 - Disconect)%>

Blue Monday

February 7th, 2008 -- Posted in About Takis | No Comments »

It was yet another Blue Monday.
Everything looked normal.. Well, some minor details make the last months of my life more interesting, not always in a positive way.
So in the process of normality, we have decided to create a group for the carnival.
Moreover, we have to meet frequently, to solve some problems, and to decide some things.
But it was then when it hit me. I became sick. It had almost forgotten how it is.
You feel exhausted, without having done anything, your think your head is going to explode,
and you feel cold, even though you are sitting next to the heater.
And then it was the earthquake. Earthquakes happen here in Greece, from time to time.
This one was a large one! Earthquakes raise your adrenaline, scare you, and make you feel tiny on front of nature’s power.
That’s why i like earthquakes, you just can’t do anything, just sit there and watch things fall around you.
Most people hate earthquakes, they hate fear, they can’t just sit and watch their fate.
There was some action 🙂 but, i was on an hydraulic elevator when it happened, and it didn’t reach my senses..
After that, i was convinced that i should go home, and that it was a bad day for me.

But that was just the beginning.
I got into my Nissan Micra K10 1200 cc, fastened my seatbelt, and my journey began.
My place is 17 minutes by car from the center of the town, if you drive conservative, you can also do it 7 minutes, if it is 6
in the morning, and you are alone on the road.
I decided to take the way by the sea. I love the sea, and i always enjoy driving near by it.
It was then when i needed an adrenaline push, and i decided to drive dangerously. Not fast, dangerously.
Driving to the limits, is one of the things you can do whenever you like, here in Greece.
There are no cops on the streets, and you don’t have to try much, because the streets are already dangerous.
What i had not in mind, was that it had just poured some rain…
So, it was already late when i decided to slow down and turn right in a 90 degree turn. The car went straight when i hit the brake.
In order to drive to the limits, you must know the limits. Of yourself, and your car. I always play with my car, and myself, so as to
learn where the limits are. Going beyond the limits, is a bad thing, cause you might hurt yourself, and your car.
When i turned right, the car followed my intentions, and did so. It is hard to describe the motions, and emotions of those moments in words.
That’s why i decided to put a camera on my car. Many cameras 🙂
Almost 12 years of driving experience, and the reflects of a < 30 young boy, helped me out of this situation.
If i believed in god, i’d say that god saved me, but i don’t. I saved my self. I challenge my fate daily and i stand lucky. For how long? We’ll see.
After turning right, i steered left, and then right, and then left again. I then floored it.
It was like when i was a child, and had fallen with my bicycle. I looked around me to make sure that nobody had witnessed the event, and then
i sat on my bike, like nothing had happened. It is the Greek aspect of, if you’ve done a bullshit, and nobody saw it, it’s not a bullshit 😛

After that, i got home, opened my laptop, checked my gmail, and tried to sleep.
It was 20 minutes later when i was talking on the phone, and yet another earthquake came 🙂
Then i wondered, what is the speed of the earth wave? There was a 0.8 sec lag between the time that the person i was talking to felt the earthquake,
and the time i did. That needs some calculations, which i am unable to do at the moment.

——–
Now it is a gloomy Tuesday.
I didn’t go to work, because i didn’t sleep all night. I was cold and hot at the same time. I had fever.
Strange thoughts come to your mind when you are ill. Physical weakness endorses mental weakness. I felt like everything was going wrong in my life.
Well actually it is going, but when i am in normal state i try to fix things.. Yesterday night i was trying to rescue myself in a sea full of shit.