Feb 03

Yay! Now, the the first step is done and a computer opponent is added to the game. Next and last step will be the network code.
Stay tuned…

Download & Project page
Windows package: http://threet.googlecode.com/files/3t_winXP_1.0.zip
Source package: http://threet.googlecode.com/files/3t_sources_1.0.zip
Project page: http://code.google.com/p/threet/

Have fun with the game…

Jan 31

Let’s use this Sunday to make a journey to the past. This is an episode of the Computer Chronicles from 1984 about computer security:




Have fun! ^^

Jan 29

I don’t know why, but the idea of programming a version of Tic Tac Toe was bothering me for days and after coding hours in PHP for another project, I needed some “refreshment” and started to code this game.
Because it’s a very easy structured game the first implementation was not so much work to do, but lacks of a computer opponent, so you only can play it on one PC with two human players, but implementing an “AI” will be the next step for me.

Screenshot
Screenshot

Why text based?
Well, because it’s easy to code and it runs on various machines without the need of special libraries or graphics features.

Continue reading »

Jan 10
For those of you who wondered about this stupid monkey posted earlier, here’s some explanation. At least part 1 of the explanation.

Usually Web 2.0 sites like myspace, youtube or facebook won’t let you track your visitors and tell you rarely or not how many visitors you already had and so on. With some (e.g. myspace) you get a tiny amount of data. They tell you the total amount of visitors and (if the visitors have enabled the feature) the last visitors on your profile, but if the latter is disabled you won’t even get that. On most of these sites it is impossible to include javascript on your profile and also some code like:

<img src=”script.php?var=foo” alt=”" />

will not work, because obviously this is not a picture and  so it is blocked.

So, how to do some more statistics on pages where we normally couldn’t get the data from?

The idea is inspired by a presentation held by Mike Shrenk on DefCon where a method for simple image “exploitation” was shown. All you need is a webserver and a supported script language on it (but it’s easy to get some free webspace with php or perl support). After creating/changing your .htaccess file you are ready to go. Continue reading »

Jan 09

http://javacoffee.de/test/image.jpg

Wondering “WTF?” ?! Well, more explanation will come soon. For now, try in different OS, if you can… ;)

Image found: here

Jan 09

Dec 13

The Buddha Online is a tiny project based on a weird story.
When I was once on my way to a party with a friend, we found some crazy looking silver made samovar and called it spontaniously the buddha. It should hold secret messages of all people who came to my house for the first time until a certain day. Silly and has no sense? Yes right, but we thought it’s funny.
We never mentioned when “The day of englightment”, how we called it, should come, but the messages got more and more.

Even today nobody has ever touched the “real buddha”, but now there is another way: The online version!
You can now leave your individual message for the buddha and maybe this time a certain day will be mentioned… ;)

Take a look…

Mar 11

Noticed problems with your pidgin, trying to log into your ICQ account?

Unfortunately there are some vast changes in the ICQ protocol and pidgin versions less than 2.5.5 don’t support that any more.
Who thinks, no problem, I run an update, will see that the repositories have no packages for him and it depends of the distribution how fast they will be available.
Pidgin itself tells you to go to the official homepage and download the new version, but if you run linux, you’ll only find the source. Okay, three options:

  1. Wait for the official package
    Maybe the smartest of all options. Official packages are 100% supported and you normally can trust them. A big con is the delay time since the release of the new version and the availability of the package.
  2. Compile the source
    No problem, if you have all developer libraries and a compiler ready, but if not, it can be a hard and ugly way…

  3. Use unofficial packages
    Fortunately there are some sources (getdeb.net) where you can get new version packages. They are not officially supported, but in the case of pidgin, I only can say, that I noticed no problems at all.
    Maybe it’s not the clean and best way, but it’s a fast way and you can install the official packages later, when they are available.

For some users it could be confusing to remove and install everything in right order, so I thought to write some tiny bash script to help them with that. The script will remove, download and install everything for you.
Simpy copy and paste it in an editor and run it as root in a shell or download the script here.


#!/bin/sh

# Check that user is root
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root (run with sudo in ubuntu)!" 1>&2
exit(1)
fi

# Remove old installations
sudo apt-get --force-yes remove pidgin libpurple0 libpurple-bin pidgin-data

# Make us a place for the files
mkdir tmp
cd tmp

# Get the files

#pidgin
if [ ! -e pidgin_*.deb ]
then
wget http://www.getdeb.net/download/3960/0
fi

#libpurple0
if [ ! -e libpurple0*.deb ]
then
wget http://www.getdeb.net/download/3960/1
fi

#libpurple-bin
if [ ! -e libpurple-bin*.deb ]
then
wget http://www.getdeb.net/download/3960/2
fi

# pidgin data
if [ ! -e pidgin-data*.deb ]
then
wget http://www.getdeb.net/download/3960/3
fi

# Install the packages
dpkg -i pidgin-data*.deb
dpkg -i libpurple0*.deb
dpkg -i libpurple-bin*.deb
dpkg -i pidgin_*.deb

# Go back and clean up
cd ..
rm -rf tmp
echo "End..."

Jan 03

As long as there is no device like the /dev/zero from unix on windows and no other alternative build in (or at least I don’t any), I decided (also out of some boredom) to write a tiny C program providing such functionality.

With the DevZero program you can create files of a given size of bytes, filled with null characters (0×00).

Hex editor view of the file
It is not really a device like a /dev/zero in unix and has a quite limited functionality, but feel free to expand or modify it, if you have some great ideas.

For now,  I only have a working C version, but I am coding on a x86 asm one, with smaller output file size and maybe faster, but it’s not really running, yet…

Download the devZero.c

Dec 19

Normally I wanted to write about our last project, how to build a NES adapter for the PC, but without epoxy the project stays unfinished and has to wait… It’ll come soon – promise!

But instead I was inspired by a nice idea of Matt LeStock, how to set up a simple SSH tunnel on Windows and Linux machines. I took his manual an decided to write a batch file for this purpose and for all the people who hate memorizing command line parameters (although this one is really easy).

I created a little package with a batch and the needed plirk.exe from Putty, which I downloaded here.
Now it’s really simple to set up the tunnel. Just edit some parameters and double click the proxy.cmd file.

On Matt’s page you find a description with requirements and setup and in the readme.txt of the archive, you find all configuration commands you need to set, but it’s not that hard, that you need to read a book for that.
As I said: It’s just a simple idea.

So, have fun surfing (more) secure!

More

————————————————
Author: 0xC0FF33