Skip to content

Commit af897df

Browse files
Update CHANGELOG.md
1 parent d0e4568 commit af897df

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Pygoat v2.0.1 Latest
22

3+
### 1.Added
4+
- **Custom Management Command:**
5+
Added the `populate_challenges` command that reads challenge data from `challenge/challenge.json` and populates the `Challenge` table using `get_or_create` to prevent duplicate entries. The command handles missing files and JSON decode errors gracefully.
6+
7+
### 2.Changed
8+
- **Challenge Model:**
9+
- Updated the `save()` method to raise a `ValidationError` if `start_port` is greater than `end_port`.
10+
- Enhanced flag handling by hashing the `flag` field using SHA-256 (prefixed with "hashed_") if it hasn't been hashed already.
11+
12+
---
13+
14+
# Pygoat v2.0.1 Latest
15+
316
1. New themes
417
2. Bug fixing
518

0 commit comments

Comments
 (0)