Building a Jail: Difference between revisions
Initial |
format Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
< | <pre> | ||
mkdir jailed | |||
cd jailed | cd jailed | ||
mkdir bin/ lib64/ lib/ | mkdir bin/ lib64/ lib/ | ||
Line 6: | Line 7: | ||
cp /lib/x86_64-linux-gnu/libc.so.6 lib/ | cp /lib/x86_64-linux-gnu/libc.so.6 lib/ | ||
cp /lib64/ld-linux-x86-64.so.2 lib64/ | cp /lib64/ld-linux-x86-64.so.2 lib64/ | ||
cp /bin/bash bin/</ | cp /bin/bash bin/ | ||
</pre> |
Latest revision as of 13:29, 6 October 2024
mkdir jailed cd jailed mkdir bin/ lib64/ lib/ cp /lib/x86_64-linux-gnu/libtinfo.so.5 lib/ cp /lib/x86_64-linux-gnu/libdl.so.2 lib/ cp /lib/x86_64-linux-gnu/libc.so.6 lib/ cp /lib64/ld-linux-x86-64.so.2 lib64/ cp /bin/bash bin/