alittlebird
alittlebird
import pcapy Traceback (most recent call last): File "", line 1, in File "build\bdist.win32\egg\pcapy.py", line 7, in File "build\bdist.win32\egg\pcapy.py", line 6, in __bootstrap__ ImportError: DLL load failed: 找不到指定的模块。 Winpcap has...
第一处: /src/wn_module.c 172行-179行 char *path_gz = wn_malloc(strlen(request->path) + 4); if (path_gz != RT_NULL) { sprintf(path_gz, "%s.gz", request->path); stat_result = stat(request->path, &file_stat); wn_free(path_gz); } 如果这里的strlen(request->path)=0xfffffffe,加上4之后发生整数溢出,wn_malloc的实际大小变为1,后续的sprintf操作将会导致堆溢出。 第二处: /src/wn_module.c 235行-239行 char *path_gz =...