Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 409 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 409 Bytes

inotify_child

Like inotify, but only inspects its direct child to see if it has opened a file.

usage

Works for slow things.

$ echo FLAG > flag
$ ./inotify_child flag sh -c 'while read line; do echo $line; done < flag'

Doesn't work for things that work like shellcode (immediate open, read, write).

$ echo FLAG > flag
$ ./inotify_child flag sleepcat/sleepcat flag
FLAG