Changeset 4080
- Timestamp:
- 10/28/06 18:08:18 (2 years ago)
- Files:
-
- framework2/tags/framework-2.7/exploits/lsass_ms04_011.pm (modified) (1 diff)
- framework2/tags/framework-2.7/exploits/ms05_039_pnp.pm (modified) (1 diff)
- framework2/tags/framework-2.7/exploits/netapi_ms06_040.pm (modified) (1 diff)
- framework2/tags/framework-2.7/exploits/rras_ms06_025.pm (modified) (1 diff)
- framework2/tags/framework-2.7/exploits/rras_ms06_025_rasman.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework2/tags/framework-2.7/exploits/lsass_ms04_011.pm
r3818 r4080 130 130 } 131 131 132 # XXX - UGLY 132 133 133 my $smb = $dce->{'_handles'}{$handle}{'connection'}; 134 if (! $smb) { 135 $self->PrintLine("[*] Could not connect to SMB for $handle"); 136 return; 137 } 138 134 139 if ( $target->[0] =~ /Auto/ ) { 135 140 if ( $smb->PeerNativeOS eq 'Windows 5.0' ) { framework2/tags/framework-2.7/exploits/ms05_039_pnp.pm
r3818 r4080 180 180 } 181 181 182 my $smb = $dce->{'_handles'}{$handle}{'connection'}; 182 my $smb = $dce->{'_handles'}{$handle}{'connection'}; 183 if (! $smb) { 184 $self->PrintLine("[*] Could not connect to SMB for $handle"); 185 return; 186 } 183 187 if ( $smb->PeerNativeOS eq 'Windows 5.0' ) { 184 188 $self->PrintLine("[*] Detected a Windows 2000 target"); framework2/tags/framework-2.7/exploits/netapi_ms06_040.pm
r4023 r4080 144 144 145 145 my $smb = $dce->{'_handles'}{$handle}{'connection'}; 146 147 146 if (! $smb) { 148 $self->PrintLine("[*] Could not establish SMB session");147 $self->PrintLine("[*] Could not connect to SMB for $handle"); 149 148 return; 150 149 } framework2/tags/framework-2.7/exploits/rras_ms06_025.pm
r3818 r4080 136 136 137 137 my $smb = $dce->{'_handles'}{$handle}{'connection'}; 138 if (! $smb) { 139 $self->PrintLine("[*] Could not connect to SMB for $handle"); 140 return; 141 } 138 142 if ( $target->[0] =~ /Auto/ ) { 139 143 if ( $smb->PeerNativeOS eq 'Windows 5.0' ) { framework2/tags/framework-2.7/exploits/rras_ms06_025_rasman.pm
r3818 r4080 135 135 136 136 my $smb = $dce->{'_handles'}{$handle}{'connection'}; 137 if (! $smb) { 138 $self->PrintLine("[*] Could not connect to SMB for $handle"); 139 return; 140 } 137 141 if ( $target->[0] =~ /Auto/ ) { 138 142 if ( $smb->PeerNativeOS eq 'Windows 5.0' ) {
