05 2021 档案
摘要:#include <iostream> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> #include <string.h> #define HexPrint(_buf, _len) \ {\
阅读全文
摘要:该实例实现ARP反向代理 #coding:utf-8 from scapy.all import * import threading import random proxy_mac = "00:0c:29:93:19:97" #代理MAC地址 net_list = ["vethd5d1611","
阅读全文
摘要:该实例实现ARP反向代理 #include <stdio.h> #include <string.h> #include <pthread.h> #include <pcap.h> #include <assert.h> #include <stdbool.h> #define RECV_SEND_
阅读全文
摘要:#define HexPrint(_buf, _len) \ {\ int _m_i = 0;\ char *_m_buf = (char *)(_buf);\ int _m_len = (int)(_len);\ printf("[%s:%d] \r\n", __FUNCTION__, __LIN
阅读全文
摘要:/*头文件*/ #include <semaphore.h> /*声明与定义*/ extern sem_t s_update_info_sem; sem_t s_update_info_sem; /*创建信号灯*/ int ret = sem_init(&s_update_info_sem, 0,
阅读全文