Skip to content

Commit 6e6cf4c

Browse files
committed
fixed commands
1 parent 9cba3a3 commit 6e6cf4c

File tree

1 file changed

+6
-4
lines changed
  • 2016-03-18-insomnihack-final/misc_robots

1 file changed

+6
-4
lines changed

2016-03-18-insomnihack-final/misc_robots/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,11 @@ With this we checked how to execute shell commands from LISP and used:
137137
#.(run-shell-command "ls")
138138
```
139139

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:
141142

142143
```
143-
#.(run-shell-command "./getflag/flag")
144+
#.(run-shell-command "./getflag/read_flag")
144145
```
145146

146147
To read the flag.
@@ -281,10 +282,11 @@ Następnie sprawdziliśmy jak wykonywać komendy shell z poziomu LISPa i wysłal
281282
#.(run-shell-command "ls")
282283
```
283284

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:
285287

286288
```
287-
#.(run-shell-command "./getflag/flag")
289+
#.(run-shell-command "./getflag/read_flag")
288290
```
289291

290292
Aby odczytać flagę

0 commit comments

Comments
 (0)