Guess what this 5.5kb program does.

This is a discussion on Guess what this 5.5kb program does. within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I figure that a user who has been around as long as Cool August probably won't try posting a virus ...

  1. #16
    Moderately Rabid Decrypt's Avatar
    Join Date
    Feb 2005
    Location
    Milwaukee, WI, USA
    Posts
    300
    I figure that a user who has been around as long as Cool August probably won't try posting a virus or spyware on a message board, plus, a group of C/C++ programmers is probably the wrong group to try to victimize.
    Me too, but I also figure that since he's asking, it's obviously not what I'll think it does. As I have almost zero knowledge of how to figure out what a program is really doing when it's running, and the program in question is trying to trick me, I really don't stand a chance. Besides, he asked me to guess and it was the first thing that came to my head.
    There is a difference between tedious and difficult.

  2. #17
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    I won't execute a binary COM program w/o knowing what it does.

  3. #18
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    >> It does nothing
    Yes ... it does.

    >> No offence but posting something like this seems really dumb to me.
    None taken.

    >> Why Twice?
    >> Why Twice?
    Hmmm ... you got me there.

    BTW: I fixed the parse error on my site.

    >> I figure that a user who has been around as long as
    >> Cool August probably won't try posting a virus or spyware
    >> on a message board, plus, a group of C/C++ programmer
    >> is probably the wrong group to try to victimize.
    No, it's not a virus or spyware, or anything that's going to hurt your computer.
    I mean, when you think about it, what kind of spyware are you going to put in a 5.50kb file?

    >> I won't execute a binary COM program w/o knowing what it does.
    It's not a COM program, I had to change the extention from .exe to .com to get the server to let me upload it. And .com will still execute on a system without renaming.


    *hint* hkey
    Last edited by Queatrix; 10-12-2006 at 08:13 AM.

  4. #19
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    Doesn't take many commands to make something that copies itself to another place in memory.

  5. #20
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,852
    > what kind of spyware are you going to put in a 5.50kb file?
    Well since old viruses used to fit in a couple of hundred bytes, and there was once a chess program for the zx81 in all of 1K, who knows. Could be an entire OS.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  6. #21
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    Isn't there a like 80kb FPS game that does proceddually generated graphics?

  7. #22
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    Yes, kkreiger
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  8. #23
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    > what kind of spyware are you going to put in a 5.50kb file?
    Back in my day, the operating system fit in one byte, and the viruses fit in a nibble
    Programming Your Mom. http://www.dandongs.com/

  9. #24
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    DOS viruses used to be about 100-200 bytes and could do anything, I think they used DEBUG command
    They just edited some memory at some location.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  10. #25
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    It's not a virus, okay?

  11. #26
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    We're not suspecting it's a virus. We are just discussing how small programs can be.

    BTW, I once made a 1.25Kb PE.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  12. #27
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,581
    Quote Originally Posted by Queatrix
    It's not a virus, okay?
    Why don't you simply say what it does for those that actually care and be done with it.

    Is it that hard for you to understand most people aren't willing to download an executable from someone they don't know? Especially when they are asked to find out what it does? Are you dense?
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  13. #28
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    >> Is it that hard for you to understand most people aren't
    >> willing to download an executable from someone they don't know?
    I see you point.

    >> Are you dense?
    I resent that.

    It places a sz value in the registry.

  14. #29
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,581
    > It places a sz value in the registry.

    Thank you. Now we know what it does and we may better decide if we want to download and run it or not. Was it that hard?
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  15. #30
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,262
    >> It places a sz value in the registry.
    ... and the benifit of that is ...

    >> chess program for the zx81 in all of 1K ...
    With AI and all?

Page 2 of 4 FirstFirst 1234 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Automating program B based on program A's actions
    By AELCoder in forum C Programming
    Replies: 3
    Last Post: 06-13-2008, 12:14 PM
  2. Random number + guessing game trouble
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-08-2007, 04:33 AM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  4. redirection program help needed??
    By Unregistered in forum Linux Programming
    Replies: 0
    Last Post: 04-17-2002, 06:50 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21