Jump to content




TNT Team's programs [1.31][cc get][vandie's programs]

lua computer turtle

112 replies to this topic

Poll: TNT Team's programs [1.31][cc get][vandie's programs] (37 member(s) have cast votes)

what should we add to antivirus

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.
Vote

#21 bbqroast

  • Members
  • 124 posts

Posted 23 March 2012 - 06:27 PM

How about you make a table of code. Then users send in both clean and dangerous code. When a user sends a virus for each line of code you search the table for that line (and create it if it isn't there) then you increase the value in the third column by one. You do the opposite for good programs adding one to the number in the second column. Example
Line | good | bad
----------------------------------------------
rednet.send() | 25 | 2 // Rednet send has a positive value of 25 it is used in good programs most of the time.
write() | 12 | 10 // Used in both positive and negative programs, but mainly positive ones.
etc

From this you can gain a rating of each program by looking for each function and adding its good and bad values to a total for that program. If the bad value is high then something is up.

#22 Liraal

  • New Members
  • 477 posts
  • LocationPoland

Posted 23 March 2012 - 06:33 PM

actually i think that is a good idea, a reliable base of a pseudo-heuristic detecting software. i can help code this if you want.

#23 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 23 March 2012 - 06:53 PM

I would help as well ;D

#24 Ian-Moone

    The Germ

  • New Members
  • 124 posts
  • LocationLiverpool (no I am not a Scouser Im form Holland)

Posted 23 March 2012 - 07:22 PM

yes please

#25 Zer0t3ch

  • Members
  • 33 posts
  • LocationIllinois, USA

Posted 23 March 2012 - 09:36 PM

As for TurtleBomb, rather than making people waste a redstone torch, just use

redstone.setOutput('forward', true)


#26 Zer0t3ch

  • Members
  • 33 posts
  • LocationIllinois, USA

Posted 23 March 2012 - 09:40 PM

Also, I would love to help on the antivirus. I like the table idea, but I don't know a lot about tables, but I could learn. Also, you can test on my server. All of us coders could attempt to create a virus that the antivirus can't protect against. Sound good? PM me and lemme know what you think of me helping and/or using my server.

#27 Ian-Moone

    The Germ

  • New Members
  • 124 posts
  • LocationLiverpool (no I am not a Scouser Im form Holland)

Posted 24 March 2012 - 08:38 AM

turtlebomb no longer needs a redstone torch thanks


Zer0t3ch

and as quite a few people want to help out i decided that the antivirus will be a team program and as such will make a list of the people who have asked to be in it and are in it! :(/>


thanks

vandie



#28 Ian-Moone

    The Germ

  • New Members
  • 124 posts
  • LocationLiverpool (no I am not a Scouser Im form Holland)

Posted 24 March 2012 - 09:14 AM

Wolvan has joined the team :(/>

#29 Ludburghmdm

  • New Members
  • 67 posts

Posted 25 March 2012 - 02:07 AM

Bump?

#30 Ian-Moone

    The Germ

  • New Members
  • 124 posts
  • LocationLiverpool (no I am not a Scouser Im form Holland)

Posted 25 March 2012 - 08:34 AM

thanks for the bump...

anyway
Zer0t3ch joined the team

#31 Ian-Moone

    The Germ

  • New Members
  • 124 posts
  • LocationLiverpool (no I am not a Scouser Im form Holland)

Posted 25 March 2012 - 10:33 AM

Liraal joined the team

#32 Ludburghmdm

  • New Members
  • 67 posts

Posted 25 March 2012 - 01:42 PM

Your Welcome!

#33 Ludburghmdm

  • New Members
  • 67 posts

Posted 26 March 2012 - 11:48 PM

I made a slightly edited version that doesn't need StrUtils. Because the code is already embedded in the program so no need for "strutils.contains(blah, blah)" all you have to type is "contains(blah, blah)" :o/>

Oh and i changed the caps in the startup message and the checking for viruses message and also the "Recommended Restart" message.

Sorry if this was pointless :o/> But the embedded StrUtils must be useful since you don't need "strutils.contains()" just "contains" and you don't have
to install StrUtils

The modded ZIP is attached

(And this was secretly a "bump")

#34 Ian-Moone

    The Germ

  • New Members
  • 124 posts
  • LocationLiverpool (no I am not a Scouser Im form Holland)

Posted 27 March 2012 - 04:22 PM

thanks
also I loled so hard when i saw 'secret bump'

#35 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 27 March 2012 - 04:23 PM

Something I can help you with?

#36 Ian-Moone

    The Germ

  • New Members
  • 124 posts
  • LocationLiverpool (no I am not a Scouser Im form Holland)

Posted 27 March 2012 - 04:24 PM

yer

#37 Ian-Moone

    The Germ

  • New Members
  • 124 posts
  • LocationLiverpool (no I am not a Scouser Im form Holland)

Posted 27 March 2012 - 08:12 PM

View PostLudburghmdm, on 26 March 2012 - 11:48 PM, said:

I made a slightly edited version that doesn't need StrUtils. Because the code is already embedded in the program so no need for "strutils.contains(blah, blah)" all you have to type is "contains(blah, blah)" :o/>

Oh and i changed the caps in the startup message and the checking for viruses message and also the "Recommended Restart" message.

Sorry if this was pointless :o/> But the embedded StrUtils must be useful since you don't need "strutils.contains()" just "contains" and you don't have
to install StrUtils

The modded ZIP is attached

(And this was secretly a "bump")

thanks this is now the Official release if that's ok with you

#38 Resistance128

  • New Members
  • 9 posts

Posted 27 March 2012 - 09:48 PM

You might also want to protect against viruses that put:

repeat
print("Random Text Here")
input = read()
until input == "Random characters here"

Into the startup file. I use this line of code quite a lot when making a lock program, however It can be a pain when its in the startup file and you dont know how to use Ctrl+T.

#39 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 27 March 2012 - 10:22 PM

View PostResistance128, on 27 March 2012 - 09:48 PM, said:

You might also want to protect against viruses that put:

repeat
print("Random Text Here")
input = read()
until input == "Random characters here"

Into the startup file. I use this line of code quite a lot when making a lock program, however It can be a pain when its in the startup file and you dont know how to use Ctrl+T.
You can make it impossible to terminate with the simple line
os.pullEvent=os.pullEventRaw
at the top of your code :o/>

#40 Ian-Moone

    The Germ

  • New Members
  • 124 posts
  • LocationLiverpool (no I am not a Scouser Im form Holland)

Posted 28 March 2012 - 07:01 AM

will try i now got a list of 50 viruses i gotta protect against





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users