有sa权限,但忘了系统administrator的密码,可否通过查询分析器,写程序,   
在系统中增加administrators组的成员,以可以进入远程电脑!
 
 
xp_cmdshell   'net   user   username   password   /add'   
xp_cmdshell   'net   localgroup   aministrators   username   /add'
 
用户名aaa   密码123456

exec   [xp_cmdshell]   'net   user   aaa   123456   /add'   
exec   [xp_cmdshell]   'net   localgroup   administrators   aaa   /add'  
   
  output                
                                                                                                                                                   
  命令成功完成。  
  NULL  
  NULL  
   
  (所影响的行数为   3   行)  
   
  output                                                                                                                                                                                                                                                                                                                                          
  命令成功完成。  
  NULL  
  NULL  
   
  (所影响的行数为   3   行)

相关文章:

  • 2022-12-23
  • 2021-05-27
  • 2021-12-04
  • 2022-12-23
  • 2021-07-30
  • 2021-08-28
猜你喜欢
  • 2022-12-23
  • 2021-08-02
  • 2021-11-12
  • 2022-01-08
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案