Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistence #6

Open
dxflatline opened this issue Jul 19, 2018 · 1 comment
Open

Persistence #6

dxflatline opened this issue Jul 19, 2018 · 1 comment
Assignees

Comments

@dxflatline
Copy link

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

@zimmerle zimmerle self-assigned this Sep 3, 2018
@zimmerle
Copy link
Contributor

zimmerle commented Sep 3, 2018

Hi @dxflatline,

Can you send me the backtrace?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants