Jump to content




Format - Format your computer


  • This topic is locked This topic is locked
37 replies to this topic

#1 logsys

  • Members
  • 171 posts

Posted 01 May 2014 - 08:22 AM

Format Utility

A really simple utility! Just run and it deletes everything!(Except Read-Only files)
Good for OS uninstall and hidden files erasing(including virus)

Download: pastebin run ze5FEEU7

THIS UTILITY IS USELESS:
Issue "rm *" in the shell to do the same thing as this.
The utility only stays in forums because it can be useful for some users to learn. Thanks for your support

Edited by logsys, 21 May 2014 - 06:39 PM.


#2 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 01 May 2014 - 10:58 AM

remove label
break computer
place computer

no http required.
i dont mean to be negative but to tyhis is pretty useless,
BUT its cool anyways :)

#3 logsys

  • Members
  • 171 posts

Posted 01 May 2014 - 11:04 AM

break will change ID's, for some rednet stuff you might not want that

#4 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 18 May 2014 - 11:14 AM

Cool, now I don't have to write my own OS-uninstaller (you saved up my 2 minutes).

#5 ardera

  • Members
  • 503 posts
  • LocationGermany

Posted 18 May 2014 - 11:35 AM

View Postlogsys, on 01 May 2014 - 11:04 AM, said:

break will change ID's, for some rednet stuff you might not want that
well that rednet stuff is deleted anyway then.
I never needed this, no one ever needed this, this shouldn't be even called a program. You think people are gonna search your forum thread to download some code snippet to erase all their data? No. No one will. Your program can be replicated in 10 seconds.

#6 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 18 May 2014 - 04:15 PM

View Postardera, on 18 May 2014 - 11:35 AM, said:

View Postlogsys, on 01 May 2014 - 11:04 AM, said:

break will change ID's, for some rednet stuff you might not want that
well that rednet stuff is deleted anyway then.
I never needed this, no one ever needed this, this shouldn't be even called a program. You think people are gonna search your forum thread to download some code snippet to erase all their data? No. No one will. Your program can be replicated in 10 seconds.
In 10 seconds?
Download is 2 seconds :-)
But you're right, this program is useless.

#7 logsys

  • Members
  • 171 posts

Posted 18 May 2014 - 09:22 PM

View PostKonlab, on 18 May 2014 - 04:15 PM, said:

View Postardera, on 18 May 2014 - 11:35 AM, said:

View Postlogsys, on 01 May 2014 - 11:04 AM, said:

break will change ID's, for some rednet stuff you might not want that
well that rednet stuff is deleted anyway then.
I never needed this, no one ever needed this, this shouldn't be even called a program. You think people are gonna search your forum thread to download some code snippet to erase all their data? No. No one will. Your program can be replicated in 10 seconds.
In 10 seconds?
Download is 2 seconds :-)
But you're right, this program is useless.
I built this program for newbies who don't know this, you already were one of them, weren't you?

#8 apemanzilla

  • Members
  • 1,421 posts

Posted 19 May 2014 - 12:52 PM

View Postlogsys, on 01 May 2014 - 08:22 AM, said:

Format Utility

A really simple utility! Just run and it deletes everything!(Except Read-Only files)
Good for OS uninstall and hidden files erasing(including virus)

Download: pastebin run ze5FEEU7

A well coded virus could easily hide itself and prevent deletion of itself.

#9 logsys

  • Members
  • 171 posts

Posted 19 May 2014 - 02:28 PM

View Postapemanzilla, on 19 May 2014 - 12:52 PM, said:

View Postlogsys, on 01 May 2014 - 08:22 AM, said:

Format Utility

A really simple utility! Just run and it deletes everything!(Except Read-Only files)
Good for OS uninstall and hidden files erasing(including virus)

Download: pastebin run ze5FEEU7

A well coded virus could easily hide itself and prevent deletion of itself.

Those virus would not be able to be removed in anyway, but deleting on the world folder or just breaking the computer, although that will change the ID as mentioned before

#10 apemanzilla

  • Members
  • 1,421 posts

Posted 19 May 2014 - 03:50 PM

View Postlogsys, on 19 May 2014 - 02:28 PM, said:

View Postapemanzilla, on 19 May 2014 - 12:52 PM, said:

View Postlogsys, on 01 May 2014 - 08:22 AM, said:

Format Utility

A really simple utility! Just run and it deletes everything!(Except Read-Only files)
Good for OS uninstall and hidden files erasing(including virus)

Download: pastebin run ze5FEEU7

A well coded virus could easily hide itself and prevent deletion of itself.

Those virus would not be able to be removed in anyway, but deleting on the world folder or just breaking the computer, although that will change the ID as mentioned before
Not true. A smart user could easily remove said virus with a disk.

#11 logsys

  • Members
  • 171 posts

Posted 19 May 2014 - 04:18 PM

View Postapemanzilla, on 19 May 2014 - 03:50 PM, said:

View Postlogsys, on 19 May 2014 - 02:28 PM, said:

View Postapemanzilla, on 19 May 2014 - 12:52 PM, said:

View Postlogsys, on 01 May 2014 - 08:22 AM, said:

Format Utility

A really simple utility! Just run and it deletes everything!(Except Read-Only files)
Good for OS uninstall and hidden files erasing(including virus)

Download: pastebin run ze5FEEU7

A well coded virus could easily hide itself and prevent deletion of itself.

Those virus would not be able to be removed in anyway, but deleting on the world folder or just breaking the computer, although that will change the ID as mentioned before
Not true. A smart user could easily remove said virus with a disk.

Thats also true, but let's not consider a disk as a method to engage the "anti-virus" cause there is no possible way of tricking the anti-virus, unless you know what anti-virus you are dealing with and then possibly mutate you code so it doesn't detect it.. also, if it had an AI, it could manage to not being deleted

Edited by logsys, 19 May 2014 - 04:20 PM.


#12 apemanzilla

  • Members
  • 1,421 posts

Posted 19 May 2014 - 04:30 PM

View Postlogsys, on 19 May 2014 - 04:18 PM, said:

Thats also true, but let's not consider a disk as a method to engage the "anti-virus" cause there is no possible way of tricking the anti-virus, unless you know what anti-virus you are dealing with and then possibly mutate you code so it doesn't detect it.. also, if it had an AI, it could manage to not being deleted
1. You mean virus.
2. If you boot it from a disk with a blank startup, the virus can't do crap unless you run it manually.
3. It can't touch your code unless you start it manually, see above.
4. Why would there be an AI again?

Edited by apemanzilla, 19 May 2014 - 04:31 PM.


#13 logsys

  • Members
  • 171 posts

Posted 19 May 2014 - 04:41 PM

View Postapemanzilla, on 19 May 2014 - 04:30 PM, said:

View Postlogsys, on 19 May 2014 - 04:18 PM, said:

Thats also true, but let's not consider a disk as a method to engage the "anti-virus" cause there is no possible way of tricking the anti-virus, unless you know what anti-virus you are dealing with and then possibly mutate you code so it doesn't detect it.. also, if it had an AI, it could manage to not being deleted
1. You mean virus.
2. If you boot it from a disk with a blank startup, the virus can't do crap unless you run it manually.
3. It can't touch your code unless you start it manually, see above.
4. Why would there be an AI again?
1. True
2. Also true, but again, that overrides the main startup, where in a normal computer(irl) it doesn't.
3. "mutate your code so it doesn't detect it"
4. The AI would mutate the code so, if ran a anti-virus(instead of a blank startup) it would survive the "murder" attempt

Edited by logsys, 19 May 2014 - 04:42 PM.


#14 apemanzilla

  • Members
  • 1,421 posts

Posted 19 May 2014 - 07:22 PM

View Postlogsys, on 19 May 2014 - 04:41 PM, said:

View Postapemanzilla, on 19 May 2014 - 04:30 PM, said:

View Postlogsys, on 19 May 2014 - 04:18 PM, said:

Thats also true, but let's not consider a disk as a method to engage the "anti-virus" cause there is no possible way of tricking the anti-virus, unless you know what anti-virus you are dealing with and then possibly mutate you code so it doesn't detect it.. also, if it had an AI, it could manage to not being deleted
1. You mean virus.
2. If you boot it from a disk with a blank startup, the virus can't do crap unless you run it manually.
3. It can't touch your code unless you start it manually, see above.
4. Why would there be an AI again?
1. True
2. Also true, but again, that overrides the main startup, where in a normal computer(irl) it doesn't.
3. "mutate your code so it doesn't detect it"
4. The AI would mutate the code so, if ran a anti-virus(instead of a blank startup) it would survive the "murder" attempt
2. This is computercraft, and a disk with a startup file ALWAYS takes priority over the built in startup. So, make a new disk with a blank computer, attach it, and boot the computer and you've got normal shell with unrestricted access again.
3. Hiding files from the code involves overriding the fs and io APIs, which is not reboot-safe so it requires code to be re-run very time it boots. If you boot from an uninflected disk, you don't have that problem.
4. That wouldn't be an AI. An AI learns as it is exposed to new things generally. This is simply an automated task that runs whenever a disk is connected.

Additionally, running "rm *" in the shell should accomplish the same task as this.

Edited by apemanzilla, 19 May 2014 - 07:23 PM.


#15 logsys

  • Members
  • 171 posts

Posted 19 May 2014 - 08:54 PM

View Postapemanzilla, on 19 May 2014 - 07:22 PM, said:

View Postlogsys, on 19 May 2014 - 04:41 PM, said:

View Postapemanzilla, on 19 May 2014 - 04:30 PM, said:

View Postlogsys, on 19 May 2014 - 04:18 PM, said:

Thats also true, but let's not consider a disk as a method to engage the "anti-virus" cause there is no possible way of tricking the anti-virus, unless you know what anti-virus you are dealing with and then possibly mutate you code so it doesn't detect it.. also, if it had an AI, it could manage to not being deleted
1. You mean virus.
2. If you boot it from a disk with a blank startup, the virus can't do crap unless you run it manually.
3. It can't touch your code unless you start it manually, see above.
4. Why would there be an AI again?
1. True
2. Also true, but again, that overrides the main startup, where in a normal computer(irl) it doesn't.
3. "mutate your code so it doesn't detect it"
4. The AI would mutate the code so, if ran a anti-virus(instead of a blank startup) it would survive the "murder" attempt
2. This is computercraft, and a disk with a startup file ALWAYS takes priority over the built in startup. So, make a new disk with a blank computer, attach it, and boot the computer and you've got normal shell with unrestricted access again.
3. Hiding files from the code involves overriding the fs and io APIs, which is not reboot-safe so it requires code to be re-run very time it boots. If you boot from an uninflected disk, you don't have that problem.
4. That wouldn't be an AI. An AI learns as it is exposed to new things generally. This is simply an automated task that runs whenever a disk is connected.

Additionally, running "rm *" in the shell should accomplish the same task as this.
3. If you programmed you virus to appear to be a program that wouldn't be suspicious, if a anti-virus was ran it would not detect, because the anti-virus ill check if the code matches, changing a bit will confuse the anti-virus.
5.... I didn't know that, but its always a challenge to make this program

#16 CometWolf

  • Members
  • 1,283 posts

Posted 19 May 2014 - 09:48 PM

Quote

3. If you programmed you virus to appear to be a program that wouldn't be suspicious, if a anti-virus was ran it would not detect, because the anti-virus ill check if the code matches, changing a bit will confuse the anti-virus.
This would still require you to override the fs API, meaning you'd be better off just preventing acess to it through fs at all.

#17 apemanzilla

  • Members
  • 1,421 posts

Posted 20 May 2014 - 12:44 PM

View PostCometWolf, on 19 May 2014 - 09:48 PM, said:

Quote

3. If you programmed you virus to appear to be a program that wouldn't be suspicious, if a anti-virus was ran it would not detect, because the anti-virus ill check if the code matches, changing a bit will confuse the anti-virus.
This would still require you to override the fs API, meaning you'd be better off just preventing acess to it through fs at all.
...and to override the fs API you would need to have code run before the user starts messing with it, which means a disk with a blank startup still comes out on top.

#18 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 21 May 2014 - 06:14 AM

Just unload fs API:
os.unloadAPI("fs")
And unload os API:
os.unloadAPI("os") (XD)
And done... You can't reboot the computer, the edit don't works, you can't do anything to delete it...

#19 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 21 May 2014 - 09:05 AM

View PostKonlab, on 21 May 2014 - 06:14 AM, said:

Just unload fs API:
os.unloadAPI("fs")
And unload os API:
os.unloadAPI("os") (XD)
And done... You can't reboot the computer, the edit don't works, you can't do anything to delete it...
Disk drive on top with a black startup disk. bypassed.

#20 apemanzilla

  • Members
  • 1,421 posts

Posted 21 May 2014 - 12:26 PM

Also, you could attempt to override the top level coroutine to get access to this functions again (unless I'm forgetting how os.unloadAPI works)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users