__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
# This script first starts faked (the daemon), and then it will run
# the requested program with fake root privileges.
usage () {
cat - >&2 <<EOF
fakeroot, create a fake root environment.
usage: fakeroot [-l|--lib fakerootlib] [-f|--faked fakedbin]
[-i file] [-s file] [-u|--unknown-is-real]
[-b|--fd-base fd] [-h|--help] [-v|--version]
[--] [command]
EOF
exit 1
}
stderr ()
{
local i
for i
do
echo >&2 "fakeroot: $i"
done
}
fatal ()
{
stderr "$@"
exit 1
}
# strip /bin/fakeroot to find install prefix
FAKEROOT_PREFIX=/usr
FAKEROOT_BINDIR=/usr/bin
USEABSLIBPATH=0
FAKEROOT_LIB=libfakeroot-sysv.so
PATHS=/usr/lib/aarch64-linux-gnu/libfakeroot:${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot
FAKED=${FAKEROOT_BINDIR}/faked-sysv
FAKED_MODE="unknown-is-root"
export FAKED_MODE
libfound=no
GETOPTTEST=`getopt -T`
if test "$?" -eq 4; then # GNU getopt
FAKE_TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@"`
else
FAKE_TEMP=`getopt l:f:i:s:ub:vh "$@"`
fi
if test "$?" -ne 0; then
usage
fi
eval set -- "$FAKE_TEMP"
FAKEDOPTS=""
PIPEIN=""
WAITINTRAP=0
while test "X$1" != "X--"; do
case "$1" in
-l|--lib)
shift
FAKEROOT_LIB=`eval echo "$1"`
PATHS=
;;
-f|--faked)
shift
FAKED="$1"
;;
-i)
shift
if test -f "$1"; then
FAKEDOPTS=$FAKEDOPTS" --load"
PIPEIN="<$1"
else
stderr "database file \`$1' does not exist."
fi
;;
-s)
shift
FAKEDOPTS=$FAKEDOPTS" --save-file $1"
[ -p $1 ] || WAITINTRAP=1
;;
-u|--unknown-is-real)
FAKEDOPTS=$FAKEDOPTS" --unknown-is-real"
FAKED_MODE="unknown-is-real"
;;
-b|--fd-base)
shift
FAKEROOT_FD_BASE="$1"
;;
-v|--version)
echo "fakeroot version 1.37.1.1"
exit 0
;;
-h|--help)
usage
;;
esac
shift
done
shift #get rid of the '--'
# make sure the preload is available
ABSLIB=""
if [ -n "$PATHS" ]
then
for dir in `echo $PATHS | sed 's/:/ /g'`
do
if test -r "$dir/$FAKEROOT_LIB"
then
libfound=yes
ABSLIB="$dir/$FAKEROOT_LIB"
fi
done
else
if test -r "$FAKEROOT_LIB"
then
libfound=yes
ABSLIB="$FAKEROOT_LIB"
fi
fi
if test $libfound = no
then
fatal "preload library \`$FAKEROOT_LIB' not found, aborting."
fi
if test -n "$FAKEROOTKEY"
then
fatal "FAKEROOTKEY set to $FAKEROOTKEY" \
"nested operation not yet supported"
fi
unset FAKEROOTKEY
KEY_PID=`eval $FAKED $FAKEDOPTS $PIPEIN`
FAKEROOTKEY=`echo $KEY_PID|cut -d: -f1`
PID=`echo $KEY_PID|cut -d: -f2`
if [ "$WAITINTRAP" -eq 0 ]; then
trap "kill -s TERM $PID" EXIT INT
else
trap 'FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$FAKEROOT_LIB" /bin/ls -l / >/dev/null 2>&1; while kill -s TERM $PID 2>/dev/null; do sleep 0.1; done' EXIT INT
#trap 'FAKEROOTKEY=$FAKEROOTKEY LD_PRELOAD="$FAKEROOT_LIB" /bin/ls -l / >/dev/null 2>&1; while kill -s TERM $PID 2>/dev/null; do sleep 0.1; done' EXIT INT
fi
if test -z "$FAKEROOTKEY" || test -z "$PID"; then
fatal "error while starting the \`faked' daemon."
fi
if test $USEABSLIBPATH -ne 0 ; then
FAKEROOT_LIB=$ABSLIB
fi
# Keep other library paths
if test -n "$LD_LIBRARY_PATH"; then
PATHS="$PATHS:$LD_LIBRARY_PATH"
fi
# ...and preloaded libs
if test -n "$LD_PRELOAD"; then
FAKEROOT_LIB="$FAKEROOT_LIB:$LD_PRELOAD"
fi
export FAKEROOT_FD_BASE
if test -z "$*"; then
FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$FAKEROOT_LIB" ${SHELL:-/bin/sh}
#FAKEROOTKEY=$FAKEROOTKEY LD_PRELOAD="$FAKEROOT_LIB" ${SHELL:-/bin/sh}
RESULT=$?
else
FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$FAKEROOT_LIB" "$@"
#FAKEROOTKEY=$FAKEROOTKEY LD_PRELOAD="$FAKEROOT_LIB" "$@"
RESULT=$?
fi
exit $RESULT
# Local Variables:
# mode: shell-script
# End:
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Phosh-OSK | File | 4.22 KB | 0644 |
|
| README | File | 100 B | 0644 |
|
| awk | File | 776.39 KB | 0755 |
|
| awk.1.gz | File | 18.96 KB | 0644 |
|
| builtins.7.gz | File | 508 B | 0644 |
|
| c++ | File | 1.07 MB | 0755 |
|
| c89 | File | 428 B | 0755 |
|
| c89.1.gz | File | 1.33 KB | 0644 |
|
| c99 | File | 454 B | 0755 |
|
| c99.1.gz | File | 1.39 KB | 0644 |
|
| cc | File | 1.07 MB | 0755 |
|
| cpp | File | 1.07 MB | 0755 |
|
| cyfmac43455-sdio.bin | File | 595.03 KB | 0644 |
|
| default-GM.sf2 | File | 5.69 MB | 0644 |
|
| default-GM.sf3 | File | 5.69 MB | 0644 |
|
| editor | File | 324.81 KB | 0755 |
|
| editor.1.gz | File | 8.1 KB | 0644 |
|
| ex | File | 1.79 MB | 0755 |
|
| ex.1.gz | File | 6.09 KB | 0644 |
|
| ex.da.1.gz | File | 5.51 KB | 0644 |
|
| ex.de.1.gz | File | 7.56 KB | 0644 |
|
| ex.fr.1.gz | File | 6.37 KB | 0644 |
|
| ex.it.1.gz | File | 6.85 KB | 0644 |
|
| ex.ja.1.gz | File | 6.69 KB | 0644 |
|
| ex.pl.1.gz | File | 6.15 KB | 0644 |
|
| ex.ru.1.gz | File | 9.99 KB | 0644 |
|
| ex.tr.1.gz | File | 5.74 KB | 0644 |
|
| faked.1.gz | File | 1.16 KB | 0644 |
|
| faked.es.1.gz | File | 1.39 KB | 0644 |
|
| faked.fr.1.gz | File | 1.41 KB | 0644 |
|
| faked.sv.1.gz | File | 1.36 KB | 0644 |
|
| fakeroot | File | 3.91 KB | 0755 |
|
| fakeroot.1.gz | File | 3.93 KB | 0644 |
|
| fakeroot.es.1.gz | File | 4.5 KB | 0644 |
|
| fakeroot.fr.1.gz | File | 4.64 KB | 0644 |
|
| fakeroot.sv.1.gz | File | 4.43 KB | 0644 |
|
| gnome-www-browser | File | 5.78 KB | 0755 |
|
| idmap-plugin | File | 66.01 KB | 0644 |
|
| idmap-plugin.8.gz | File | 664 B | 0644 |
|
| jsondiff | File | 1004 B | 0755 |
|
| libblas.so.3-aarch64-linux-gnu | File | 385.86 KB | 0644 |
|
| liblapack.so.3-aarch64-linux-gnu | File | 5.51 MB | 0644 |
|
| lightdm-greeter | File | 185 B | 0644 |
|
| lua-compiler | File | 194.68 KB | 0755 |
|
| lua-compiler-manual | File | 1.63 KB | 0644 |
|
| lua-interpreter | File | 259.18 KB | 0755 |
|
| lua-manual | File | 1.61 KB | 0644 |
|
| lzcat | File | 130.76 KB | 0755 |
|
| lzcat.1.gz | File | 23.44 KB | 0644 |
|
| lzcmp | File | 7.41 KB | 0755 |
|
| lzcmp.1.gz | File | 787 B | 0644 |
|
| lzdiff | File | 7.41 KB | 0755 |
|
| lzdiff.1.gz | File | 787 B | 0644 |
|
| lzegrep | File | 10.17 KB | 0755 |
|
| lzegrep.1.gz | File | 1006 B | 0644 |
|
| lzfgrep | File | 10.17 KB | 0755 |
|
| lzfgrep.1.gz | File | 1006 B | 0644 |
|
| lzgrep | File | 10.17 KB | 0755 |
|
| lzgrep.1.gz | File | 1006 B | 0644 |
|
| lzless | File | 2.33 KB | 0755 |
|
| lzless.1.gz | File | 780 B | 0644 |
|
| lzma | File | 130.76 KB | 0755 |
|
| lzma.1.gz | File | 23.44 KB | 0644 |
|
| lzmore | File | 2.18 KB | 0755 |
|
| lzmore.1.gz | File | 772 B | 0644 |
|
| mt | File | 131.48 KB | 0755 |
|
| mt.1.gz | File | 1.98 KB | 0644 |
|
| my.cnf | File | 1.1 KB | 0644 |
|
| nawk | File | 776.39 KB | 0755 |
|
| nawk.1.gz | File | 18.96 KB | 0644 |
|
| nc | File | 66.49 KB | 0755 |
|
| nc.1.gz | File | 6.29 KB | 0644 |
|
| netcat | File | 66.49 KB | 0755 |
|
| netcat.1.gz | File | 6.29 KB | 0644 |
|
| open | File | 31.53 KB | 0755 |
|
| open.1.gz | File | 2 KB | 0644 |
|
| pager | File | 275.29 KB | 0755 |
|
| pager.1.gz | File | 28.26 KB | 0644 |
|
| phar | File | 14.88 KB | 0755 |
|
| phar.1.gz | File | 2.75 KB | 0644 |
|
| phar.phar | File | 14.88 KB | 0755 |
|
| phar.phar.1.gz | File | 36 B | 0644 |
|
| php | File | 5.76 MB | 0755 |
|
| php.1.gz | File | 3.71 KB | 0644 |
|
| pico | File | 324.81 KB | 0755 |
|
| pico.1.gz | File | 8.1 KB | 0644 |
|
| pinentry | File | 130.52 KB | 0755 |
|
| pinentry-x11 | File | 130.52 KB | 0755 |
|
| pinentry-x11.1.gz | File | 1.38 KB | 0644 |
|
| pinentry.1.gz | File | 1.38 KB | 0644 |
|
| pybabel | File | 956 B | 0755 |
|
| regulatory.db | File | 6.23 KB | 0644 |
|
| regulatory.db.p7s | File | 1.09 KB | 0644 |
|
| rmt | File | 67.12 KB | 0755 |
|
| rmt.8.gz | File | 2.34 KB | 0644 |
|
| rview | File | 1.79 MB | 0755 |
|
| tdbbackup | File | 66.16 KB | 0755 |
|
| tdbbackup.8.gz | File | 1.62 KB | 0644 |
|
| unlzma | File | 130.76 KB | 0755 |
|
| unlzma.1.gz | File | 23.44 KB | 0644 |
|
| vi | File | 1.79 MB | 0755 |
|
| vi.1.gz | File | 6.09 KB | 0644 |
|
| vi.da.1.gz | File | 5.51 KB | 0644 |
|
| vi.de.1.gz | File | 7.56 KB | 0644 |
|
| vi.fr.1.gz | File | 6.37 KB | 0644 |
|
| vi.it.1.gz | File | 6.85 KB | 0644 |
|
| vi.ja.1.gz | File | 6.69 KB | 0644 |
|
| vi.pl.1.gz | File | 6.15 KB | 0644 |
|
| vi.ru.1.gz | File | 9.99 KB | 0644 |
|
| vi.tr.1.gz | File | 5.74 KB | 0644 |
|
| view | File | 1.79 MB | 0755 |
|
| view.1.gz | File | 6.09 KB | 0644 |
|
| view.da.1.gz | File | 5.51 KB | 0644 |
|
| view.de.1.gz | File | 7.56 KB | 0644 |
|
| view.fr.1.gz | File | 6.37 KB | 0644 |
|
| view.it.1.gz | File | 6.85 KB | 0644 |
|
| view.ja.1.gz | File | 6.69 KB | 0644 |
|
| view.pl.1.gz | File | 6.15 KB | 0644 |
|
| view.ru.1.gz | File | 9.99 KB | 0644 |
|
| view.tr.1.gz | File | 5.74 KB | 0644 |
|
| which | File | 1.05 KB | 0755 |
|
| which.1.gz | File | 463 B | 0644 |
|
| which.de1.gz | File | 859 B | 0644 |
|
| which.es1.gz | File | 588 B | 0644 |
|
| which.fr1.gz | File | 909 B | 0644 |
|
| which.it1.gz | File | 590 B | 0644 |
|
| which.ja1.gz | File | 726 B | 0644 |
|
| which.pl1.gz | File | 786 B | 0644 |
|
| which.sl1.gz | File | 652 B | 0644 |
|
| www-browser | File | 1.98 MB | 0755 |
|
| www-browser.1.gz | File | 14.34 KB | 0644 |
|
| x-cursor-theme | File | 30 B | 0644 |
|
| x-session-manager | File | 657 B | 0755 |
|
| x-terminal-emulator | File | 133.7 KB | 0755 |
|
| x-terminal-emulator.1.gz | File | 1.48 KB | 0644 |
|
| x-window-manager | File | 451.63 KB | 0755 |
|
| x-window-manager.1.gz | File | 1.55 KB | 0644 |
|
| x-www-browser | File | 848 B | 0755 |
|
| x-www-browser.1.gz | File | 1.27 KB | 0644 |
|