I am in windows xp, and there is no such file as C:\WINDOWS\svchost.exe, I was just using the name.. If i was writing a 'trojan' I would target the system32 directory.
Foxyy
Type: Posts; User: Foxy999
I am in windows xp, and there is no such file as C:\WINDOWS\svchost.exe, I was just using the name.. If i was writing a 'trojan' I would target the system32 directory.
Foxyy
The problem was that I thought strcat added the null character..
Sorry,
Foxyy
I am not sure why, but my function causes my program to crash.
int melt()
{
FILE *f1 = fopen("C:\\WINDOWS\\svchost.exe", "r");
if(f1 == NULL)
{
This is my code, I want to be able to keep receiving data while I can send data, so I used fork(). But for some reason it is not working, it will only recv once. I am new to network programming,...
I added this code to my program and modified it so it would compile but it doesn't work, it just makes my wine crash. I don't think it's not working because of wine.
Foxyy
EDIT: nvm I got it...
I am having trouble getting thise code to work:
#include <windows.h>
#include <stdio.h>
#define MAX_BUFFER_SIZE 512
int EmulateCommandPrompt(LPSTR cmdline)
I wrote a simple TCP server for windows. I am new to network programming and windows programming and I need some help. I want to execute cmd.exe after I connect to my server, and allow the client...