https://github.com/maskray/bctf2015-camlmaze
BCTF 2015 CamlMaze
https://github.com/maskray/bctf2015-camlmaze
Last synced: 5 months ago
JSON representation
BCTF 2015 CamlMaze
- Host: GitHub
- URL: https://github.com/maskray/bctf2015-camlmaze
- Owner: MaskRay
- Created: 2015-03-23T08:51:47.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-23T15:00:46.000Z (almost 11 years ago)
- Last Synced: 2025-03-23T19:18:58.172Z (12 months ago)
- Language: OCaml
- Size: 184 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BCTF 2015 CamlMaze
## Build user.tgz
For users to download:
```bash
make user.tgz
```
## Build server
Server-side program:
```bash
make server
```
Run the server locally:
```bash
make run_server
# alternatively, socat tcp-l:1236,fork exec:./server
```
## POC
Applicable POC: [poc.rb](poc.rb)
Substitue `spawn ['CamlFeatherweight/camlfwrun', ''], '-h', '127.0.0.1', '-p', '1212', '/tmp/bytecode', in: pr, out: slave` for the line `spawn ...` to attack againt a remote server.