Heya!, i was just wondering if anyone had any idea how i'd go about hiding my process from the task manager
so far ive been able to blank out the process list in the task manager, and remove certain columns (using LVM_DELETECOLUMN)
but i have no idea after ive got the hwnd(SysListview32) of the processes how to loop through them and delete my process from the list
Sponsored by: █ Sparkhost - Hosting Without Compromises! █ Hybrid Performance Web Hosting █ Spark Host Stream Hosting █ Hybrid IRC & IRCd Server Shell Accounts
C# & Winapi
Started by
ikex
, Feb 20 2008 03:34 PM
2 replies to this topic
#1
Posted 20 February 2008 - 03:34 PM
#2
Posted 02 March 2008 - 06:12 PM
So i figured out, Syslistview can't send its information to the outside (via hooking) so i gave up on that. i looked into remotethreads (to try injecting) but it requires def alot more knowledge then i have to work with
.
#3
Posted 07 July 2008 - 04:32 AM
Maybe this will help you
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <commctrl.h>
#include <winuser.h>
BOOL CALLBACK EnumChildProcedure(HWND hWnd,LPARAM lParam)
{
char name[256];
GetWindowText(hWnd,name,256);
char ClassName[256];
GetClassName(hWnd,ClassName,256);
if((strcmp(ClassName,"SysListView32")==0)&&(strcmp(name,"Processes")==0))
{
SendMessage(hWnd,LVM_DELETECOLUMN,(WPARAM)0,0);
}
//if((strcmp(ClassName,"SysListView32")==0)&&(strcmp(name,"Tasks")==0))
//{
// ::SendMessage(hWnd,LVM_DELETECOLUMN,(WPARAM)0,0);
//}
if(name==NULL)
return FALSE;
return TRUE;
}
int main(int argc, char *argv[])
{
HWND hWnd = NULL;
char name[256];
char ClassName[256];
char m_status [255];
hWnd = FindWindow(NULL,"Windows Task Manager");
EnumChildWindows(hWnd,EnumChildProcedure,NULL);
EnumChildWindows(hWnd,EnumChildProcedure,NULL);
EnumChildWindows(hWnd,EnumChildProcedure,NULL);
EnumChildWindows(hWnd,EnumChildProcedure,NULL);
system("PAUSE");
return 0;
}
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












