Cacls Command Question

简介: (以下问题均在vmw5.0 + windows xp sp2 测试)administators用户组:hacker0722,administrator当前用户:hacker0722今天遇到一个很奇怪的问题,就是使用命令cacls的命令,带参数/g来运行。

(以下问题均在vmw5.0 + windows xp sp2 测试)
administators用户组:hacker0722,administrator
当前用户:hacker0722

今天遇到一个很奇怪的问题,就是使用命令cacls的命令,带参数/g来运行。
先看看cacls /?的帮助关于该命令的解释。

如图1cmd help

当我在命令行下输入:

cacls c:/windows/system32 /g administrator:r

再输入:

cacls

显示:
 “'cacls' 不是内部或外部命令,也不是可运行的程序
 或批处理文件。”

cacls command question

此时,无论你输入什么东西都是无法运行,当时我都傻了,什么东西都不能运行了。
不过当我想起来有一个东西可以修改,就是在右健中有安全选项,于是在安全全下,

添加hacker0722的完全控制权限,没有想到成功了。也就是说自己可以对自己控制的

权限进行调解。
那么如果你得到一个地权限的shell的话,是不是也可以调整自己的权限呢?

目录
相关文章
|
4月前
|
安全
Warning: Don’t paste code into the DevTools Console that you don’t understand or haven’t reviewed yo
Warning: Don’t paste code into the DevTools Console that you don’t understand or haven’t reviewed yo
|
6月前
Showing Recent Messages Command CodeSign failed with a nonzero exit code
Showing Recent Messages Command CodeSign failed with a nonzero exit code
65 0
|
Java
解决Command line is too long. Shorten command line for ServiceStarter or also for Application报错
解决Command line is too long. Shorten command line for ServiceStarter or also for Application报错
365 0
|
Linux iOS开发 MacOS
报错 sed: 1: extra characters at the end of d command
报错 sed: 1: extra characters at the end of d command
539 0
|
网络安全 开发工具
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
1015 0
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
autoreconf: command not found
autoreconf: command not found
427 0
g++: command not found
g++: command not found
80 0
运行 ‘ApiApplication‘ 出错: Command line is too long. Shorten command line for ShopApiApplication or
运行 ‘ApiApplication‘ 出错: Command line is too long. Shorten command line for ShopApiApplication or
229 0
运行 ‘ApiApplication‘ 出错: Command line is too long. Shorten command line for ShopApiApplication or
We cannot activate inspection type for article master in transaction code MM41?
We cannot activate inspection type for article master in transaction code MM41?
We cannot activate inspection type for article master in transaction code MM41?
Error running 'XXXApplication': Command line is too long. Shorten command line forXXX
Error running 'XXXApplication': Command line is too long. Shorten command line forXXX
156 0
Error running 'XXXApplication': Command line is too long. Shorten command line forXXX