From b2f4a6e2a9bfe6df6ff4f0ea44cbd77fcfb60a1a Mon Sep 17 00:00:00 2001 From: Robert Wasinger Date: Sun, 2 Jun 2024 13:19:38 -0700 Subject: [PATCH] dynamic allocator exploitation - add init script --- dynamic-allocator-exploitation/.init | 4 ++++ dynamic-allocator-exploitation/level-1-0/.init | 1 + dynamic-allocator-exploitation/level-1-1/.init | 1 + dynamic-allocator-exploitation/level-2-0/.init | 1 + dynamic-allocator-exploitation/level-2-1/.init | 1 + dynamic-allocator-exploitation/level-3-0/.init | 1 + dynamic-allocator-exploitation/level-3-1/.init | 1 + dynamic-allocator-exploitation/level-4-0/.init | 1 + dynamic-allocator-exploitation/level-4-1/.init | 1 + dynamic-allocator-exploitation/level-5-0/.init | 1 + dynamic-allocator-exploitation/level-5-1/.init | 1 + dynamic-allocator-exploitation/level-6-0/.init | 1 + dynamic-allocator-exploitation/level-6-1/.init | 1 + dynamic-allocator-exploitation/level-7-0/.init | 1 + dynamic-allocator-exploitation/level-7-1/.init | 1 + dynamic-allocator-exploitation/level-8-0/.init | 1 + dynamic-allocator-exploitation/level-8-1/.init | 1 + 17 files changed, 20 insertions(+) create mode 100755 dynamic-allocator-exploitation/.init create mode 120000 dynamic-allocator-exploitation/level-1-0/.init create mode 120000 dynamic-allocator-exploitation/level-1-1/.init create mode 120000 dynamic-allocator-exploitation/level-2-0/.init create mode 120000 dynamic-allocator-exploitation/level-2-1/.init create mode 120000 dynamic-allocator-exploitation/level-3-0/.init create mode 120000 dynamic-allocator-exploitation/level-3-1/.init create mode 120000 dynamic-allocator-exploitation/level-4-0/.init create mode 120000 dynamic-allocator-exploitation/level-4-1/.init create mode 120000 dynamic-allocator-exploitation/level-5-0/.init create mode 120000 dynamic-allocator-exploitation/level-5-1/.init create mode 120000 dynamic-allocator-exploitation/level-6-0/.init create mode 120000 dynamic-allocator-exploitation/level-6-1/.init create mode 120000 dynamic-allocator-exploitation/level-7-0/.init create mode 120000 dynamic-allocator-exploitation/level-7-1/.init create mode 120000 dynamic-allocator-exploitation/level-8-0/.init create mode 120000 dynamic-allocator-exploitation/level-8-1/.init diff --git a/dynamic-allocator-exploitation/.init b/dynamic-allocator-exploitation/.init new file mode 100755 index 00000000..d6f50996 --- /dev/null +++ b/dynamic-allocator-exploitation/.init @@ -0,0 +1,4 @@ +#!/bin/bash +chmod u-s /challenge/lib/libc.so.6 +chmod u-s /challenge/lib/ld-linux-x86-64.so.2 + diff --git a/dynamic-allocator-exploitation/level-1-0/.init b/dynamic-allocator-exploitation/level-1-0/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-1-0/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-1-1/.init b/dynamic-allocator-exploitation/level-1-1/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-1-1/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-2-0/.init b/dynamic-allocator-exploitation/level-2-0/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-2-0/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-2-1/.init b/dynamic-allocator-exploitation/level-2-1/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-2-1/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-3-0/.init b/dynamic-allocator-exploitation/level-3-0/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-3-0/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-3-1/.init b/dynamic-allocator-exploitation/level-3-1/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-3-1/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-4-0/.init b/dynamic-allocator-exploitation/level-4-0/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-4-0/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-4-1/.init b/dynamic-allocator-exploitation/level-4-1/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-4-1/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-5-0/.init b/dynamic-allocator-exploitation/level-5-0/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-5-0/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-5-1/.init b/dynamic-allocator-exploitation/level-5-1/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-5-1/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-6-0/.init b/dynamic-allocator-exploitation/level-6-0/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-6-0/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-6-1/.init b/dynamic-allocator-exploitation/level-6-1/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-6-1/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-7-0/.init b/dynamic-allocator-exploitation/level-7-0/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-7-0/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-7-1/.init b/dynamic-allocator-exploitation/level-7-1/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-7-1/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-8-0/.init b/dynamic-allocator-exploitation/level-8-0/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-8-0/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file diff --git a/dynamic-allocator-exploitation/level-8-1/.init b/dynamic-allocator-exploitation/level-8-1/.init new file mode 120000 index 00000000..ea4ba499 --- /dev/null +++ b/dynamic-allocator-exploitation/level-8-1/.init @@ -0,0 +1 @@ +../.init \ No newline at end of file