Fix an errant bitwise-and used as bool
Squashed commit of the following: commit 748ab76d71422e5909dc29403fd24ceb025504b5 Author: Rob Fuller <jd.mubix@gmail.com> Date: Fri Jul 20 02:50:50 2012 -0400 fixes dir/file check [Closes #626]unstable
parent
cccd3754a4
commit
df7af9df40
|
@ -1878,7 +1878,7 @@ NTLM_UTILS = Rex::Proto::NTLM::Utils
|
|||
name = resp_data[didx + 70 + 24, info[15]].sub!(/\x00+$/, '')
|
||||
files[name] =
|
||||
{
|
||||
'type' => (info[14] & 0x10) ? 'D' : 'F',
|
||||
'type' => ((info[14] & 0x10)==0x10) ? 'D' : 'F',
|
||||
'attr' => info[14],
|
||||
'info' => info
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue