Open dxflatline opened 6 years ago
Hi,
Just to mention that the example configs are wrong regarding the "check_persistence" and "store_database" keys. In the code, it is actually "persistence" and "directory" respectively.
When I use these, I get a segmentation fault: stat("/applogs/waf/data/20180719/20180719-1343/20180719-134331-153200781148.157322", {st_mode=S_IFREG|0644, st_size=9612, ...}) = 0 open("/applogs/waf/data/20180719/20180719-1343/20180719-134331-153200781148.157322", O_RDONLY) = 7 fstat(7, {st_mode=S_IFREG|0644, st_size=9612, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd38ba89000 read(7, "---OVtnH4Lu---A--\n[19/Jul/2018:1"..., 8192) = 8192 read(7, "\"] [tag \"OWASP_TOP_10/A1\"] [tag "..., 4096) = 1420 close(7) = 0 munmap(0x7fd38ba89000, 4096) = 0 stat("/applogs/waf/persistence/1532/0078/1148/.157/322/", {st_mode=S_IFDIR|0755, st_size=6, ...}) = 0 mkdir("/applogs/waf/persistence/1532", 0777) = -1 EEXIST (File exists) mkdir("/applogs/waf/persistence/1532/0078", 0777) = -1 EEXIST (File exists) mkdir("/applogs/waf/persistence/1532/0078/1148", 0777) = -1 EEXIST (File exists) mkdir("/applogs/waf/persistence/1532/0078/1148/.157", 0777) = -1 EEXIST (File exists) mkdir("/applogs/waf/persistence/1532/0078/1148/.157/322", 0777) = -1 EEXIST (File exists) open("/applogs/waf/persistence/1532/0078/1148/.157/322/", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EISDIR (Is a directory) --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} --- +++ killed by SIGSEGV +++ Segmentation fault
Hi @dxflatline,
Can you send me the backtrace?
Hi,
Just to mention that the example configs are wrong regarding the "check_persistence" and "store_database" keys. In the code, it is actually "persistence" and "directory" respectively.
When I use these, I get a segmentation fault: stat("/applogs/waf/data/20180719/20180719-1343/20180719-134331-153200781148.157322", {st_mode=S_IFREG|0644, st_size=9612, ...}) = 0 open("/applogs/waf/data/20180719/20180719-1343/20180719-134331-153200781148.157322", O_RDONLY) = 7 fstat(7, {st_mode=S_IFREG|0644, st_size=9612, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd38ba89000 read(7, "---OVtnH4Lu---A--\n[19/Jul/2018:1"..., 8192) = 8192 read(7, "\"] [tag \"OWASP_TOP_10/A1\"] [tag "..., 4096) = 1420 close(7) = 0 munmap(0x7fd38ba89000, 4096) = 0 stat("/applogs/waf/persistence/1532/0078/1148/.157/322/", {st_mode=S_IFDIR|0755, st_size=6, ...}) = 0 mkdir("/applogs/waf/persistence/1532", 0777) = -1 EEXIST (File exists) mkdir("/applogs/waf/persistence/1532/0078", 0777) = -1 EEXIST (File exists) mkdir("/applogs/waf/persistence/1532/0078/1148", 0777) = -1 EEXIST (File exists) mkdir("/applogs/waf/persistence/1532/0078/1148/.157", 0777) = -1 EEXIST (File exists) mkdir("/applogs/waf/persistence/1532/0078/1148/.157/322", 0777) = -1 EEXIST (File exists) open("/applogs/waf/persistence/1532/0078/1148/.157/322/", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EISDIR (Is a directory) --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} --- +++ killed by SIGSEGV +++ Segmentation fault