...
1[!exec:/bin/sh] skip
2
3chmod 0777 go1.999999-/run.sh
4chmod 0777 run.sh
5
6! go list all
7! stdout 'RAN SCRIPT'
8
9cd subdir
10! go list all
11! stdout 'RAN SCRIPT'
12
13-- go.mod --
14module exploit
15
16go 1.21
17toolchain go1.999999-/run.sh
18-- go1.999999-/run.sh --
19#!/bin/sh
20printf 'RAN SCRIPT\n'
21exit 1
22-- run.sh --
23#!/bin/sh
24printf 'RAN SCRIPT\n'
25exit 1
26-- subdir/go.mod --
27module exploit
28
29go 1.21
30toolchain go1.999999-/../../run.sh
31-- subdir/go1.999999-/README.txt --
32heh heh heh
View as plain text