hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

x1`
ok when i launched the .bat file it opens a exe , but how can i make it so it closes the process straight after its opened
Antil
add a small line to the .bat file in which you tell it to kill the process smile.gif

like: pskill.exe xxx.exe

wink.gif
x1`
do i need the app pskill.exe?
Antil
yes, it will probably need to be in the same dir smile.gif

hxxp://www.sysinternals.com/ntw2k/freeware/pskill.shtml
x1`
ok is there away to maybe do pskill after 30 secs or so , cause doing pskill i feel it does it to quick before its even loaded i think , i need to do some tests biggrin.gif

this is what i have

@echo off

REGEDIT.EXE /s re11.REG

hiderun.exe try.exe
pskill.exe try.exe i want pskill to kill try.exe 15 seconds after its run tongue.gif
is it possible

exit
JoePub
There is an exe that you can download called sleep (cant rememeber if it's COM or EXE) and basically you make sure that sleep is in your path enviroment and the in your bat file just add

CODE

sleep 15
pskill x.exe


Or you could just write a vbs script instead, you will have much more control then
Killaloop
use the /c switch of cmd.exe to close the startet program after it executed.
cmd.exe /c myexe.exe
x1`
killaloop like this

hiderun.exe try.exe cmd.exe /c try.exe
DCLXVI
like this i think Dickybob20

@echo off
hiderun.exe try.exe
cmd.exe /c try.exe
:end
Killaloop
hide.exe cmd.exe /c C:\folder\try.exe
IcedOut3E
if you still want to use the pskill, you could use the "at" command to run that program at the specified time.
tstngry
-If you are using Windows Xp, there is a program included called taskkill.exe. It is used a s command in the following form:

taskkill /f /im program.exe
or
taskkill /f /pid 637 -- replace with process id

-This will kill the program imediatly so i dont know if you want to use this, however if you sleep the program using sleep.exe for a couple of secs and then kill it that might work. Hope this helps wink.gif
x1`
yes got the solution to making it close , now just need to make them delete
cant do del straight away because its needs time to open ,
so i need something on a timer to delete the files
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.