Pwning friends on Live Messenger :)

July 20, 2010 24 comments

Tne fini chek to resulta? lol…

Having some fun. Chek out the chat logs i posted below. Told ’em that results was already out and the level changed from 1 to 2. If you have passed of course 😛 I edited the HTML Source code of my page and put 2 instead of 1 and forwarded the screenshot to them for “proof”. A well engineered pwn! Read more…

Advertisements
Categories: Uncategorized, UoM Tags: , , ,

The Start-Run Command in Windows

July 17, 2010 2 comments

The Run command line in Windows is used primarily for opening things. It is so much quicker to open things this way instead of going though a myriad of interfaces and menus to open what you want. The run command line is very rarely used which is a pity, as it is often the quickest way to launch programs or to open folders and documents. You should remember which commands are available to you but you don’t have to know everything of course, just the essentials. With frequent usage you will remember them easily. In this post i’m show you how to open applications, folders and adding your own application you want to start from your custom made Run command. Read more…

Categories: Computer/Technology Tags:

Your personal Lotto quick pick

July 14, 2010 13 comments

Wanna improve your chances on winning a few million rupees?

The Mauritian Lotto was first introduced on the 07th of November 2009 by lottotech. The first jackpot was Rs 12 Million. The first winner of the lotto was Guillyano Zamir, who won the Rs 30 Million Jackpot. I am going to post the source code of a program i made that generate an arbitrary number of Lotto simulations. While writing this blog post, i researched a bit on Lotto and found some very interesting stuff.

Lotto lets you pick a certain number of choices from a card. In Mauritius you get to pick 6 numbers from a card having 40 numbers. Then, the Lotto managers pick 6 numbers at random. If your choice exactly matches theirs, you win a few million rupees or so. What is the probability of having a winning pick? Mathematics says the following about it: (40 × 39 × 38 × 37 × 36 × 35) / (6!) = 3,838,380. Read more…

Unofficial Guide – BSc Computer Science at University of Mauritius (UoM)

July 13, 2010 21 comments

Looking forward to study Computer Science at UoM? Well, it’s your lucky quarter! Read on…

Post Updated on 23-Jul-10

Here is a post i’ve been wanting to do. I just completed my first year in BSc Computer Science. So, i thought, why not share it to you guys and gals? Then i thought, what to actually share? Am i going to briefly describe the course? Give an overview of the each module? Give you tips? Insider news? Well i am not going to give you just the taste of it, but also all the sauce and flavor served with it and ingredients to tackle it successfully. Note that the appropriate target audience for this post is (1) person contemplating doing CS at UoM, (2) You are a newcomer and need a guideline, (3) You wanna jump into the IT field ’cause you read some nice job ads, (4) You are a computer geek and wanna learn some formal stuffs, (5) You have nothing else to do and curious by nature, (6) You’ve heard there’s gonna be a lot of hardcore Math and you’re scared shitless. 😆

Welcome to the new, exciting, University life. This isn’t college anymore. Gone are the days of afternoon tuitions! Forget your A-Level results. Good or Bad, just forget it. It doesn’t matter now. Who cares for your A-Level result when you will be working as a Software Engineer for instance. It is your skills at work which counts. This is on what your employers will assess you. You are now grown up and need to be more self-dependent. You’ll have to do lot of work on your own and don’t expect your lecturers to spoon feed you. Just scroll down at the bottom of this post and look at the figures for number of failures. Yes, it won’t be easy and you’ll be spending a few sleepless nights as well! If you input just the right amount of effort, your output will be successful. If not, then you will need to do some debugging :). OK, your first bookmark should be the Read more…

My take on the 2010 Fifa World Cup

July 12, 2010 5 comments

The Pre-tornament hot favorite proved their worth.

Spain did it. They are the World Champions for the first time in their history. They entered the very select club of world cup winning nations. Just look how Casillas was happy. Many predicted Spain to lift the trophy or go far in the tournament which they did. They have a squad with great players every coach dream about, Iniesta, Xavi, Villa, Torres, Puyol to mention a few. Arguably one of the best team of the decade. They play a beautiful passing game very similar to that of FC Barcelona. Tactics is also similar to the Catalan team. Paradoxically, they scored very little goal, an all time low for a winning squad, only 8 for 7 matches played. 5 of which is from the know-all David Villa. But they could rely on a solid defence built around the Puyol-Pique tandem that conceded 2 goals only with 5 clean sheets.

Netherlands and Spain were the only teams to have won all their qualification matches for the 2010 World Cup, with the Netherlands also winning all games on their way to the final. For the final against Holland, Spain deserved their victory. They were the better side playing the most coherent football. Read more…

Categories: Football Tags:

SQL Injection Attack explained!

July 11, 2010 4 comments

We need a medic here!

From OWASP, A SQL injection attack consists of insertion or “injection” of a SQL query via the input data from the client to the application. A successful SQL injection exploit can read sensitive data from the database, modify database data (Insert/Update/Delete), execute administration operations on the database (such as shutdown the DBMS), recover the content of a given file present on the DBMS file system and in some cases issue commands to the operating system. Some days ego, Pirate Bay was hacked by an SQL Injection Attack.

So let me explain how an SQL Injection Attack occurs by using an example. We have a website which allows users to post their high scores for a game.

A form for a user to enter Name and Score
Read more…

Categories: Programming Tags: ,

Simple Password Cracking

July 11, 2010 Leave a comment

A very basic password cracking

Here is a very simple algorithm which matches the character of the password entered to the user to that stored by a variable in the program(which frequently happens). It is very easily implemented.

Its core is actually only one line of code that, in the C language, could be written as follows: if (strcmp (password entered, reference password)) {/* Password is incorrect */} else {/* Password is OK*/}.

Here is an example code which implements it and we’ll examine it.
Read more…