Forum > Windows (32/64)

[solved]How re-order the list of my application inside ProcExp?

(1/1)

d2010:
Hello.
I have my main application chiajnax.exe.
Main application, executefile "Devcinfo.exe" at multiples  times.
C:Q1=Can I display devcinfo.exe,devcinfo , devcinfo as exactly "msedge.exe"?

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---function ExecuteFile(const FileName, Params, DefaultDir: string;ShowCmd: Integer): THandle;var  zFileName, zParams, zDir: array[0..999] of Char;begin  Result := ShellExecute(Application.MainForm.Handle, nil,    StrPCopy(zFileName, FileName), StrPCopy(zParams, Params),    StrPCopy(zDir, DefaultDir), ShowCmd);end; C:Q2=Can I hide conhost.exe inside ProcExp-list-executables?
 but only conhost.exe linked with devcinfo.exe
 :-X

H₂SO₄:
Rename your executable to  msedge.exe,  add the correct icon and check Win32 gui application (-WG) under Config and Target to close the console.

I'll have to ask, though - why do you want to impersonate commonly installed software? Are you writing a virus?

Thaddy:

--- Quote from: Khrys on September 30, 2025, 09:21:47 am ---I'll have to ask, though - why do you want to impersonate commonly installed software? Are you writing a virus?

--- End quote ---
Same question here.
But a better solution is to make them child processes from a main executable, which is an option of TProcess.
That will not hide it completely but will show the processes are related.
IOW you can write a console launcher that owns the child processes, which can be GUI apps too.
When the console app is terminated, the child processes are also terminated.

Maybe that is what you mean?

d2010:

--- Quote from: Thaddy on September 30, 2025, 09:30:47 am ---Same question here.
But a better solution is to make them child processes from a main executable, which is an option of TProcess.
That will not hide it completely but will show the processes are related.
IOW you can write a console launcher that owns the child processes, which can be GUI apps too.
When the console app is terminated, the child processes are also terminated.
Maybe that is what you mean?

--- End quote ---

Yes I used Tprocess, and he work very good.

--- Code: ---procedure RunScriptMy;
var
  ScriptProcess : TProcessUTF8;
begin
  AssertTrue('ScriptEngine "' + ScriptEngine + '" does not exist.',
    FileExistsUTF8(ScriptEngine));
  ScriptProcess := TProcessUTF8.Create(nil);
  try
    ScriptProcess.CommandLine := ScriptEngine + ' ' + GetScriptFileName(FPath);
    ScriptProcess.Execute;
    ScriptProcess.WaitOnExit;
  finally
    ScriptProcess.Free;
  end;
end;

--- End code ---

Thank you very much.

Navigation

[0] Message Index

Go to full version