Automatic Execution
Author |
Message |
lord_pwnerer
|
Posted: Sat Nov 04, 2006 8:03 pm Post subject: Automatic Execution |
|
|
Does anybody know of a way for a turing stand-alone program to execute itself automatically without manual execution by the user? (Yes I do understand the potential threats of this information) I understand that turing might not be the best language to do this in, but I'm only starting to learn Java.
Thanks |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
neufelni
|
Posted: Sat Nov 04, 2006 8:37 pm Post subject: (No subject) |
|
|
The only way that I know of to do this would be to add it as a scheduled task in your Control Panel. |
|
|
|
|
![](images/spacer.gif) |
berrberr
![](http://compsci.ca/v3/uploads/user_avatars/195949571845ae93b607ebb.png)
|
Posted: Sat Nov 04, 2006 8:39 pm Post subject: (No subject) |
|
|
Well this is basically how you do it:
code: | Sys.Exec ("your_program.exe") |
What do yah wanna use this for anyways? Hope its for a good purpose... |
|
|
|
|
![](images/spacer.gif) |
Dan
![](http://wiki.compsci.ca/images/archive/3/3c/20100325043407!Danspic.gif)
|
Posted: Sat Nov 04, 2006 9:39 pm Post subject: (No subject) |
|
|
berrberr wrote: Well this is basically how you do it:
code: | Sys.Exec ("your_program.exe") |
What do yah wanna use this for anyways? Hope its for a good purpose...
That whould only be usefull if you whonted to execute your progam from in your program, lol.
For a windows system you whould need to edit the regisitry, edit the boot config files, or place a shortcut to or the program in the windows start menu startup floder. In any case you whould have to make your program do this befor it could be started automaticalky or you our self whould have to do this to the user computer.
If you are trying to make a virus or somthing on the evil side of things turing will not work well since it allways shows a window when excuting and the ablitys are turing are quite limited when it comes to effecting the computer. The best it could do is delete files that are no crictacal to the operation of the computer and eat up memeory by copying it's self. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
![](images/spacer.gif) |
berrberr
![](http://compsci.ca/v3/uploads/user_avatars/195949571845ae93b607ebb.png)
|
Posted: Sat Nov 04, 2006 10:14 pm Post subject: (No subject) |
|
|
Damn I read the question wrong =.=. But to make your program start up automatically up on a windows startup you need to edit the registry key containing startup info, as Hacker Dan said. |
|
|
|
|
![](images/spacer.gif) |
[Gandalf]
![](http://compsci.ca/v3/uploads/user_avatars/189297994e4c716fec7f1.png)
|
Posted: Sun Nov 05, 2006 12:15 am Post subject: (No subject) |
|
|
Hacker Dan wrote: If you are trying to make a virus or somthing on the evil side of things turing will not work well since it allways shows a window when excuting
Not so.
And, in any case, I don't think Turing can edit the registry... Though I've never really tried it, so, could it? |
|
|
|
|
![](images/spacer.gif) |
Dan
![](http://wiki.compsci.ca/images/archive/3/3c/20100325043407!Danspic.gif)
|
Posted: Sun Nov 05, 2006 2:45 pm Post subject: (No subject) |
|
|
[Gandalf] wrote: Hacker Dan wrote: If you are trying to make a virus or somthing on the evil side of things turing will not work well since it allways shows a window when excuting
Not so.
And, in any case, I don't think Turing can edit the registry... Though I've never really tried it, so, could it?
It can, by making a registery file and then exucting it with Sys.exec. Tho i am intrested in how you whould make a truing program not display the window once complied. Maybe you could run it as a background service? Or maybe turing has changed since i used it alot back in 3.x versons ![Razz Razz](http://compsci.ca/v3/images/smiles/icon_razz.gif) |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
![](images/spacer.gif) |
[Gandalf]
![](http://compsci.ca/v3/uploads/user_avatars/189297994e4c716fec7f1.png)
|
Posted: Sun Nov 05, 2006 5:34 pm Post subject: (No subject) |
|
|
Window.Hide(). ![Wink Wink](http://compsci.ca/v3/images/smiles/icon_wink.gif) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Clayton
![](http://compsci.ca/v3/uploads/user_avatars/1718239683472e5c8d7e617.jpg)
|
Posted: Sun Nov 05, 2006 6:56 pm Post subject: (No subject) |
|
|
actually until your program outputs something to the screen it will never open an individual window ![Wink Wink](http://compsci.ca/v3/images/smiles/icon_wink.gif) |
|
|
|
|
![](images/spacer.gif) |
Dan
![](http://wiki.compsci.ca/images/archive/3/3c/20100325043407!Danspic.gif)
|
Posted: Sun Nov 05, 2006 10:17 pm Post subject: (No subject) |
|
|
wow, i guse you do learn somthing every day. But the point still remains that turing is not the best langue to make virues or mulicues programs as (acording to tom west and holth soft) some effort was done well making turing to make it iceloated from the computer so you could not mess much up.
However since you still have access to the comand line you could have some fun with a turgin horses type program using the net comands. Aucatly i blive some one has made a torgin horses in turing befor and posted it some where on the site with alot of warnings. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
![](images/spacer.gif) |
rdrake
![](http://compsci.ca/v3/uploads/user_avatars/113417932472fc6c9cd916.png)
|
Posted: Sun Nov 05, 2006 10:48 pm Post subject: (No subject) |
|
|
Hacker Dan wrote: wow, i guse you do learn somthing every day. But the point still remains that turing is not the best langue to make virues or mulicues programs as (acording to tom west and holth soft) some effort was done well making turing to make it iceloated from the computer so you could not mess much up. Don't be so sure, Dan. Virii are often made from modifying another virus.
That being said, I second the windows task scheduler idea. |
|
|
|
|
![](images/spacer.gif) |
|
|