473,669 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Expert, self destruction program

Hi
i need some help
i'm trying to make a program that make a self erase, this is not easy task because a
file in excecution keep blocked as read-only and no one can't erase or write it, not
even in ring0.
i think that the solution is to make another new process resident in memory that wait
for the original program to quit and then erase it, but no idea how to do it.
i will apreciate any help or ideas
Thx
--
--------------------------------- --- -- -
Posted with NewsLeecher v3.8 Final
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -
Sep 11 '07 #1
1 2020
On 11 Zá , 23:12, DeakKill (deathki...@hot mail.com) wrote:
Hi
i need some help
i'm trying to make a program that make a self erase, this is not easy task because a
file in excecution keep blocked as read-only and no one can't erase or write it, not
even in ring0.
i think that the solution is to make another new process resident in memory that wait
for the original program to quit and then erase it, but no idea how to doit.
i will apreciate any help or ideas
Thx

--
--------------------------------- --- -- -
Posted with NewsLeecher v3.8 Final
Web @http://www.newsleecher .com/?usenet
------------------- ----- ---- -- -
Answer to your question is operating system specific. There are many
systems, where running program may be erased from disc. You are
probably using windows (because , so I suggest to ask in some Win32
group.

Sep 11 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3101
by: | last post by:
This could possibly be a bug, but I don't understand it fully so I'm posting here first. Searching the list told me other people are having this problem too. I have created a class which inherits popen2.Popen3. The problem is that popen2.Popen3 does not define a __del__ method to handle proper closing of the pipes or destruction of the process. So I created one in my class:
1
2050
by: Mad Programmer | last post by:
I want to create a security system that will nuke the computer if an unauthorized person tries to access my system. How can I create such a program?
9
2997
by: plahey | last post by:
I have been dabbling in Python for a while now. One of the things that really appeals to me is that I can seem to be able to use C++-style RAII idioms to deal with resource management issues. For those that have no idea what I am talking about (I learn a lot reading posts on subjects in which I am clueless), consider the following code snippet: for line in file(name): ...print line,
6
2249
by: Pablo | last post by:
Hello, I am writing a windows application using C++ and BorlandBuilder 6 compiler. It is an event driven program and I need to create objects of some classes written by me. One of the classes contains a pointer to int values as a filed. In the definition (implementation) of constructor I use this pointer to create table of int values with the new operator. The number of elements of the table is provided by the user during execution of the...
9
8367
by: potholer | last post by:
I have been asked to create a self deleting exe, it has been a curious task that has proved fruitless I have searched in various places but to no avail I can do it in vb6 using a batch file, but I have been advised it would be better to use C or C++ does anyone know how to do this and the call it from vb6? thanks in advance
9
2225
by: Daniel | last post by:
Looking to see if anyone can offer some suggestions on some good VB.net books? looking for beginner to intermidiate and to expert.. Any suggestions? -- ASP, SQL2005, DW8 VBScript
0
708
by: Nitu Thakkar | last post by:
Hello, Every One I am BCA Student & Have To Delelop the Project Based On ASP.NET & VB.NET in which I Have three major process. 1. student login & query process 2. expert login & solution process 3. administrative process Please Give Me The Information that which is the better way for login the experts & students if stu & expert can login by there self or
8
370
by: kvt | last post by:
Hi, One of my friend puzzled me to write a program which destructs itself. i.e, by the time it stops execution, its executable file should be deleted. I tried a lot like a) using " system() function to deleted the running program" result: Access denied
0
8465
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8895
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8588
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6210
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5682
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4386
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2032
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.