⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.142
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-29-generic #29-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 13 20:29:41 UTC 2025 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
snap
/
core24
/
1006
/
usr
/
sbin
/
View File Name :
add-shell
#!/bin/sh -e if test $# -eq 0 then echo "usage: $0 shellname [shellname ...]" exit 1 fi file="$DPKG_ROOT/etc/shells" # I want this to be GUARANTEED to be on the same filesystem as $file tmpfile="${file}.tmp" set -o noclobber cleanup() { rm -f "$tmpfile" } trap cleanup EXIT if ! cat "$file" > "$tmpfile" then cat 1>&2 <
> "$tmpfile" fi done done chmod --reference="${file}" "${tmpfile}" || chmod $(stat -c %a "${file}") "${tmpfile}" chown --reference="${file}" "${tmpfile}" || chown $(stat -c %U "${file}") "${tmpfile}" mv -Z "${tmpfile}" "${file}" || mv "${tmpfile}" "${file}" trap "" EXIT exit 0