Skip to content

Commit

Permalink
add a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Dec 5, 2024
1 parent 8f211f3 commit 3a57a5b
Show file tree
Hide file tree
Showing 32 changed files with 16 additions and 0 deletions.
Binary file modified integrated-security/web-overflow-client/_0/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_0/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_1/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_1/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_10/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_10/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_11/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_11/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_12/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_12/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_13/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_13/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_14/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_14/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_15/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_15/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_2/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_2/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_3/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_3/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_4/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_4/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_5/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_5/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_6/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_6/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_7/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_7/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_8/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_8/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down
Binary file modified integrated-security/web-overflow-client/_9/server
Binary file not shown.
1 change: 1 addition & 0 deletions integrated-security/web-overflow-client/_9/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void __attribute__((constructor)) disable_aslr(int argc, char **argv, char **env
if ((current_personality & ADDR_NO_RANDOMIZE) == 0)
{
assert(personality(current_personality | ADDR_NO_RANDOMIZE) != -1);
fprintf(stderr, "NOTE: This program can only be launched ONCE. You will need to\nrestart your container to launch this program again.\n");
chmod("/proc/self/exe", 0755);
execve("/proc/self/exe", argv, envp);
}
Expand Down

0 comments on commit 3a57a5b

Please sign in to comment.