5

How to access a file belonging to some other group?

view full story
linux-howto

http://askubuntu.com – I saw this problem in an online hacking competition. The question asked us to print the contents of the file "secret" bruce@ip-10-144-4-86:/home/hacker-weekly$ ll total 20 drwxr-xr-x 2 hacker-weekly hacker-weekly 4096 Nov 12 19:19 ./ drwxr-xr-x 222 root root 12288 Dec 27 06:27 ../ -r--r----- 1 root secret 373 Nov 12 19:19 secret bruce@ip-10-144-4-86:/home/hacker-weekly$ stat secret File: `secret' Size: 373 Blocks: 8 IO Block: 4096 regular file Device: ca01h/51713d Inode: 141569 Links: 1 Access: (0440/-r--r-----) Uid (HowTos)