Updates from March, 2010 Toggle Comment Threads | Keyboard Shortcuts

  • Harshad Joshi 4:51 pm on March 31, 2010 Permalink | Reply  

    My first experience of stack smashing 

    root@indiaforce:~/examples# python fb_tweet2.py
    Please enter a status:Hello mate..wussup?
    python-gammu: WARNING: Truncating text Text to 650 chars!
    *** stack smashing detected ***: python terminated
    ======= Backtrace: =========
    /lib/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7e86bc8]
    /lib/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7e86b80]
    /usr/local/lib/python2.6/site-packages/gammu/_gammu.so(GSM_StringArray_New+0x0)[0xb7ae4954]
    /usr/local/lib/python2.6/site-packages/gammu/_gammu.so[0xb793c9c9]
    [0x65736c61]
    ======= Memory map: ========
    08048000-08160000 r-xp 00000000 08:11 2231916    /usr/local/bin/python
    08160000-0818b000 rw-p 00118000 08:11 2231916    /usr/local/bin/python
    0818b000-08194000 rw-p 00000000 00:00 0
    09a78000-09e3f000 rw-p 00000000 00:00 0          [heap]
    b6dca000-b6de6000 r-xp 00000000 08:11 2231908    /usr/local/lib/libgcc_s.so.1
    b6de6000-b6de7000 rw-p 0001b000 08:11 2231908    /usr/local/lib/libgcc_s.so.1
    b6e01000-b6e11000 r-xp 00000000 08:11 2531388    /lib/i686/cmov/libresolv-2.7.so
    b6e11000-b6e13000 rw-p 0000f000 08:11 2531388    /lib/i686/cmov/libresolv-2.7.so
    b6e13000-b6e15000 rw-p 00000000 00:00 0
    b6e15000-b6e1f000 r-xp 00000000 08:11 2531377    /lib/i686/cmov/libnss_files-2.7.so
    b6e1f000-b6e21000 rw-p 00009000 08:11 2531377    /lib/i686/cmov/libnss_files-2.7.so
    b6e34000-b6e3b000 r–s 00000000 08:11 1433852    /usr/lib/gconv/gconv-modules.cache
    b6e3b000-b73e0000 rw-p 00000000 00:00 0
    b73e0000-b751a000 r-xp 00000000 08:11 2328940    /usr/lib/i686/cmov/libcrypto.so.0.9.8
    b751a000-b7530000 rw-p 0013a000 08:11 2328940    /usr/lib/i686/cmov/libcrypto.so.0.9.8
    b7530000-b7533000 rw-p 00000000 00:00 0
    b7533000-b7575000 r-xp 00000000 08:11 2328934    /usr/lib/i686/cmov/libssl.so.0.9.8
    b7575000-b7579000 rw-p 00042000 08:11 2328934    /usr/lib/i686/cmov/libssl.so.0.9.8
    b757d000-b7581000 r-xp 00000000 08:11 2531375    /lib/i686/cmov/libnss_dns-2.7.so
    b7581000-b7583000 rw-p 00003000 08:11 2531375    /lib/i686/cmov/libnss_dns-2.7.so
    b7583000-b7585000 r-xp 00000000 08:11 2531475    /lib/libnss_mdns4_minimal.so.2
    b7585000-b7586000 rw-p 00001000 08:11 2531475    /lib/libnss_mdns4_minimal.so.2
    b7586000-b7587000 r-xp 00000000 08:11 2908214    /usr/local/lib/python2.6/lib-dynload/_bisect.so
    b7587000-b7588000 rw-p 00001000 08:11 2908214    /usr/local/lib/python2.6/lib-dynload/_bisect.so
    b7588000-b758e000 r-xp 00000000 08:11 2908198    /usr/local/lib/python2.6/lib-dynload/array.so
    b758e000-b7590000 rw-p 00006000 08:11 2908198    /usr/local/lib/python2.6/lib-dynload/array.so
    b7590000-b7592000 r-xp 00000000 08:11 2908237    /usr/local/lib/python2.6/lib-dynload/_hashlib.so
    b7592000-b7593000 rw-p 00002000 08:11 2908237    /usr/local/lib/python2.6/lib-dynload/_hashlib.so
    b7593000-b7599000 r-xp 00000000 08:11 2908178    /usr/local/lib/python2.6/lib-dynload/_ssl.so
    b7599000-b759a000 rw-p 00006000 08:11 2908178    /usr/local/lib/python2.6/lib-dynload/_ssl.so
    b759a000-b75a4000 r-xp 00000000 08:11 2908218    /usr/local/lib/python2.6/lib-dynload/_socket.so
    b75a4000-b75a7000 rw-p 0000a000 08:11 2908218    /usr/local/lib/python2.6/lib-dynload/_socket.so
    b75a7000-b75a9000 r-xp 00000000 08:11 2908240    /usr/local/lib/python2.6/lib-dynload/fcntl.so
    b75a9000-b75aa000 rw-p 00002000 08:11 2908240    /usr/local/lib/python2.6/lib-dynload/fcntl.so
    b75aa000-b75ad000 r-xp 00000000 08:11 2908217    /usr/local/lib/python2.6/lib-dynload/cStringIO.so
    b75ad000-b75ae000 rw-p 00003000 08:11 2908217    /usr/local/lib/python2.6/lib-dynload/cStringIO.so
    b75ae000-b75b0000 r-xp 00000000 08:11 2908213    /usr/local/lib/python2.6/lib-dynload/_random.so
    b75b0000-b75b1000 rw-p 00002000 08:11 2908213    /usr/local/lib/python2.6/lib-dynload/_random.so
    b75b1000-b75b5000 r-xp 00000000 08:11 2908197    /usr/local/lib/python2.6/lib-dynload/math.so
    b75b5000-b75b7000 rw-p 00003000 08:11 2908197    /usr/local/lib/python2.6/lib-dynload/math.so
    b75b7000-b75bf000 r-xp 00000000 08:11 4776258    /root/.python-eggs/simplejson-2.1.0-py2.6-linux-i686.egg-tmp/simplejson/_speedups.so
    b75bf000-b75c0000 rw-p 00008000 08:11 4776258    /root/.python-eggs/simplejson-2.1.0-py2.6-linux-i686.egg-tmp/simplejson/_speedups.so
    b75c0000-b75c4000 r-xp 00000000 08:11 2908204    /usr/local/lib/python2.6/lib-dynload/strop.so
    b75c4000-b75c6000 rw-p 00003000 08:11 2908204    /usr/local/lib/python2.6/lib-dynload/strop.so
    b75c6000-b75cb000 r-xp 00000000 08:11 2908207    /usr/local/lib/python2.6/lib-dynload/_collections.so
    b75cb000-b75cc000 rw-p 00005000 08:11 2908207    /usr/local/lib/python2.6/lib-dynload/_collections.so
    b75cc000-b75d0000 r-xp 00000000 08:11 2908232    /usr/local/lib/python2.6/lib-dynload/zlib.so
    b75d0000-b75d2000 rw-p 00003000 08:11 2908232    /usr/local/lib/python2.6/lib-dynload/zlib.so
    b75d2000-b75d8000 r-xp 00000000 08:11 2908190    /usr/local/lib/python2.6/lib-dynload/operator.so
    b75d8000-b75da000 rw-p 00005000 08:11 2908190    /usr/local/lib/python2.6/lib-dynload/operator.so
    b75da000-b75e8000 r-xp 00000000 08:11 2908183    /usr/local/lib/python2.6/lib-dynload/datetime.so
    b75e8000-b75eb000 rw-p 0000e000 08:11 2908183    /usr/local/lib/python2.6/lib-dynload/datetime.so
    b75eb000-b762c000 rw-p 00000000 00:00 0
    b762c000-b7640000 r-xp 00000000 08:11 1419654    /usr/lib/libz.so.1.2.3.3
    b7640000-b7641000 rw-p 00013000 08:11 1419654    /usr/lib/libz.so.1.2.3.3
    b7641000-b7656000 r-xp 00000000 08:11 2531371    /lib/i686/cmov/libnsl-2.7.so
    b7656000-b7658000 rw-p 00014000 08:11 2531371    /lib/i686/cmov/libnsl-2.7.so
    b7658000-b765a000 rw-p 00000000 00:00 0
    b765a000-b7663000 r-xp 00000000 08:11 2531364    /lib/i686/cmov/libcrypt-2.7.so
    b7663000-b7665000 rw-p 00008000 08:11 2531364    /lib/i686/cmov/libcrypt-2.7.so
    b7665000-b768c000 rw-p 00000000 00:00 0
    b768c000-b7830000 r-xp 00000000 08:11 1419229    /usr/lib/libmysqlclient.so.15.0.0
    b7830000-b7874000 rw-p 001a3000 08:11 1419229    /usr/lib/libmysqlclient.so.15.0.0
    b7874000-b7875000 rw-p 00000000 00:00 0
    b7875000-b7880000 r-xp 00000000 08:11 475379     /usr/lib/libdbi.so.0.0.5
    b7880000-b7881000 rw-p 0000a000 08:11 475379     /usr/lib/libdbi.so.0.0.5
    b7881000-b7b2a000 r-xp 00000000 08:11 2222778    /usr/local/lib/python2.6/site-packages/gammu/_gammu.so
    b7b2a000-b7b78000 rw-p 002a9000 08:11 2222778    /usr/local/lib/python2.6/site-packages/gammu/_gammu.so
    b7b78000-b7bd1000 rw-p 00000000 00:00 0
    b7bd1000-b7d0b000 r–p 00000000 08:11 1451203    /usr/lib/locale/locale-archive
    b7d0b000-b7d8e000 rw-p 00000000 00:00 0
    b7d8e000-b7ee3000 r-xp 00000000 08:11 2531360    /lib/i686/cmov/libc-2.7.so
    b7ee3000-b7ee4000 r–p 00155000 08:11 2531360    /lib/i686/cmov/libc-2.7.so
    b7ee4000-b7ee6000 rw-p 00156000 08:11 2531360    /lib/i686/cmov/libc-2.7.soAborted
    root@indiaforce:~/examples# gedit fb_tweet2.py

    Today i got a first glimpse of stack smashing..improperly written code results in stack smashing…Read more of it here – http://en.wikipedia.org/wiki/Stack_smashing

    And if you want to prevent stack smashing, get the hardened kernel here – http://code.google.com/p/indiaforcekernel/

    Computer Security is hard..really hard..

    Posted via email from [root@localhost /root]#

     
  • Harshad Joshi 8:21 am on March 28, 2010 Permalink | Reply  

    Marriage v/s Ph.D 

     
  • Harshad Joshi 12:44 pm on March 24, 2010 Permalink | Reply  

    Fool Therapy 

     
  • Harshad Joshi 4:19 pm on March 21, 2010 Permalink | Reply  

    iphone v/s stone 

    Need I say more? Goodness we dont have a iStone..!

    From mailing lists on the net.

    Posted via email from [root@localhost /root]#

     
  • Harshad Joshi 5:23 am on March 13, 2010 Permalink | Reply
    Tags: , GNU/Linux Kernel, Hackers, Rootkits, Virus, Web Security   

    India Force Linux presents a hardened kernel 

     
  • Harshad Joshi 7:16 am on March 10, 2010 Permalink | Reply  

    Survival Guide for Taking a D… 

    Survival Guide for Taking a Dump at Work (Circular Issued by @harisadu)

    ESCAPEE Definition: A fart that slips out while peeing or forcing poop in a stall. This is usually accompanied by a sudden wave of panic/embarrassment. This is similar to the hot flash you receive when passing an unseen police car and speeding. If you release an escapee, do not acknowledge it. Pretend it did not happen. If you are next to the farter, pretend that you did not hear it. No one likes an escapee, it is uncomfortable for all involved. Making a joke or laughing makes both parties feel uneasy.

    JAILBREAK (Used in conjunction with escapee) Definition: When forcing poop, several farts slip out at a machine gun’s pace. This is usually a side effect of diarrhea or a hangover. If this should happen do not panic, remain in the stall until everyone has left the bathroom so to spare everyone the awkwardness of what just occurred.

    COURTESY FLUSH Definition: The act of flushing the toilet the instant the nose cone of the poop log hits the water and the poop is whisked away to an undisclosed location. This reduces the amount of air time the poop has to stink up the bathroom. This can help you avoid being caught doing the WALK OF SHAME.

    WALK OF SHAME Definition: Walking from the stall, to the sink, to the door after you have just stunk-up the bathroom. This can be a very uncomfortable moment if someone walks in and busts you. As with all farts, it is best to pretend that the smell does not exist. Can be avoided with the use of a COURTESY FLUSH.

    OUT OF THE CLOSET POOPER Definition: A colleague who poops at work and is damn proud of it. You will often see an Out of the Closet Pooper enter the bathroom with a newspaper or magazine under their arm. Always look around the office for the Out of the Closet pooper before entering the bathroom.

    THE POOPING FRIENDS NETWORK (PFN) Definition: A group of coworkers who band together to ensure emergency pooping goes off without incident. This group can help you to monitor the whereabouts of OUT OF THE CLOSET POOPERS and identify SAFE HAVENS.

    SAFE HAVEN Definition: A seldom-used bathroom somewhere in the building where you can least expect visitors. Try floors that are predominantly of the opposite sex. This will reduce the odds of a pooper of your sex entering the bathroom.

    TURD BURGLAR Definition: A pooper who does not realize that you are in the stall and tries to force the door open. This is one of the most shocking and vulnerable moments that occur when taking a dump at work. If this occurs, remain in the stall until the TURD BURGLAR leaves. This way you will avoid all uncomfortable eye contact.

    CAMO-COUGH Definition: A phony cough which alerts all new entrants into the bathroom that you are in a stall. This can be used to cover-up a WATERMELON or to alert potential TURD BURGLARS. Very effective when used in conjunction with an ASTAIRE.

    ASTAIRE Definition: A subtle toe-tap that is used to alert potential TURD BURGLARS that you are occupying a stall. This will remove all doubt that the stall is occupied. If you hear an ASTAIRE, leave the bathroom immediately so the pooper can poop in peace.

    WATERMELON Definition: A turd that creates a loud splash when hitting the toilet water. This is also an embarrassing incident. If you feel a WATERMELON coming on, create a diversion. See CAMO-COUGH.

    HAVANA OMELET Definition: A load of diarrhea that creates a series of loud splashes in the toilet water. Often accompanied by an escapee. Try using a CAMO-COUGH with an ASTAIRE.

    UNCLE TED Definition: A bathroom user who seems to linger around forever. Could spend extended lengths of time in front of the mirror or sitting on the pot. An UNCLE TED makes it difficult to relax while on the crapper, as you should always wait to drop your load when the bathroom is empty. This benefits you as well as the other bathroom attendees.

    FLY BY Definition: The act of scouting out a bathroom before pooping. Walk in, check for other poopers. If there are others in the bathroom, leave and come back again. Be careful not to become a FREQUENT FLYER. People may become suspicious if they catch you constantly going into the bathroom.

    CRACK WHORE Definition: A crapper that has seen more ass than a Greyhound Bus. Telltale signs of a CRACK WHORE include pubes, piss stains and shit streaks. Avoid CRACK WHORES at all cost. Try finding out when the janitor cleans each particular bathroom. Don’t forget, with a good cleaning, a CRACK WHORE can become a SAFE HAVEN.

    FREQUENT FLYER Definition: Someone who keeps going in the bathroom to check if it is empty. This always looks bad for that person.

    Have you ever heard of the “DRAG BUNT?”- that is when you are walking by a bunch of people and farting the whole time, dragging it by the unknowing victims.

    Boss Talk from the legendary Hari Sadu..

    Posted via web from [root@localhost /root]#

     
  • Harshad Joshi 5:37 am on March 10, 2010 Permalink | Reply  

    Outburst on Indian tv media – an old story retold 

    Now that the dust has settled down….

    "Power and Monopoly 
    This is danger 
    Until you have it.."

    Barksha Dutt, Rajdeep Sardesai and many of the english speaking journalists are the entities having misappropriate powers sadely they dont know how to control, they dont even know what exactly their purpose is..

    Are these guys government blackmailers, are these people the lawmakers of the country, are these people supposed to enlighten people, are these people politicos in making?? Galore…!!

    A duty of any kind of journalist is just to put up a news or an event in front of people without altering its meaning or without adding his or her own view in it..

    What do we see?

    "Nothing is evil 
    nothing is bad 
    If you get paid for it.."

    In India, journalists for some reasons believe that they have got an uncontrolled power to speak,write and say anything and everything..On top of it, commercial news channels are busy 'creating' news. Ok, I agree that this new found sector of news channels will take some time to mature, but how long do we have to wait?

    "One month passed by 
    Mumbai moves on 
    Perils of democracy…"

    What did we see on 26/11 attacks? The TV media became the eyes of terrorists..If it hadent for some brave men, a handful of terrorists actually managed to control the Indian commercial capital..why did it happen?

    Again, uncontrolled power…the media made a reality show out of it. I thank God that there were no sms competitions held like 

    ' Which terrorist is the deadliest'
    1. Ajaml Kasab
    2. Lalu Yadav
    3. Amar Singh

    My dear blogger friends. 

    We have got great responsibility on our hands, so many challenges lie ahead of us, we want to build an entire nation, we have to transform enslaved mentality people into confident and faithful, loyal citizens..Its a task we cant leave for politicos nor these journalists..

    Lets not get arrogant like those journos..We are bloggers, Its our space, we will use it for our good purpose and not for mongering around like TV channels…

    I hope we will ignore poor souls like Barkha Dutt, Rajdeep Sardesai, Sagarika Ghosh and all the news channels funded by western money..

    PS- All haiku are written by me,Dr Zen. If you want to copy it somewhere,just tell me, you wont need to pay me money, however, commercial use of haiku s prohibited unless you send me a hefty cheque. ;)_

    This comment is under creative commons, Haikus (c) Dr Zen.

    This was written long time ago, but much of it is relevant today. In between phase the media did try some antics about Jesica Lal etc, it was more out of self interest to stay in news and trick people that its good for them, but nevertheless, the nonsense still continues…

    Posted via email from [root@localhost /root]#

     
  • Harshad Joshi 3:11 pm on March 3, 2010 Permalink | Reply  

    How grad school is similar to kindergarten 

     
  • Harshad Joshi 8:09 am on March 3, 2010 Permalink | Reply  

    Kitchen Haiku 

    Today is Chaturthi and I am having a fast, maybe thats why I am thinking of food all time…

    Here is some kitchen haiku..Enjoy

    mist covers tava
    the master slices butter pav
    crackling aroma rises…

    Have you ever walked across the counter while the expert guy is making the wonderful and irresistible pavbhaji??

    wrapping idli in banana leaf
    the master gets..
    feeling of loneliness

    These south indian restaurants prepare so much fluffy and yummy idli, its like a secret art…parting with their creation, do they feel lonely??

    unwrapped idli
    floats in sambhar
    without silent melancholy

    Aaah…idli and sambhar are unsparable mates…how much joy it brings when we come togather and celebrate.. 🙂

    idli chef recalls
    his fathers voice
    with a silent burp…!

    Thats the best gift…a satisfied burp is mark of a filled stomuch in India.

    Anna wipes the counter
    chef rolls dosa
    round and round..

    Those Shetty hotels are in business by tradition…old habbits are hard to die and true skills rarely fade..so what if the former chef sits on counter, he still remembers the past…

    Posted via email from [root@localhost /root]#

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel