nebula_level00
2015-01-24 01:21
232 查看
Level00
About
This level requires you to find a Set User ID program that will run as the“flag00” account. You could also find this by carefully looking in top leveldirectories in / for suspicious looking directories.Alternatively, look at the find man page.
To access this level, log in as level00 with the password of level00.
Source code
There is no source code available for this levelReference:
Find file owned by user
The syntax is:find directory-location -user {username} -name {file-name}
Where,
directory-location : Locate files or directories in this directory location.
-user { user-name } : Find the file belongs to user.
-name {file-name} : File name or pattern.
In this example, locate or find all file belongs to a user called "vivek" in /var directory:
# find /var -user vivek
To find all *.pl (perl files) file belongs to a user called "vivek" in /var/www directory, enter:
# find /var/www -user vivek -name "*.pl"
The > operator redirects the output usually to a file but it can be to a device. You can also use >> to append.
If you don't specify a number then the standard output stream is assumed but you can also redirect errors
> fileredirects stdout to file
1> fileredirects stdout to file
2> fileredirects stderr to file
&> fileredirects stdout and stderr to file
/dev/nullis the null device it takes any input you want and throws it away. It can be used to suppress any output.
solution:
find / -user flag00 2>dev/null
相关文章推荐
- Nebula_Level00
- i春秋 - Exploit-Exercises: Nebula - level00
- Nebula3学习笔记(4): 工具库
- [导入]Nebula3资源子系统
- Nebula3的Input系统
- Nebula3的渲染线程插件(Render Thread Plugin)
- nebula 0
- nebula 01
- Nebula3学习笔记(5): IO实战, ZIP解压缩程序
- Nebula3绘制2D纹理
- Nebula3学习笔记(7): 脚本系统
- ExploitExercises_Nebula_Level02
- i春秋 - Exploit-Exercises: Nebula - level04
- [导入]Nebula3学习笔记(4): 工具库
- Nebula3的多线程架构
- Nebula3的场景管理
- Nebula3 Render Application Wizard
- Nebula3 Light && Shadow 系统
- Nebula_level01
- Nebula3绘制2D纹理