Skip to content

Commit

Permalink
fix: training-brute level update
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-a-r-a-k-i authored and moul committed Oct 10, 2019
1 parent f24d4c3 commit 6e42912
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 33 deletions.
2 changes: 0 additions & 2 deletions levels/web/training-brute/Dockerfile

This file was deleted.

6 changes: 0 additions & 6 deletions levels/web/training-brute/Makefile

This file was deleted.

11 changes: 7 additions & 4 deletions levels/web/training-brute/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
example:
build: .
ports:
- 80
version: '3.7'

services:
front:
build: front
ports:
- 80
3 changes: 3 additions & 0 deletions levels/web/training-brute/front/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM php:7.3-apache
COPY www/ /var/www/html/
COPY on-init /pathwar-hooks/
3 changes: 3 additions & 0 deletions levels/web/training-brute/front/on-init
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh -e

sed -i "s/{passhphrase}/$(pwctl passphrase 0)/g" /var/www/html/index.php
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 0 additions & 14 deletions levels/web/training-brute/level.yml

This file was deleted.

1 change: 0 additions & 1 deletion levels/web/training-brute/php.ini

This file was deleted.

6 changes: 0 additions & 6 deletions levels/web/training-brute/scripts/patch_level

This file was deleted.

0 comments on commit 6e42912

Please sign in to comment.