mirror of
https://github.com/hackerschoice/segfault.git
synced 2024-06-27 01:08:35 +00:00
merge-main
This commit is contained in:
commit
7d68181ddd
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,6 +2,6 @@ segfault-*.tar.gz
|
||||
segfault-0*/
|
||||
data/
|
||||
.env
|
||||
.DS_Store
|
||||
**/.DS_Store
|
||||
info.txt
|
||||
host/dev/open*
|
||||
|
@ -46,6 +46,7 @@ RUN /pkg-install.sh BASE apt-get install -y --no-install-recommends \
|
||||
python3-pip \
|
||||
screen \
|
||||
sharutils \
|
||||
sshfs \
|
||||
supervisor \
|
||||
tmux \
|
||||
unrar \
|
||||
@ -95,7 +96,6 @@ RUN /pkg-install.sh NET apt-get install -y --no-install-recommends \
|
||||
iperf \
|
||||
iperf3 \
|
||||
iputils-tracepath \
|
||||
gsocket \
|
||||
man-db \
|
||||
manpages-dev \
|
||||
mosh \
|
||||
@ -392,8 +392,8 @@ RUN /pkg-install.sh GUI bash -c '{ `### only Beta has no conflict with python 3.
|
||||
&& wget -O "/usr/share/keyrings/xpra-2022.gpg" https://xpra.org/xpra-2022.gpg \
|
||||
&& wget -O "/etc/apt/sources.list.d/xpra-beta.list" https://xpra.org/repos/bookworm/xpra-beta.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y xpra xpra-html5; \
|
||||
rm -f /var/lib/apt/lists/xpra*; }' \
|
||||
&& apt-get install -y xpra xpra-html5 \
|
||||
&& rm -f /var/lib/apt/lists/xpra*; }'
|
||||
RUN /pkg-install.sh GUI bash -c '{ cd /usr/lib \
|
||||
&& curl -sf https://download-installer.cdn.mozilla.net/pub/firefox/releases/108.0.1/linux-x86_64/en-US/firefox-108.0.1.tar.bz2 | tar xfvj - \
|
||||
&& ln -s /usr/lib/firefox/firefox /usr/bin/firefox; }'
|
||||
@ -412,7 +412,7 @@ RUN /pkg-install.sh HUGE ghbin SagerNet/sing-box 'linux-amd64.' sing-box \
|
||||
&& /pkg-install.sh HACK ghbin projectdiscovery/proxify 'linux_amd64.zip$' proxify \
|
||||
&& /pkg-install.sh HACK ghbin projectdiscovery/katana 'linux_amd64.zip$' katana \
|
||||
&& /pkg-install.sh HACK ghbin projectdiscovery/tlsx 'linux_amd64.zip$' tlsx \
|
||||
&& /pkg-install.sh HACK ghbin s0md3v/smap 'linux_amd64.tar.xz$' smap \
|
||||
&& /pkg-install.sh HACK ghbin s0md3v/smap 'linux_amd64.tar.xz$' smap
|
||||
RUN /pkg-install.sh LARGE ghbin Peltoche/lsd 'lsd_.*_amd64.deb$' \
|
||||
&& /pkg-install.sh LARGE ghbin cloudflare/cloudflared 'linux-amd64.deb$' \
|
||||
&& /pkg-install.sh LARGE ghbin filebrowser/filebrowser '^linux-amd64-filebrowser.tar.gz$' filebrowser \
|
||||
@ -599,6 +599,9 @@ RUN /pkg-install.sh WEB apt-get install -y --no-install-recommends \
|
||||
libnginx-mod-stream-geoip2 \
|
||||
libnginx-mod-stream-js \
|
||||
njs
|
||||
RUN /pkg-install.sh LARGE apt-get install -y --no-install-recommends \
|
||||
lftp
|
||||
RUN /pkg-install.sh NET bin https://github.com/hackerschoice/binary/raw/main/gsocket/latest/gsocket_latest_all.deb
|
||||
RUN sed 's/deb-src.*//' -i /etc/apt/sources.list \
|
||||
&& apt-get update
|
||||
|
||||
|
@ -181,7 +181,9 @@ tty -s && [[ -n $TERM ]] && [[ "$TERM" != dumb ]] && {
|
||||
# Make the Project name visibile in the PS1 prompt
|
||||
[[ -z $VIRTUAL_ENV ]] && VIRTUAL_ENV="${SF_PRJ}"
|
||||
|
||||
PATH="/sec/root/.local/bin:/sec/usr/sbin:/sec/usr/bin:/sf/bin:$PATH"
|
||||
PATH="${HOME:-/sec/root}/go/bin:/sec/root/.local/bin:/sec/usr/sbin:/sec/usr/bin:/sf/bin:$PATH"
|
||||
#[[ -d /sec/usr/bin ]] && PATH="/sec/usr/bin:$PATH"
|
||||
#[[ -d /sec/usr/sbin ]] && PATH="/sec/usr/sbin:$PATH"
|
||||
|
||||
_sf_info_non_perm()
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ dlx()
|
||||
;;
|
||||
*.deb)
|
||||
curl -SsfL -o /tmp/pkg.deb "$url" \
|
||||
&& dpkg -i /tmp/pkg.deb \
|
||||
&& dpkg -i --ignore-depends=sshfs /tmp/pkg.deb \
|
||||
&& rm -rf /tmp/pkg.deb \
|
||||
&& return 0
|
||||
;;
|
||||
|
@ -1056,7 +1056,7 @@ exec_devnull docker run \
|
||||
-e SF_PRJ \
|
||||
-e SF_IS_GOLD_PROMPT \
|
||||
--log-driver "${SF_DOCKER_LOG}" \
|
||||
--mount type=tmpfs,destination=/tmp,tmpfs-mode=1777 \
|
||||
--tmpfs /tmp:exec `# GoLang needs /tmp to be executeable` \
|
||||
--sysctl net.ipv6.conf.all.disable_ipv6=0 `# Allow IPv6 (used by WireGuard FOBs)` \
|
||||
-v "${SF_CFG_GUEST_DIR:?}/:/config/guest:ro" \
|
||||
-v "${SF_GUEST_SELFDIR:?}/lg-${LID}:/config/self:ro,slave" \
|
||||
|
Loading…
Reference in New Issue
Block a user