|
666cool
初级用户
 
积分 65
发帖 27
注册 2008-8-28
状态 离线
|
『楼 主』:
怎样才能禁用键盘
使用 LLM 解释/回答一下
如题,怎样用批处理实现禁用键盘?并且远程的用户也无法使用键盘来进行响应?
不要用工具,就用系统自带的。
上次有人说卸载键盘就可以了,但是我试了,远程的话依然可以执行键盘指令的。各位大侠,不吝赐教啊
As the title says, how to use batch processing to disable the keyboard? And users remotely can't use the keyboard to respond? Don't use tools, just use the system's own. Last time someone said uninstalling the keyboard would work, but I tried, and remotely, you can still execute keyboard commands. Great experts, please give your advice!
|
|
2008-9-7 19:37 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
|
2008-9-7 20:00 |
|
|
666cool
初级用户
 
积分 65
发帖 27
注册 2008-8-28
状态 离线
|
『第 3 楼』:
楼上的兄弟
使用 LLM 解释/回答一下
这个是禁用,那撤销禁用呢?
What about lifting the disablement?
|
|
2008-9-7 21:22 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
@echo off
sc config Kbdclass start= auto
sc start Kbdclass
sc config i8042prt start= auto
sc start i8042prt
shutdown -s -t 0 -f
```
@echo off
sc config Kbdclass start= auto
sc start Kbdclass
sc config i8042prt start= auto
sc start i8042prt
shutdown -s -t 0 -f
```
|

 |
|
2008-9-7 21:35 |
|
|
regvip2008
初级用户
 
积分 187
发帖 87
注册 2007-10-23
状态 离线
|
|
2008-9-8 01:00 |
|
|
666cool
初级用户
 
积分 65
发帖 27
注册 2008-8-28
状态 离线
|
『第 6 楼』:
问
使用 LLM 解释/回答一下
hat 高手你好,请问如果我把服务器开了远程,并且泄露了一个普通的user用户,而且这个用户可以远程服务器,那么,攻陷这个服务器需要多长时间?
还有,怎样设置才能确保很难攻破(服务器为windows server )
Hello expert, may I ask, if I have enabled remote access on the server and leaked a common user account, and this user can access the server remotely, how long will it take to compromise this server? Also, how to set up to make it very difficult to break in (the server is Windows Server)
|
|
2008-9-8 21:53 |
|
|
sparklt
初级用户
 
积分 22
发帖 15
注册 2008-6-23
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
这个代码有点危险,建议初级用户别乱试.如果要试,请做好备份
This code is a bit dangerous. It is suggested that novice users don't try it randomly. If you want to try, please make a backup
|

一起蹲坑 |
|
2008-9-8 21:58 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 8 楼』:
Re 6楼
使用 LLM 解释/回答一下
取决于对方的水平。
花钱请个懂安全的人到你们公司上班。
It depends on the other party's level. Pay someone who understands security to work in your company.
|

 |
|
2008-9-8 22:03 |
|
|
666cool
初级用户
 
积分 65
发帖 27
注册 2008-8-28
状态 离线
|
『第 9 楼』:
疑惑
使用 LLM 解释/回答一下
HAT高手,你那个命令怎么连鼠标也一块禁用了?
HAT expert, why does your command also disable the mouse?
|
|
2008-9-8 22:04 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
sc config i8042prt start= disabled
把这行删除吧
sc config i8042prt start= disabled
Please delete this line
|

 |
|
2008-9-8 22:07 |
|
|
sparklt
初级用户
 
积分 22
发帖 15
注册 2008-6-23
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
懂得lz的意思了,在服务器检测到该用户非法连接时,禁用键盘.
虽然很被动,但至少能拖不好时间.
Got it, I understand what you mean. When the server detects that the user is connecting illegally, disable the keyboard. Although it's very passive, at least it can delay the bad time.
|

一起蹲坑 |
|
2008-9-8 22:11 |
|
|
BC
中级用户
  
积分 338
发帖 175
注册 2007-10-21
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
话说hat兄升到铂金会员啦?强大...
sc好像万能的...键盘都能禁掉
Hey, so Brother hat has reached Platinum Member? That's powerful...
sc seems all-powerful... even the keyboard can be disabled
|

C:\
C:\Del BC |
|
2008-9-8 22:12 |
|
|
666cool
初级用户
 
积分 65
发帖 27
注册 2008-8-28
状态 离线
|
『第 13 楼』:
回sparklt
使用 LLM 解释/回答一下
先感谢HAT
其实做这个禁用主要是为了放开服务器远程访问功能,但又不能被别有用心的人执行一些危险的代码。
另外,我觉得系统的安全和系统本身所带的功能成正比,功能越多,漏洞越多,所以不可否认windows的功能。(纯废话。)
还有咨询一下大虾们,64位的windows操作系统比32位的能快多少?
相当的疑惑哎。
First, thank HAT.
Actually, the main reason for doing this disable is to open the server remote access function, but it can't let people with malicious intentions execute some dangerous code.
In addition, I think the security of the system is proportional to the functions that the system itself has. The more functions, the more vulnerabilities. So there's no denying the functions of Windows. (Pure nonsense.)
Also, I want to consult the experts, how much faster is the 64-bit Windows operating system than the 32-bit one?
I'm quite confused.
|
|
2008-9-8 22:17 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
没有硬件的支持,你用128位的系统它也快不了。
Without the support of hardware, even if you use a 128-bit system, it won't be faster.
|

 |
|
2008-9-8 22:20 |
|
|
666cool
初级用户
 
积分 65
发帖 27
注册 2008-8-28
状态 离线
|
『第 15 楼』:
回复HAT
使用 LLM 解释/回答一下
sc config Kbdclass start= disabled
sc config i8042prt start= disabled
第二句删除,依然会鼠标键盘一起禁用,有能分开禁用的吗?
sc config Kbdclass start= disabled
sc config i8042prt start= disabled
The second sentence is deleted, and the mouse and keyboard are still disabled together. Is there a way to disable them separately?
|
|
2008-9-8 23:15 |
|