Skip to content

Commit b3bd1f4

Browse files
committed
Update name of repo
1 parent 458d1a8 commit b3bd1f4

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ The docker image is loaded directly using `docker compose up`.
2121
Download this repository.
2222

2323
```
24-
git clone --depth 1 https://github.com/NYU-LLM-CTF/LLM_CTF_Database
24+
git clone --depth 1 https://github.com/NYU-LLM-CTF/NYU_CTF_Bench
2525
```
2626

2727
Install the python package.
2828

2929
```
30-
cd LLM_CTF_Database/python
30+
cd python
3131
pip install .
3232
```
3333

@@ -39,7 +39,8 @@ The following python snippet shows how to load challenge details using the pytho
3939
from nyuctf.dataset import CTFDataset
4040
from nyuctf.challenge import CTFChallenge
4141
42-
ds = CTFDataset("~/LLM_CTF_Database/test_dataset.json")
42+
# Edit the dataset path
43+
ds = CTFDataset("~/NYU_CTF_Bench/test_dataset.json")
4344
chal = CTFChallenge(ds.get("2021f-rev-maze"), ds.basedir)
4445
4546
print(chal.name)
@@ -53,7 +54,7 @@ Run tests on the challenges, for docker setup and network connection.
5354
Requires the docker network to be setup.
5455

5556
```
56-
cd LLM_CTF_Database/python
57+
cd python
5758
python -m unittest -v test.test_challenges
5859
```
5960

python/nyuctf/download.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import tarfile
66
import pygit2
77

8-
REPO_URL = "https://github.com/NYU-LLM-CTF/LLM_CTF_Database.git"
8+
REPO_URL = "https://github.com/NYU-LLM-CTF/NYU_CTF_Bench.git"
99

1010
version_info = {
1111
"20241001": {
@@ -55,6 +55,6 @@ def clone_and_checkout_commit(repo_url, target_dir, branch_name, commit_hash):
5555
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
5656
parser.add_argument("-v", "--version", help="Version of the dataset", default="20241001")
5757
parser.add_argument("-d", "--directory", help="Directory to download the dataset", default="./")
58-
parser.add_argument("-n", "--name", help="Database name", default="LLM_CTF_Database")
58+
parser.add_argument("-n", "--name", help="Database name", default="NYU_CTF_Bench")
5959
args = parser.parse_args()
60-
download_dataset(args.version, os.path.join(args.directory, args.name))
60+
download_dataset(args.version, os.path.join(args.directory, args.name))

test/2018/CSAW-Quals/crypto/lowe/test_solver/VALIDATION.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)