Piga Software Forum Index
  Register FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in 
Log in to check your private messages  ·  fChat
Piga Virus?

 
Post new topic   Reply to topic    Piga Software Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Graham
Site Admin


Joined: 21 May 2007
Posts: 219
Location: Piga Software HQ, near Seba Beach, Alberta, Canada

PostPosted: Fri Nov 21, 2008 7:54 am    Post subject: Piga Virus? Reply with quote

No, we haven't gone nuts. Laughing I have actually been playing around with some destructive code though. The nice thing about DOS Box is that it allows you to say which directory you want the fake DOS to think is your root directory. So I used this to safely play around with some file and directory deletion code I have in a book on QBasic. There are some scary revelations here, the "KILL" command can take out any file, even one that I removed permissions too. I don't know if this applies to Microsoft Window's file security, but the way the book was talking about it, this is potent stuff! The directory deletion command "RMDIR" does have one limitation I found, you can't delete your root directory ("C:/"), however you can delete "C:/Windows/". Twisted Evil I created a program that creates a directory, and then deletes it, and then repeats. Now, in the spirit of free software, here it is (made in QBasic 4.5):

Code:
DO WHILE PAUSETWO$ = ""
INPUT PAUSEONE
MKDIR "C:/test/"
INPUT PAUSETWO$
IF PAUSETWO$ = "Exit" THEN
END
END IF
RMDIR "C:/test/"
LOOP

_________________
Developer and Web Master for Piga Software, Graham L. Wilson

Fedora GNU/Linux User, Gambas Programmer

Ace Programmer, Future Poor Man. ;-D
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Hamish
Site Admin


Joined: 20 May 2007
Posts: 109
Location: Piga Software HQ, Alberta Canada

PostPosted: Sun Nov 23, 2008 10:56 pm    Post subject: Reply with quote

What is that old Joke, The Linux Honour System Virus?

rmdir /
_________________
BDFL of Piga Software and Forum Administrator, Hamish Wilson

My Blog: http://www.linuxquestions.org/linux/blog/Chargh

"Low-level programming is good for the programmer's soul." - John Carmack, id Software
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
klingoncowboy4
Hog


Joined: 24 May 2007
Posts: 127
Location: Piga Basement

PostPosted: Tue Nov 25, 2008 8:46 pm    Post subject: Reply with quote

If you try running it in a windows nt cmd you might run into a permissions thing if you for example try c:windows
_________________

Free Empires Source Release Two (Linux)
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Piga Software Forum Index -> General Discussion All times are GMT


Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum