Skip to content

Commit 9ae40a3

Browse files
committed
write-ups and mods
1 parent 020a9f7 commit 9ae40a3

File tree

4 files changed

+99
-7
lines changed

4 files changed

+99
-7
lines changed

createWriteup.py

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
"""
2+
filename: createWriteup.py
3+
Purpose: (Standardizaiton) To automate the process of creating a write-up
4+
Usage: python3 createWriteup.py <Name/Handle>
5+
Return(s):
6+
./<Name/Handle>
7+
./<ChallengeName>/challenge
8+
./<ChallengeName>/solution
9+
./<ChallengeName>/README.md
10+
--> # <ChallengeName>
11+
"""
12+
13+
import sys
14+
import os
15+
16+
def usage():
17+
print(f"Be sure to have your name / handle!")
18+
print(f"Usage:")
19+
print(f"python3 createWriteup.py <Name/Handle>")
20+
21+
22+
# Quick Function to make a file
23+
makeFile = lambda file: open(file, "x")
24+
25+
# main -> Returns a standardized process for a single challenge
26+
def main(challenge_name):
27+
README = f"{challenge_name}/README.md"
28+
29+
# Creates `./<ChallengeName>`
30+
os.mkdir(f"{challenge_name}")
31+
32+
# Creates `./<ChallengeName>/challenge`
33+
os.mkdir(f"{challenge_name}/challenge")
34+
35+
# Creates `./<ChallengeName>/README.md`
36+
makeFile(f"{README}")
37+
38+
with open(f"{README}", "r+") as f:
39+
f.write(f"# {challenge_name}\n")
40+
41+
42+
# Ensures that users are using the program correctly
43+
if __name__ == "__main__":
44+
try:
45+
challenge_name = sys.argv[1]
46+
main(challenge_name)
47+
except:
48+
usage()

makeChallenge.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def usage():
2222
# Quick Function to make a file
2323
makeFile = lambda file: open(file, "x")
2424

25-
# main -> Re
25+
# main -> Returns a standardized process for a single challenge
2626
def main(challenge_name):
2727
README = f"{challenge_name}/README.md"
2828

@@ -32,10 +32,6 @@ def main(challenge_name):
3232
# Creates `./<ChallengeName>/challenge`
3333
os.mkdir(f"{challenge_name}/challenge")
3434

35-
# Might not need this
36-
# # Creates `./<ChallengeName>/solution`
37-
# os.mkdir(f"{challenge_name}/solution")
38-
3935
# Creates `./<ChallengeName>/README.md`
4036
makeFile(f"{README}")
4137

misc/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
| Challenge Name | Description | Hint
1313
|:-- | :-- | :---
1414
| [hidden-in-plain-sight-2](hidden-in-plain-sight-2) | One of these values is valid and distinctly different than the rest. | Have you considered the fact, that the flag might simply be built different. If only there was a way to figure out if the flag was equal equal to one of these.
15-
| [%20rainbows](%20rainbows) | Think URLS to understand %20 | Zoom in and remember hex can represent a multitude of things
15+
| [%20rainbows](%2520rainbows) | Think URLS to understand %20 | Zoom in and remember hex can represent a multitude of things
1616

1717
## Hard Challenges
1818
| Challenge Name | Description
1919
|:-- | :--
20-
| ['Got_OSINT?']('Got_OSINT?')| Sometimes Google searches lead to numbers | Did you put the answer in the flag format jctf{INSERT NUMBER}?
20+
| ['Got_OSINT?'](Got_OSINT%3F)| Sometimes Google searches lead to numbers | Did you put the answer in the flag format jctf{INSERT NUMBER}?
2121
| [xymap](xymap) | Trying to get the W, but it flipped. Alphabet be like that tho

writeups/README.md

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Write-ups
2+
3+
## Write-up Sites
4+
5+
6+
##
7+
8+
### Crypto
9+
* [Crypto](../crypto)
10+
11+
| Challenge | Write-ups
12+
| :----: | :----
13+
| [BlaiseDeCVE](../crypto/BlaiseDeCVE) | You'll need this CVE-2014-6271 to find the key!
14+
| [HideInside](../crypto/HideInside)| Don't see any flag flying in this city pic, must be hidden behind the scenes
15+
| [rail-fence](../crypto/rail-fence) | The flag is there but not. There must be some type of pattern. This flag needs to be submitted in upper case.
16+
| [rome](../crypto/rome)| "Rome Cryptography"
17+
| [rome-but-harder](../crypto/rome-but-harder) | Old Time Crypto with a Modern Spin
18+
| [StegAESaurus](../crypto/StegAESaurus) | Put all the key pieces together to crack this ciphertext
19+
| [Transformation](../crypto/Transformation)| Do you have an affinity for math? Then you’ll easily crack this cipher!
20+
| [XORED-Message](../crypto/XORED-Message) | There is some encrypted message, it apparently has something to do with logic.
21+
22+
### Forensics
23+
* [Forensics](../forensics)
24+
| Challenge | Write-up
25+
| :--: | :--
26+
| [alternate-reality](../forensics/alternate-reality) | Find the flag in this forensic disk image.
27+
| [closed-creds](../forensics/closed-creds) | Using the registry files provided, what is the password of the Administrator user?
28+
| [data-about-data](../forensics/data-about-data) | Find the flag in this zip archive.
29+
| [file-desc](../forensics/file-desc) | What type of file is this?
30+
| [HASH-browns](../forensics/HASH-browns) | Get the decimal sum of the last 4 digits of all each file from an hash. They were talking about something pertains to md as the hash.
31+
| [investigating-windows](../forensics/investigating-windows) | Find the SID of the user robbr using the Windows registry files provided.
32+
| [pw-backup](../forensics/pw-backup) | I seem to not be getting the full and grand picture here
33+
| [traffic-analysis](../forensics/traffic-analysis) |
34+
| [volatile-memory-1](../forensics/volatile-memory-1) |
35+
| [volatile-memory-2](../forensics/volatile-memory-2) |
36+
| [where-did-you-go](../forensics/where-did-you-go) | Find the flag in this forensic disk image.
37+
38+
## Misc
39+
| Challenge | Write-ups
40+
| :----: | :----
41+
42+
## PWN
43+
| Challenge | Write-ups
44+
| :----: | :----
45+
46+
## Web
47+
| Challenge | Write-ups
48+
| :----: | :----

0 commit comments

Comments
 (0)