Author Topic: Simple yet useful virus  (Read 29175 times)

0 Members and 4 Guests are viewing this topic.

Offline turiqwalrus

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 840
  • Rating: +51/-2
  • Wheeeeeee~!
    • View Profile
Re: Simple yet useful virus
« Reply #45 on: November 29, 2010, 10:50:51 pm »
here's an update to the bunny virus. this time, it actually forces a RAM clear.

Code: [Select]
999->dim(L1
While 1
SortD(L1)
End

source: TIBasicdev.wikidot.com
has great techniques and stuff for aspiring programmers(like me)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Simple yet useful virus
« Reply #46 on: November 29, 2010, 10:55:56 pm »
You can actually get out of it by holding down ON, though. It will take ages, but the moment it reaches the End or While 1, it will break execution. And yeah TIBD is a nice site to learn TI-BASIC and tricks. I wish it opened five years earlier, when I started TI-83+ BASIC (2001).
« Last Edit: November 29, 2010, 10:56:27 pm by DJ Omnimaga »

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Simple yet useful virus
« Reply #47 on: November 29, 2010, 11:34:48 pm »
Okay this is an alternate version of my previous opcode that displayed a bunch of random symbols. This one displays a bunch of ones and zeroes!

237EE5E601C630EF0445E118F3

Change the 01 for different effects...
You will need to pull a battery out to fix this one...
And it will result in a RAM clear...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Simple yet useful virus
« Reply #48 on: November 30, 2010, 03:42:35 am »
Lol nice :P

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Simple yet useful virus
« Reply #49 on: November 30, 2010, 04:31:21 am »
wouldn't you only need to tap on at any point in the program for it to break at the next possible moment?

oh, and rather classy there, xeda. what kind of different effects, exactly?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Simple yet useful virus
« Reply #50 on: November 30, 2010, 04:34:30 am »
Mhmm now that you mention it, maybe that Sort command won't detect keys held down? I'm not sure anymore.

Offline calcforth

  • LV3 Member (Next: 100)
  • ***
  • Posts: 62
  • Rating: +4/-4
    • View Profile
Re: Simple yet useful virus
« Reply #51 on: November 30, 2010, 05:29:02 am »
Hmm... All these little jokes are interesting, but they are not virii (or is it viruses?): they don't propagate.

It's obviously possible to write proper virus fo TI-OS, but of course it will only be able to propagate when two calcs are connected b wire (since there are no Bluetooth or WiFi on today's calculators). How often does it happen IRL?

P.S. May be we aleady have such a beast?

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Simple yet useful virus
« Reply #52 on: November 30, 2010, 06:43:48 am »
Mhmm now that you mention it, maybe that Sort command won't detect keys held down? I'm not sure anymore.
The ON key is actually an interrupt, so most likely it's not that the sort( command can't have interrupts interrupt it for some reason. Not sure, though. I do know the on key is an interrupt.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Simple yet useful virus
« Reply #53 on: November 30, 2010, 02:18:58 pm »
Hmm... All these little jokes are interesting, but they are not virii (or is it viruses?): they don't propagate.

It's obviously possible to write proper virus fo TI-OS, but of course it will only be able to propagate when two calcs are connected b wire (since there are no Bluetooth or WiFi on today's calculators). How often does it happen IRL?

P.S. May be we aleady have such a beast?
THose jokes are not viruses. They're kinda like fake viruses, since they won't propagate. However, there is one virus that attaches itself to Ion  games when running them by a forum member. This virus was done just to show it can be done, though, and is hard to find online for obvious reasons.
« Last Edit: November 30, 2010, 02:19:06 pm by DJ Omnimaga »

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Simple yet useful virus
« Reply #54 on: November 30, 2010, 02:24:29 pm »
wouldn't you only need to tap on at any point in the program for it to break at the next possible moment?

oh, and rather classy there, xeda. what kind of different effects, exactly?
The 01 is really using and logic on the bits, then adding 30h (C630) If you change the 30 or the 01 (or both) different characters are displayed instead of just 1's and 0's.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Simple yet useful virus
« Reply #55 on: November 30, 2010, 02:29:18 pm »
in Axe is it like this:
Code: [Select]
Repeat getkey(15) --------to break out of this lolcode
rand^2->A
48+A->A
Disp A>char
end
« Last Edit: November 30, 2010, 02:30:42 pm by aeTIos »
I'm not a nerd but I pretend:

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Simple yet useful virus
« Reply #56 on: November 30, 2010, 02:33:15 pm »
Well, it is actually reading bytes from the memory, and using the last bit to add to 30h (so that it is either 30h or 31h being the ASCII for 0 and 1, respectively). I could make it random, though...

Oh, and mine doesn't have an exiting code, though I could add one pretty easily... Should I?

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Simple yet useful virus
« Reply #57 on: November 30, 2010, 02:35:17 pm »
yea, do that!
I'm not a nerd but I pretend:

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Simple yet useful virus
« Reply #58 on: November 30, 2010, 02:44:06 pm »
ED5F07070707E601C630EF0445
3EFED301DB01FEFC20E9C9

Just press down+left to exit....
Can't do that on an emulator, though...

Do you have a specific key in mind?

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Simple yet useful virus
« Reply #59 on: November 30, 2010, 02:44:32 pm »
you mean to leave?

if so not clear as above, too easy, i think multiple keypresses OR one or more randomly generated key(s) (hah very hard to exit)
long live calc viruses! >:D
« Last Edit: November 30, 2010, 02:46:32 pm by aeTIos »
I'm not a nerd but I pretend: