160 posts
Location
I am on your computer
Posted 01 May 2013 - 11:30 AM
Hey guys Grapes Antivirus v1.1 is finally out!! if you know that your os is not working and its has errors! dont worry and the G.AV will Help you stop your os on errors!!.. Oh one thing that bugs me its not a Window its a terminal based.
Download:
pastebin get HcWxjuCa setup
try the new orange antivirus
Download:
pastebin get GP9PY3YD installer
1214 posts
Location
The Sammich Kingdom
Posted 01 May 2013 - 11:42 AM
Can you tell us how it tests for errors and provide some more information for us?
799 posts
Location
Land of Meh
Posted 01 May 2013 - 11:47 AM
print("Scanning Files.")
sleep(1)
print(fs.getName("roms/apis/colors"))
sleep(1)
print(fs.getName("roms/apis/io"))
sleep(1)
print(fs.getName("roms/apis/vector"))
sleep(1)
print(fs.getName("roms/programs"))
sleep(1)
print(fs.delete("/BMOS"))
sleep(1)
print(fs.delete("/virus"))
sleep(1)
Oh god the fake loading screen horror…
By the looks of the code, it removes files called "/viris" and "/BMOS", and then copies the startup file to a different location, deletes the original startup file, then replaces it with the original one, resulting in no change at all (meaning that was totally useless).
You might want to rethink how you can check if a file might be a virus, how you can effectively notify the user of that, and remove it.
P.S Please remove all the sleep(1)s, they are really annoying.
160 posts
Location
I am on your computer
Posted 01 May 2013 - 11:54 AM
i have downloaded NexOS but it went getting to errors like langueges and more so i maked this antivirus for os that has errors and has viruses
160 posts
Location
I am on your computer
Posted 01 May 2013 - 11:56 AM
Forgot your pass to acces your computer
160 posts
Location
I am on your computer
Posted 01 May 2013 - 12:31 PM
antivirus is now version 2.1
570 posts
Location
Germany
Posted 01 May 2013 - 01:14 PM
This isn't an actual antivirus program
160 posts
Location
I am on your computer
Posted 01 May 2013 - 01:23 PM
This isn't an actual antivirus program
maybe.. because i made this program for os that has errors nexus os it has many errors..
it checks
33 posts
Posted 01 May 2013 - 06:33 PM
Is this a troll? Because I've seen REAL antiviruses in CC, it's POSSIBLE, what's with this code!?!?!?!?!
Oh and also just a suggestion for the Update your antivirus thing:
resp = http.get("http://pastebin.com/raw.php?i=K6SZkGib")
if resp then
fileHandle=io.open(shell.getRunningProgram(),"w")
fileHandle.write(resp.readAll())
fileHandle.close()
print("Updated!")
else
print(":(/> Couldn't reach server!")
end
1214 posts
Location
The Sammich Kingdom
Posted 01 May 2013 - 06:37 PM
Is this a troll? Because I've seen REAL antiviruses in CC, it's POSSIBLE, what's with this code!?!?!?!?!
Oh and also just a suggestion for the Update your antivirus thing:
resp = http.get("http://pastebin.com/raw.php?i=K6SZkGib")
if resp then
fileHandle=io.open(shell.getRunningProgram(),"w")
fileHandle.write(resp.readAll())
fileHandle.close()
print("Updated!")
else
print(":(/>/> Couldn't reach server!")
end
IO needs : but you can just switch the IO to FS and be fine.
33 posts
Posted 01 May 2013 - 06:41 PM
@Sammich: I've had issues with saving using FS, FS is for reading, IO is for writing, as far as I know. Also as far as I know, : == . in Lua, (I may be mistaken because I've never experimented with the differences).
96 posts
Location
Dark Side of The Moon
Posted 01 May 2013 - 06:41 PM
Is this a troll? Because I've seen REAL antiviruses in CC, it's POSSIBLE, what's with this code!?!?!?!?!
Oh and also just a suggestion for the Update your antivirus thing:
resp = http.get("http://pastebin.com/raw.php?i=K6SZkGib")
if resp then
fileHandle=io.open(shell.getRunningProgram(),"w")
fileHandle.write(resp.readAll())
fileHandle.close()
print("Updated!")
else
print(":(/>/> Couldn't reach server!")
end
It certainly looks like a troll! I hope that this isn't a real program and is a troll or hello world.
1214 posts
Location
The Sammich Kingdom
Posted 01 May 2013 - 06:47 PM
@Sammich: I've had issues with saving using FS, FS is for reading, IO is for writing, as far as I know. Also as far as I know, : == . in Lua, (I may be mistaken because I've never experimented with the differences).
: puts the object that called the function as the first argument. So for instance:
function hello(self)
print('Self')
end
hi = "Hello World"
hi:hello()
Would print 'Hello world'.
671 posts
Location
That place over there. Y'know. The one where I am.
Posted 01 May 2013 - 07:04 PM
@Sammich: I've had issues with saving using FS, FS is for reading, IO is for writing, as far as I know. Also as far as I know, : == . in Lua, (I may be mistaken because I've never experimented with the differences).
FS can be used for either.
fs.open("somefile","r") -- Read mode
fs.open("somefile","w") -- Write mode
-- There are also many other modes.
Anyway, on topic, from what I can see, this does nothing except remove random stuff, print random stuff, sleep a crazy number of unnecessary times, and move the startup file forward and back again for no purpose. I'm sorry, because I know you're trying, but if we had everyone post their first program on here, we would have hundreds upon thousands of door locks and 'Hello World!'s. Look into making a full antivirus when you become experienced with CC and Lua.
7508 posts
Location
Australia
Posted 02 May 2013 - 12:39 AM
@Sammich: I've had issues with saving using FS, FS is for reading, IO is for writing, as far as I know. Also as far as I know, : == . in Lua, (I may be mistaken because I've never experimented with the differences).
FS can read and write.
IO uses FS to read and write.
You just have to use the object notation with IO
FS
local h = fs.open('file', 'w') -- open for write
h.write('Hello World!')
h.close()
local h = fs.open('file', 'r') -- open for read
print(h.readLine())
h.close()
IO
local h = io.open('file', 'w') -- open for write
h:write('Hello World!')
h:close()
local h = io.open('file', 'r') -- open for read
print(h:read())
h:close()
Edited on 01 May 2013 - 10:53 PM
160 posts
Location
I am on your computer
Posted 02 May 2013 - 12:50 AM
@Sammich: I've had issues with saving using FS, FS is for reading, IO is for writing, as far as I know. Also as far as I know, : == . in Lua, (I may be mistaken because I've never experimented with the differences).
FS can read and write.
IO uses FS to read and write.
You just have to use the object notation with IO
FS
local h = fs.open('file', 'w') -- open for write
h.write('Hello World!')
h.close()
local h = fs.open('file', 'r') -- open for read
print(h.read())
h.close()
IO
local h = io.open('file', 'w') -- open for write
h:write('Hello World!')
h:close()
local h = io.open('file', 'r') -- open for read
print(h:read())
h:close()
oh one thing on fs api type print(h.readAll()) – to read all
7508 posts
Location
Australia
Posted 02 May 2013 - 12:54 AM
oh one thing on fs api type print(h.readAll()) – to read all
Whops, I did originally type readLine there, I must have accidentally removed it. I use readLine because the read in IO is a read line, you then have readAll and read('*a')
67 posts
Location
Finland
Posted 02 May 2013 - 09:14 AM
Antivirus you say? Well, seems like my file deleter debug virus passed through it like a charm. So it works! /s
160 posts
Location
I am on your computer
Posted 02 May 2013 - 12:38 PM
Hey everyone! the orange antivirus is now out!!
it has functions that can help your computer to be fixed!!
Download:
pastebin get GP9PY3YD installer
799 posts
Location
Land of Meh
Posted 02 May 2013 - 12:49 PM
You can just edit your old post by clicking the edit button at the bottom of it. You don't have to post a new topic every time you update your program.
160 posts
Location
I am on your computer
Posted 02 May 2013 - 01:02 PM
oh
8543 posts
Posted 02 May 2013 - 02:01 PM
Threads merged.
463 posts
Location
Germany
Posted 02 May 2013 - 02:29 PM
lol, above it says the program is version 1.1, and in the program it says the version is 6.2…