NXT Virus

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
dudmaster
Posts: 171
Joined: 06 Oct 2010, 02:38
Location: Texas, Santa Fe
Contact:

Re: NXT Virus

Post by dudmaster »

Wow. I made a virus on my NXT to!

Code: Select all

task main()
{
ClearScreen();
SetAbortFlag(BTNSTATE_NONE);
while (true)
{
ResetSleepTimer();
}
}
2Labz.com, My Website
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: NXT Virus

Post by mattallen37 »

But you could stop that one with a computer. Muntoo's, you can't.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: NXT Virus

Post by afanofosc »

A virus is only a virus if it can spread. Otherwise it's just a really stupid program that you shouldn't download to your NXT. Muntoo's program is nasty but, as Matt mentioned, dudmaster's can be easily stopped via a direct command from another device, such as a computer.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
tcwan
Posts: 186
Joined: 30 Sep 2010, 07:39

Re: NXT Virus

Post by tcwan »

Since we're on this topic, shouldn't RebootInFirmwareMode() have some safety features so that it doesn't get executed without some sort of user consent?
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: NXT Virus

Post by muntoo »

tcwan wrote:Since we're on this topic, shouldn't RebootInFirmwareMode() have some safety features so that it doesn't get executed without some sort of user consent?
The "user consent" is you downloading it to your NXT and running it.
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
dudmaster
Posts: 171
Joined: 06 Oct 2010, 02:38
Location: Texas, Santa Fe
Contact:

Re: NXT Virus

Post by dudmaster »

HEY! You just stole my program!

For FLL, i was thinking about shutting down the other robot for good!, or just freeze it permanently!

That was evil
2Labz.com, My Website
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: NXT Virus

Post by muntoo »

Dud,

What are you talking about? :?:
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
dudmaster
Posts: 171
Joined: 06 Oct 2010, 02:38
Location: Texas, Santa Fe
Contact:

Re: NXT Virus

Post by dudmaster »

- removed -
2Labz.com, My Website
physics-matt
Posts: 76
Joined: 29 Sep 2010, 06:57

Re: NXT Virus

Post by physics-matt »

dudmaster wrote: For FLL, i was thinking about shutting down the other robot for good!, or just freeze it permanently!
I sincerely hope you're not serious about that. First of all, you'd be breaking more rules than I care to count and second, you'd have to be a complete sociopath to do something so malicious to other teams.

Matt
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: NXT Virus

Post by mightor »

Thread locked.
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Locked

Who is online

Users browsing this forum: Semrush [Bot] and 12 guests