Results 1 to 5 of 5

Thread: MS Word and rand()

  1. #1
    Senior Member
    Join Date
    Apr 2002
    Posts
    711

    Thumbs down MS Word and rand()

    Ok, this is probably one of those things going around... to me, it's another reason to hate MS...(then again, even vim will do stupid things like this, out of the box on some machines).

    Go in to MS Word and type :

    Code:
    =rand(5,10)
    Then hit "Enter." (yes, those numbers can be bigger but we'll spare you -- it was initially suggested to me that it should be like (200,99); then again, simply rand() works too, which I think is even more disturbing)


    Surprisingly enough, well... this shouldn't do anything malicious to your machine... I mean, it's just text, right?

    *sigh*
    \"Windows has detected that a gnat has farted in the general vicinity. You must reboot for changes to take affect. Reboot now?\"

  2. #2
    Banned
    Join Date
    Oct 2001
    Posts
    263
    hmmmmm do i sence a M$ word exploit from this little fact? thats scarey.........

  3. #3
    Senior Member
    Join Date
    Apr 2002
    Posts
    711
    Exploit? Well... no... at least I don't think so - I think it'd need a lot more work to make something "bad." I'll refrain from further comment due to some possible minor abuse potential, though...
    \"Windows has detected that a gnat has farted in the general vicinity. You must reboot for changes to take affect. Reboot now?\"

  4. #4
    Banned
    Join Date
    Oct 2001
    Posts
    263
    yeah, whats what im talking about, im not talking about one of thos 'full control' exploits im talking about it just exicuting code without your approval...... etc, i dont know what other code that it does but its still anoying

  5. #5
    Jaded Network Admin nebulus200's Avatar
    Join Date
    Jun 2002
    Posts
    1,356
    I would suspect that the code language underneath it is probably VB or some variant thereof, I remember there is explicit support for it in Access and if memory serves there is an option when installing word for supporting VB or VBscript (can't remember which one) and this is probably what is allowing it to work...

    Out of curiosity, do you have that 'feature' installed ?

    Neb
    There is only one constant, one universal, it is the only real truth: causality. Action. Reaction. Cause and effect...There is no escape from it, we are forever slaves to it. Our only hope, our only peace is to understand it, to understand the 'why'. 'Why' is what separates us from them, you from me. 'Why' is the only real social power, without it you are powerless.

    (Merovingian - Matrix Reloaded)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •