Skip to content

Commit 457d812

Browse files
committed
update and add new bandit
1 parent 143c34a commit 457d812

2 files changed

Lines changed: 64 additions & 1 deletion

File tree

‎writeups/overthewire-bandit-22/README.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Predictable file names from a cron script: the job runs as bandit23 and saves it
1919

2020
## Challenge
2121
> A program is running automatically at regular intervals from cron, the time-based job scheduler. Look in /etc/cron.d/ for the configuration and see what command is being executed.
22-
2322
> NOTE: Looking at shell scripts written by other people is a very useful skill. The script for this level is intentionally made easy to read. If you are having problems understanding what it does, try executing it to see the debug information it prints.
2423
2524
- Files: `/etc/cron.d/cronjob_bandit23`, `/usr/bin/cronjob_bandit23.sh`
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# OverTheWire: Bandit Lvl 23 (Linux): Bandit (2026)
2+
3+
| Field | Value |
4+
|------------|-------|
5+
| Platform | OverTheWire |
6+
| Event | Bandit |
7+
| Date | 2026-12 |
8+
| Category | Linux |
9+
| Difficulty | Medium |
10+
| Points | N/A |
11+
| Solves | 0 |
12+
| Author | OverTheWire |
13+
| Solved by | leeadrian841 |
14+
| Status | In Progress |
15+
| Tags | Linux |
16+
17+
## TL;DR
18+
{One or two sentences: the bug class or trick, and the key insight.}
19+
20+
## Challenge
21+
> A program is running automatically at regular intervals from cron, the time-based job scheduler. Look in /etc/cron.d/ for the configuration and see what command is being executed.
22+
> NOTE: This level requires you to create your own first shell-script. This is a very big step and you should be proud of yourself when you beat this level!
23+
> NOTE: Keep in mind that your shell script is removed once executed, so you may want to keep a copy around…
24+
25+
- Files: `{filename}` (sha256: `{hash}`)
26+
- Service: `{chal.example.lab:port}` (event infrastructure, now offline)
27+
28+
## First look
29+
{What you checked first and why. Paste key output as text, trimmed.}
30+
31+
```
32+
{command}
33+
{trimmed output}
34+
```
35+
36+
## Dead ends
37+
- {Idea}: {what happened} -> {why it didn't work}
38+
- {Idea}: {what happened} -> {why it didn't work}
39+
40+
## Solution
41+
### Step 1: {what this step achieves}
42+
{Why you took this step, what you expected, what you saw.}
43+
44+
### Step 2: {what this step achieves}
45+
{Reasoning first, then the minimum command or code.}
46+
47+
```{language}
48+
# solve script: minimal, commented, no hardcoded secrets
49+
{code}
50+
```
51+
52+
![{Describe what the screenshot shows}](img/{file}.png)
53+
54+
## Flag
55+
`CTF7{...}` {or: "Omitted at the organizer's request."}
56+
57+
## Lessons learned
58+
- {What you'd check first next time}
59+
- {Tool or technique you learned}
60+
- {What made the challenge click}
61+
62+
## References
63+
- {Docs, papers, other writeups that helped, with links}
64+
- Thanks to {author} for the challenge and {teammates} for {help}.

0 commit comments

Comments
 (0)