We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 601e2e9 commit 871d84bCopy full SHA for 871d84b
tests/test_zeratool_binaries.py
@@ -19,7 +19,7 @@ def test_bof_with_nx() -> None:
19
"zeratool_binaries/bin/bof_nx_32.elf",
20
input_stream=ZeratoolInputStreams.STDIN,
21
overflow_only=False,
22
- leak_format=b"{.*}",
+ leak_format=b"(.*)BEGIN PRIVATE KEY(.*)",
23
skip_check=True,
24
)
25
@@ -33,7 +33,7 @@ def test_bof_with_win_function() -> None:
33
34
overflow_only=True,
35
win_funcs=["get_secret"],
36
37
38
39
tests/zeratool_binaries/buffer_overflow.c
@@ -5,7 +5,7 @@
5
#ifdef win_func
6
void get_secret()
7
{
8
- puts("flag{you_did_it}");
+ puts("---BEGIN PRIVATE KEY---");
9
}
10
#endif
11
0 commit comments