Comments (7)
Yeah. My host machine is down because of a partitioning error I made, but once I figure out how to fix it I'll post the logs.
from pwnadventure3.
Some more information:
Output of ls:
drwxr-xr-x 9 pwn3 pwn3 4096 May 29 19:23 .
drwxr-xr-x 18 pwn3 pwn3 4096 May 29 16:20 ..
drwxr-xr-x 3 pwn3 pwn3 4096 Mar 2 18:11 client
-rwxr-xr-x 1 pwn3 pwn3 10858808 May 28 21:05 docker-compose
-rw-r--r-- 1 pwn3 pwn3 1720 May 28 19:48 docker-compose.yml
-rw-r--r-- 1 pwn3 pwn3 250 May 28 19:42 Dockerfile
drwxr-xr-x 8 pwn3 pwn3 4096 May 28 19:42 .git
-rw-r--r-- 1 pwn3 pwn3 39 May 28 19:42 .gitignore
-rw-r--r-- 1 pwn3 pwn3 35147 May 28 19:42 LICENSE
drwxr-xr-x 2 root root 4096 May 29 01:59 postgres-data
-rw-r--r-- 1 pwn3 pwn3 8822 May 28 19:42 README.md
drwxr-xr-x 4 pwn3 pwn3 4096 Mar 3 16:06 server
drwxr-xr-x 2 pwn3 pwn3 4096 May 29 19:25 setup
drwxr-xr-x 2 pwn3 pwn3 4096 May 29 00:31 tmp
drwxr-xr-x 3 pwn3 pwn3 4096 May 28 19:42 tools
Executed from:
host:~/PwnAdventure3/client/PwnAdventure3_Data/PwnAdventure3/PwnAdventure3/Binaries/Linux$
./PwnAdventure3Server: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
from pwnadventure3.
I fixed it. I'll make a resolution pull request. Although I'm not sure if it's going to work for other OSs.
from pwnadventure3.
host:~/PwnAdventure3/client/PwnAdventure3_Data/PwnAdventure3/PwnAdventure3/Binaries/Linux$
did you execute the server on your host system?
I guess your permissions are now all screwed up, but at least it's working :D But if you want you could purge the whole docker stuff again and start fresh.
If the issue reappears you could do this troubleshooting:
docker exec -i -t pwnadventure3_game_1 /bin/bash
to get a bash
shell inside the container, then do:
cd /opt/pwn3/client/PwnAdventure3_Data/PwnAdventure3/PwnAdventure3/Binaries/Linux/
su pwn3
./PwnAdventure3Server
Does this also crash with a segfault? If it crashes can you install strace
inside this container and then start the server (as pwn3) with strace ./PwnAdventure3Server
from pwnadventure3.
Whatever happens inside your docker container should just work.
You should not execute the client you placed next to the docker-compose.yml
on your debian host system since this one is used while running the live game server.
It's better to make a copy instead. Could this be the reason for the permissions issues?
I suggest you download it all again and start from scratch.
Could you please provide the logs of the docker-compose up
command?
from pwnadventure3.
This happens because pwn3 has no write access to /opt/pwn3/server/creds, there is a step in the master server shell script where it writes the creds in that file. Sending a pull request to fix this.
from pwnadventure3.
Got a shell in the docker container and ran it with strace, the tail end yielded the following:
open(0x7ffc90d84410, O_RDWR|O_CREAT|O_CLOEXEC, 0600) = -1 EACCES (Permission denied)
socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 65
connect(65, {...}, 110) = -1 ENOENT (No such file or directory)
close(65) = 0
stat(0x7ffc90d7fa38, 0x7ffc90d7fad0) = -1 ENOENT (No such file or directory)
mkdir(0x7ffc90d7b938, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d7b8a8, {...}) = 0
mkdir(0x7ffc90d7b938, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d7b8a8, {...}) = 0
mkdir(0x7ffc90d7b938, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d7b8a8, {...}) = 0
mkdir(0x7ffc90d7b938, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d7b8a8, {...}) = 0
mkdir(0x7ffc90d7b938, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d7b8a8, {...}) = 0
mkdir(0x7ffc90d7b938, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d7b8a8, {...}) = 0
stat(0x7ffc90d7b8a8, {...}) = 0
stat(0x7ffc90d7f3b0, 0x7ffc90d7f448) = -1 ENOENT (No such file or directory)
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
open(0x7ffc90d7f9a0, O_RDWR|O_CREAT|O_CLOEXEC, 0600) = -1 EACCES (Permission denied)
socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 65
connect(65, {...}, 110) = -1 ENOENT (No such file or directory)
close(65) = 0
stat(0x7ffc90d7afc8, 0x7ffc90d7b060) = -1 ENOENT (No such file or directory)
mkdir(0x7ffc90d76ec8, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d76e38, {...}) = 0
mkdir(0x7ffc90d76ec8, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d76e38, {...}) = 0
mkdir(0x7ffc90d76ec8, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d76e38, {...}) = 0
mkdir(0x7ffc90d76ec8, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d76e38, {...}) = 0
mkdir(0x7ffc90d76ec8, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d76e38, {...}) = 0
mkdir(0x7ffc90d76ec8, 0755) = -1 EEXIST (File exists)
stat(0x7ffc90d76e38, {...}) = 0
stat(0x7ffc90d76e38, {...}) = 0
stat(0x7ffc90d7a940, 0x7ffc90d7a9d8) = -1 ENOENT (No such file or directory)
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
stat(0x596d8c0, {...}) = 0
open(0x7ffc90d7af30, O_RDWR|O_CREAT|O_CLOEXEC, 0600) = -1 EACCES (Permission denied)
socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 65
connect(65, {...}, 110) = -1 ENOENT (No such file or directory)
close(65) = 0
stat(0x7ffc90d76558, 0x7ffc90d765f0) = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7ffc90d72518} ---
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} ---
+++ killed by SIGSEGV +++
Segmentation fault
from pwnadventure3.
Related Issues (20)
- failed to build: Unknown flag: chown HOT 1
- How to backup game progress HOT 2
- Proxy missing parser sample code HOT 1
- Failed to load master server certificate HOT 3
- bash: /opt/pwn3/server/creds: Permission denied HOT 5
- Linux client not working HOT 6
- error while loading shared libraries: libssl.so.1.0.0 and libcrypto.so.1.0.0 HOT 6
- OSError: [Errno 28] No space left on device
- Many errors
- master_1 | bash: ./MasterServer: cannot execute binary file: Exec format error
- May This Repo Active Again HOT 1
- Error while using docker HOT 1
- Game client stuck in checking updates HOT 1
- `ERROR: for pwnadventure3_master_1` when doing docker-compose up HOT 3
- Error. Docker compose up. HOT 2
- Proxy can't connect to the client
- stat /opt/pwn3/setup/masterserver.sh: no such file or directory: unknown HOT 1
- filname error
- error when docker compose HOT 1
- Incorrect openssl Dependancies for Ubuntu and Archlinux. Unable to run Private Server (No Docker Method)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwnadventure3.