Skip to content

Commit

Permalink
feat: add mctf
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredgamulo committed Jul 18, 2023
1 parent e9bc4f7 commit f00279e
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MetaCTF/ACE-T/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tmp/*
!tmp/.placeholder
10 changes: 10 additions & 0 deletions MetaCTF/ACE-T/all_strung_out.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
All Strung Out

```
Find the first flag in evidence.zip.
The flag hidden in this challenge is in the format: flag{value}
```

1. Unzip
1. `grep -E "flag\{.*\}" evidence.mem`
9 changes: 9 additions & 0 deletions MetaCTF/ACE-T/breaching_buckets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Breaching Buckets

```
Take a look at where this image is hosted. See if you can find the flag! Does anything stand out?
```

1. `aws s3 ls prod-cdn-user-imgs --recursive`
1. `aws s3 cp --recursive s3://prod-cdn-user-imgs .`
1. browse all pictures for flag
7 changes: 7 additions & 0 deletions MetaCTF/ACE-T/osint_time.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
OSINT Time

```
Your co-worker Leo refused to tell anyone where he was going on vacation. You saw him post an Instagram of a super cute sloth and you REALLY want to know where it was taken. See if you can figure it out.
```

1. `exiftool $DOWNLOADS/sloth.jpg | grep -i comment`
22 changes: 22 additions & 0 deletions MetaCTF/ACE-T/the_last_great_zip_file.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The Last Great Zip File

```
Help! I've created a zip archive that contains my favorite flag, but I forgot the password to it. Can you help me recover my flag back?
You may need to use another program such as wget to download the file if your browser is blocking the download. Now to get the password hash from the zip file...
```

1. `wget https://metaproblems.com/4c8353df44a1dc0c5535ec84fa8da70e/flag.zip`

1. Download [John the Ripper](https://www.openwall.com/john/)
* ```
$ git clone https://github.com/openwall/john
$ cd john/src
$ ./configure && make
```
1. `./john/run/zip2john flag.zip > zip.hashes`
1. `./john/run/john --wordlist=/usr/share/wordlists/rockyou.txt zip.hashes `
1. `./john/run/john zip.hashes --show`
Empty file added MetaCTF/ACE-T/tmp/.placeholder
Empty file.

0 comments on commit f00279e

Please sign in to comment.