Browsed by
Month: February 2012

12-12-12

12-12-12

What is this magical number? Yes, Its a date. It completes quarter century of my age. I had wished for that day for a long time from my child hood. I was wondered on the day when the date 9-9-99 came when I was in 8th standard in school. At that time I fixed a dead line to my self to achieve a target for 10-10-10, even though I was partially successful which was created by my half-baked mindset at that time 🙂 , I am not able to achieve it properly. Anyway its not about money. Now its time to conclude the target for 12-12-12. There is already 3 on the row to be completed. I hope I can complete atleast 2 out of 3. 2 is too good for me. Let me wait till that. I will write more about this when I have time.

Its now B.E., M.B.A.,

Its now B.E., M.B.A.,

Yes, I am done with my distance education MBA degree on Computer Systems Area from Madurai Kamaraj University, Madurai. I joined in 2010. At that time I was in Hyderabad. So I will come down to Chennai for the exam for the first two semesters. Then I moved to Chennai. It become very easy, since the exam center is just nearer to my office. It was a nice experience to have a PG degree. I have just completed my final semester exams two days back. I hope I will get a good score too. Though, it will not be useful to pursue a management related career, it makes me happy and also I am feeling proud. Now I am moving towards my next target, but I am not sure how far it is feasible.

To be frank, I will suggest others not to take this course from this university till they update the syllabus. Because all the subjects are around 20 years old. And the question paper pattern will be very poor. Most of the questions will be generic and will not be available in book. It makes you to write your own story most of the time. And whatever you write, you will not get more than 70 marks. This is not a criticism. That is the fact. I am planning to intimate this to the coordinator of the MBA program when I go to the college.

Presentation at Cutting Edge conference

Presentation at Cutting Edge conference

It was great to be a part of the conference Cutting Edge 2012 from Symantec Corporation, Chennai on 16, 17th feb. To gear up the event we conducted a treasure hunt contest and the response was huge than my expectation. I was happy to create the portal. Then I was part of the Norton Android lab opening ceremony. Our VP appreciated my app. To say more on it, I presented a paper on “Security-as-a-Service enhancements to the existing Symantec.Cloud services”. It was great to present a paper on Security in a hacker’s perspective. Let me give a link to the presentation after sometime. Expecting a lot in the coming days! 🙂

Hiding your name into Lover’s photo

Hiding your name into Lover’s photo

I was just browsing through PHP functions from php.net for some other purpose. I have got interested in PHP Pack function. Pack function packs data into binary string.

string pack ( string $format [, mixed $args [, mixed $… ]] )

So I thought of doing some funny things with this. I tried to hide my name into my favorite photo. Just follow the steps.

Create an upload form using html at first. Then create upload_file.php

if ($_FILES["file"]["error"] > 0)
echo "Error: " . $_FILES["file"]["error"];
else
{
echo "Upload: " . $_FILES["file"]["name"];
echo "Type: " . $_FILES["file"]["type"];
echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb";
echo "Stored in: " . $_FILES["file"]["tmp_name"];
//Open file handle here
//read file here
//bin 2 hex conversion
$final_data = bin2hex($reading);
}

Now your Hexadecimal data is generated. Then add your name into $final_data string. Now we will restore the original photo from the hex value. We can hide and remove your name using
preg_match() and preg_replace() functions. Try it on your own if you want to waste some time.

$hexadecimaldata="add your hex data into the string here";
//For example I have attached a image hex value file along with the post
$picture_data = pack("H" . strlen($hexadecimaldata), $hexadecimaldata);
header("Content-Type: image/jpeg");
header("Last-Modified: " . date("r", filectime($_SERVER['SCRIPT_FILENAME'])));
header("Content-Length: " . strlen($picture_data));
echo $picture_data;

I was searching a topic related HTML5. In the mean time pack function drags me to spend one more hour in this. I have used references from w3schools.com and php.net sites. Here is the hex value of my favorite photo. Download -> Hex Value file