Sinisterly
Batch help - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Batch help (/Thread-Batch-help)



Batch help - Cosvo - 02-08-2016

I could not find another better section to post this in since it is a sh*t ton of sections on these forums..

I am making a little virus kind of experiment thing. And I am stuck at the beginning.
If this sounds dumb, than aight..
Is there any way to open the file as soon as te user tries to close it? I know that njRAT got a matching kind of chat. I don't know if that is a c# textbox or a batch, but I know all rats got this assembly.
Does anyone know the form of code for this? If you did not understand what I meant, than what I meant was that when the victim tries to close/exit the program, the program will open again before it is actually closed.

I am not a batch coder, but I will assume something like this?:
:example
If %exit% (than) open 'file'

Very dumb thread... But yes...


RE: Batch help - Satan - 02-08-2016

don't believe batch has this capability, but it's been a long time since I've touched batch.

For VB at least, it was something along the lines of onFormClose start Form1, or something like that. Been a while since I've touched that too.


RE: Batch help - Cosvo - 02-16-2016

(02-08-2016, 11:32 PM)Maddison Wrote: don't believe batch has this capability, but it's been a long time since I've touched batch.

For VB at least, it was something along the lines of onFormClose start Form1, or something like that. Been a while since I've touched that too.
Hmm. Yep. I can just use c# in Visual studio and code it in a command prompt.!


RE: Batch help - zorrophreak - 02-16-2016

Yea, use C#. You could probably do it in BATCH by making it launch a hidden command line, and making that continuously loop the application. Otherwise, for a cleaner way, just use C#.