nebula_level00
来源:互联网 发布:阿里的数据平台 编辑:程序博客网 时间:2024/06/08 17:18
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 level
Reference:
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
> file
redirects stdout to file1> file
redirects stdout to file2> file
redirects stderr to file&> file
redirects stdout and stderr to file
/dev/null
is 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
- Nebula_Level00
- iPhone开发技巧之私有API — 设备相关信息
- ORCL 错误收集
- iPhone开发技巧之私有API--- UIBarButtonItem
- UVa 10154 - Weights and Measures
- JavaScript Array 整理 - 元素操作
- nebula_level00
- Android 上传图片,服务器接收图片实现
- LinkedList源码分析
- UIViewController之间的传值方式二 通知
- JavaScript 笔记 —— 鼠标事件的浏览器差异
- c++ map自定义排序
- JAX-RS 2.0 中 REST 的四种服务类型
- jersey 框架传输格式 (2) xml
- js日期多少小时前、多少分钟前、多少秒前