like i got nothin` better to do.
I`ve never really been a very responsible person; now that i think about it, i feel that personality traits such as getting distracted easily, and laziness contribute in a major way to it.
As most of the blog posts put up here, this one is also posted a day before the college reopens. This time i had a dozen screenshots to prepare, try out a few python dbus scripts and write a detailed note on Huffman compression scheme ( i don`t usually do assignments on my own; but this one sounded interesting).
However, i had just installed a brand new Jaunty on my machine and the so, was obviously it was just not configured to work my way. I started with organizing my files and then moved onto theming my machine(something which seemed like it just HAD to be done juuust that very moment.
)
So, i started getting themes from www.gnome-look.org and customizing them. 90 mins later, what you see on the right is what i got.
I was pretty happy with the new look, but (sadly) i dint stop there. :-/
I went on to changing the GDM login screens; and when i`m done with that i start modifying it(that went pretty well too; it was easier that i had expected). Aand after that i went to to get my dinner and right now, here i am writing this blog post like i got nothing better to do.
Adios! Lemme know how bad my desktop looks right now…
Back when coding was fun
There was a time when doing a project meant fun, rather than “completion-within-a-deadline”; there was a time when mere curiosity taught me a lot more than the will to learn, and “work” was`nt quite referred to by that term.
I don`t know why but i associate almost every song i hear with a person i know, an event in my life; sometimes even food and aroma.
One look at my first project while listening to one of my favorite songs during high school, brought back loads of old fond memories. C++ was the first language i had ever learnt. And my high school project was a simple, yet elegant Library Management System(along with ol` pal Aju). I had learnt a lot during the course of doing that project and it had taken us around 3 months to complete it. I remember checking the internet back then for ideas i could implement; but remember not liking any i had come across(maybe its `cause my googling skills were`nt half as good back then, dunno). However, the resource i had used to the fullest was the Turbo C++ Documentation. By the end of high school i had gone through all the documentation in Turbo C++ about graphics programming. Minimize resource requirements, Maximize Output. That seemed to work all the time.
Now, i never really was interested in graphics or the GUI aspect of programming(i still am not); i`d done the GUI part in the Library Management system just for the kick of it. And now, its been ages since i`ve coded that way.
College was a place where i was overwhelmed by the technologies and the limitless possibilities around me; and i started utilizing them – one by one. During my first year, i played and experimented with a lot of technologies around me; there were people who could clear half my doubts, books and magazines to double them up again. It must have been the most productive part of my life where i actually enjoyed getting to know stuff so much. From here, later on, spawns my ambition to work in the area of Information Security.
As time passed on, i got my hands on a handful of projects, doing them was fun at the beginning but then my attitude towards programming started changing slowly. I regret saying this, but from then on projects started becoming mere endeavors to learn something somehow AND put it on my resume. I resent saying that, but that is the truth.
All of this sudden realization, thanks to a song and one of my most prized pieces of high school code.
Now, i`ve decided to work on a web application(GUI again), just for the hell of it. I know i`ll learn loads, but thats not the point anymore.
`coz this time its for the fun in it.
Download videos from securitytube.net
It was a Sunday morning `n i was at home. I had to get on a train back to the hostel at noon; a lot of pending work undone, i had to download those videos from www.securitytube.net pronto.
I usually download videos put up on youtube using www.keepvid.com ; its a really good site which gets the job done – nice and easy.
However, videos from securitytube could`nt be downloaded this way; so here are a couple of ways to do it(thnkx to Anirudh and ideamonk)
Method 1 :
———
Viewing the source of the page in which the video is being played, and searching for “.mp4″ gets you the actual location of the video. All you have to do is use a download manager to download from that location. I use firefox, and i used the download manager which came with the addon named “DownThemAll!” for this purpose.
Method 2 :
———
In case you are using linux, then the videos get buffered into the /tmp directory. Mostly, they`ll begin with the name “Flash” to be followed by a few other numbers and characters. Just copy them to a different location AFTER the video finishes buffering.
Hope this helps!!!
Buffer overflows; the way i see it
Towards the beginning of this month, i was part of a team that had taken part in the CIPHER 5 capture the flag competition; due to lack of experience and preparation we had failed to fare well in it; we came out 22nd out of 32 worldwide.
However, buffer overflows was a topic i did not manage to cover fully during the preps for the competition; so i continued my work on it even after the it. My work is mainly on the Linux distro named DVL – Damn Vulnerable Linux(you mite wanna google it out if you have`nt heard of it); its a linux distro based on backtrack which has got vulnerable apps of many various kinds which are excellent for practice. It was referred to me by Marcus J. Carey, a security auditor who has helped me in numerous occasions.
Now, i don`t pretend to be an expert on buffer overflows; i`d rate myself intermediate. However, i`ll mention a few guidelines you could follow which might help you at exploiting overflows. SO, here are the references(please let me know if there are better ones)
1. Try reading `bout buffer overflows on wikipedia.
2. Video tutorials on “Assembly programming in Linux” which`ll explain the basics of memory management and assembly programming on an Intel x86 system by Vivek Ramachandran.(1-7 is enough). Neat work.
3.Video tutorials on “Exploiting buffer overflows” by Vivek Ramachandran(1-5). Neat again(but a bit slow).
4.Try reading “Smashing the Stack” ; an excellent article by aleph1 which was published in the Phrack magazine.
Now, once you are done with all that you could try out DVL(i used DVL 1.4); i`d suggest you go through the challenges in the -
/dvl/exploitmes_package_04/
directory before going through the others. After going through all the above tutorials the challenges in that directory should be a breeze.;-) However, if you still find trouble there are a nicely written tut`s in that directory itself. I strongly advice you not to go through them in the beginning.
So what am i upto now? Well, i`ll let you know when i`m done with that…
P.S. if you wanna know how to download videos from www.securitytube.net , read this.
minor shockwave at perumbavoor
Its been a long time since i`ve last blogged; and its sad that i`m writing out a post on such short notice after a really long time.
I was sitting in my room, blog-surfing when i heard this really loud noise from behind. It was also accompanied with a strange and strong vibrating sensation. It passed as quickly as it had come; i rushed downstairs to ask mom `n dad about it. However, they had`nt experienced any sort of vibration on the ground floor; they had just heard loud noises.
I came back to the room to see a twitter update of an old chum, who lived nearby reporting the same. As time passed, more and more tweets from people who lived near me began to come up. We still had`nt got any formal confirmation or any news report confirming the same.
It was about 40-50 minutes later that the news was confirmed. We had a minor earthquake at perumbavoor. The epicentre was at mazhuvanoor; and i had gotten the news from www.manoramanews.com.
(NOT ABLE TO READ MALAYALAM IN YOUR FIREFOX BROWSER? INSTALL this firefox plugin.
More updates on this post will come up soon.
battery life ubuntu 9.04 update #1
The KDE-desktop environment, however, has surprised me.
It had a power-management daemon which provided the following profiles; powersave, performance, aggressive powersave, presentation, and Xtreme powersave.
Also, i went through the internet looking for power management daemons which could automate these tasks for me; and i found none. It was a hot summer afternoon, and i was bored. So, i decided to make one by myself. I have`nt started on it yet, i`m just doing a bit of reading on power saving methods for now. I`m hosting a project at codeplex and i`ll release it at its successful completion. Updates on the mini-project`ll be put up here every now and then, though.
i`ve named the project power-Xtended; and the alpha version of it is about done. It`s got only a quarter of the features i`d intended to put in; the GUI is designed using the Glade-interface designer(this`s my first experience with it) and i`ve used python along with it. Here are the improvement-statistics i`ve come across on using power-X.
quite satisfactory, for an alpha, don`t you think? i`ll be releasing the next update, pretty soon, and i`ll need all your help for testing it out on various environments.
UPDATE #2
more features, `n hopefully better power mangagement; powerX beta is almost done. Will be released soon.
UPDATE #3
the project has been moved from www.codeplex.com into a site of its own. The site will be put up here soon. Due to unforseen difficulties, the release has being delayed. Please be patient.
battery life, ubuntu 9.04 ;-(
I`ve been off the internet for a considerable period of time; hence the large number of updates in a single day
13th May 2009
Yes, i`ve been off the internet for quite a while now and this is what i`ve been upto. I use a Lenovo Y410 latop which runs Ubuntu 9.04(64-bit). Previously, i used to have a battery life of about 100 minutes while running Windows Vista(and i expect around 120 minutes for Windows 7);however, i was shocked to find out that the battery life had reduced to only about 50 minutes when running ubuntu.
My initial reaction, was to believe that ALL 64-bit O.S.`s gave a reduced battery live`s(ya, i know that`s a stupid thought; but that`s what came to my mind at first); but then i recalled instances of better power management by 64-bit O.S.`s.
Searching the Ubuntu forums provided me a thread with a considerable number of people stating the same problem as i, myself had. A solution was already provided(which i implemented without haste)along with a link(www.lesswatts.org), which had to be referred to, in case you needed more performance-tweaking.
The site provided excellent information on the various tasks which use up your battery-life and could be disabled in order to save power. The power-saving methods explained on the site, however, were “general” and not for any specific linux distro; which meant i had to find the corresponding tweak in Ubuntu for myself.
I managed to find the location of these files, a lot sooner than i`d expected. The configuration of these files can be tweaked in a lot of ways; the easiest among them being the tweaking the files in the following directory:
/etc/laptop_mode/conf.d/
i`ve put a few scratch-notes i`ve made in the process; i just could`nt type them out again, it`d bore me to death!!
(sorry about all the scribbling, i guess i`m just not patient enough for a good handwriting
)
i`m open to learning, so, ideas, criticisms; ALL welcome!
