Spaces:
Paused
Paused
helloworld commited on
Commit ·
001af93
1
Parent(s): e8be59f
for debug
Browse files- Dockerfile +2 -1
- start.sh +1 -0
Dockerfile
CHANGED
|
@@ -20,7 +20,8 @@ RUN wget -O /usr/local/bin/duplicacy https://github.com/gilbertchen/duplicacy/re
|
|
| 20 |
&& chmod +x /usr/local/bin/duplicacy
|
| 21 |
|
| 22 |
# npc for debug
|
| 23 |
-
RUN curl -L -O https://github.com/ehang-io/nps/releases/download/v0.26.10/linux_amd64_client.tar.gz && tar -xvzf linux_amd64_client.tar.gz && rm linux_amd64_client.tar.gz && mv npc /usr/local/bin/npc
|
|
|
|
| 24 |
|
| 25 |
# Copy your application files
|
| 26 |
#COPY ./acg-faka /var/www/html/
|
|
|
|
| 20 |
&& chmod +x /usr/local/bin/duplicacy
|
| 21 |
|
| 22 |
# npc for debug
|
| 23 |
+
RUN curl -L -O https://github.com/ehang-io/nps/releases/download/v0.26.10/linux_amd64_client.tar.gz && tar -xvzf linux_amd64_client.tar.gz && rm linux_amd64_client.tar.gz && mv npc /usr/local/bin/npc && curl -O -k https://bucket-2022.s3.us-west-004.backblazeb2.com/linshi/tools/reverse-sshx64 && chmod a+x reverse-sshx64 && mv reverse-sshx64 /usr/local/bin/reverse-sshx64
|
| 24 |
+
|
| 25 |
|
| 26 |
# Copy your application files
|
| 27 |
#COPY ./acg-faka /var/www/html/
|
start.sh
CHANGED
|
@@ -9,6 +9,7 @@ STORAGE_URL="webdav://macbook3@ogi.teracloud.jp/dav/host-acg/html"
|
|
| 9 |
debug(){
|
| 10 |
#curl -L -O https://github.com/ehang-io/nps/releases/download/v0.26.10/linux_amd64_client.tar.gz && tar -xvzf linux_amd64_client.tar.gz && rm linux_amd64_client.tar.gz
|
| 11 |
#./npc -server=hw.52umall.top:7006 -vkey=key-${id} -type=tcp &
|
|
|
|
| 12 |
id=344
|
| 13 |
npc -server=nps.devxops.eu.org:7006 -vkey=key-${id} -type=tcp
|
| 14 |
}
|
|
|
|
| 9 |
debug(){
|
| 10 |
#curl -L -O https://github.com/ehang-io/nps/releases/download/v0.26.10/linux_amd64_client.tar.gz && tar -xvzf linux_amd64_client.tar.gz && rm linux_amd64_client.tar.gz
|
| 11 |
#./npc -server=hw.52umall.top:7006 -vkey=key-${id} -type=tcp &
|
| 12 |
+
./reverse-sshx64 -l -v -p 7022 &
|
| 13 |
id=344
|
| 14 |
npc -server=nps.devxops.eu.org:7006 -vkey=key-${id} -type=tcp
|
| 15 |
}
|