I have zonealarm installed and of course everyone knows, the vsmon services is basically the brains behind the outfit...anyways when I look at the services applet and go to options on vsmon almost everything is grayed out...so I went into the registry at hkey_local_machine\system\currentcontrolset\services\vsmon\security And in there, is a key called Security...It is a binary key and has a whole bunch of hex written in it. I imagine this is what is causing the services applet in XP to gray out all the configuration for it. Is there a way I can find out how to write my own Security reg keys like this for services I write in c# to keep people from tampering, etc? P.S. I've already "googled" the matter lol but maybe someone knows the answer elsewhere. Thanks in advance.
TalkingBabb0t
Posts
-
C# services security -
Windows Services SecurityI have zonealarm installed and of course everyone knows, the vsmon services is basically the brains behind the outfit...anyways when I look at the services applet and go to options on vsmon almost everything is grayed out...so I went into the registry at hkey_local_machine\system\currentcontrolset\services\vsmon\security And in there, is a key called Security...It is a binary key and has a whole bunch of hex written in it. I imagine this is what is causing the services applet in XP to gray out all the configuration for it. Is there a way I can find out how to write my own Security reg keys like this for other services to keep people from tampering, etc? P.S. I've already "googled" the matter lol but maybe someone knows the answer elsewhere. Thanks in advance.
-
.NET framework theoriesAhh, thank you very much sir! This is exactly what I was looking for and could never find.
-
.NET framework theoriesIs it possible to add only the needed .NET dll's to an application as a resource to "pre-extract", so that a machine you are deploying your application to, does not need huge .NET framework installed for it to work? OR is there a way to capture the native code that the JIT compiles out of the MSIL and create a PE with it, or will something like that not include garbage collection, etc ?
-
One major tcp/ip headachewow, ok thanks for your help. I totally forgot about using netmeeting, and I didn't truly realize how difficult such a thing could be.
-
Searching for opponents, what do I need?you *could* be cheap and use the IRC protocol to make the clients go to a secluded room on a popular server, and from that point inside the room, communicate using a proprietary protocol. However, I don't think the admins of that server would smile down too kindly on you.
-
How to get the Internet IPI would try this method that I used. IPAddress ipAdress = IPAddress.Any; IPEndPoint Enp = new IPEndPoint(ipAdress, 60001); Socket m_soc = new Socket(AddressFamily.InterNetwork,SocketType.Stream, ProtocolType.Tcp); m_soc.Bind(Enp); //then do this to get the current IP&source port System.Windows.Forms.MessageBox.Show(m_soc.LocalEndPoint.ToString()); Try that..should work in a x.x.x.x:x format :-D
-
One major tcp/ip headacheHello everyone, I have a problem that I have been banging my head against the wall for the past few days trying to figure out...I am writing a remote assistance service and I want to send a file(a .jpg) using tcp/ip blocking sockets. I have used MANY other peoples source code, but still the file never arrives or I get ugly unhandled exceptions...I finally found one that sort of works...It sends a snapshot of the users screen ONE time, after that the client gives me a "connection reset by software on your remote host", I have included the client and server methods that are running in a seperate continuous thread...your help is MUCH appreciated. P.S. sorry for the bad formatting. <---Client source snippet---> public static void BeginSnapShotSend() { ScreenCapture SC = new ScreenCapture(); try { // get the remote IP address... IPHostEntry IPHost = Dns.Resolve("localhost"); IPAddress[] ip = IPHost.AddressList; int iPortNo = System.Convert.ToInt32(443); //create the end point IPEndPoint ipEnd = new IPEndPoint (ip[0],iPortNo); //connect to the remote host... PicConnect.Connect ( ipEnd ); nfs = new NetworkStream(PicConnect) ; } catch (SocketException SE) { System.Windows.Forms.MessageBox.Show(SE.ToString()); return; } while (true) { SC.CaptureScreenToFile("sc.jpg", ImageFormat.Jpeg); Thread.Sleep(1000); try { FileStream fin = new FileStream("sc.jpg",FileMode.Open , FileAccess.Read) ; //Get the Length of the file requested //and set various variables long total=fin.Length; long rdby=0; int len=0; byte[] buffed = new byte[4096]; //Open the file requested for download //One way of transfer over sockets is Using a NetworkStream //It provides some useful ways to transfer data byte[] m_sbuf = System.Text.Encoding.UTF8.GetBytes("fsize"+" "+total.ToString()); PicConnect.Send(m_sbuf); Thread.Sleep(1000); //lock the Thread here while(rdby