Changeset 3812

Show
Ignore:
Timestamp:
08/10/06 02:30:32 (2 years ago)
Author:
hdm
Message:

Fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework2/trunk/exploits/netapi_ms06_040.pm

    r3810 r3812  
    210210        my @response = $dce->request( $handle, 0x1f, $stub ); 
    211211         
    212         while ( $dce->{'response'}->{'StubData'} eq "\x0A\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x72\x00\x01\x00\x00\x00\x4B\x08\x00\x00") { 
     212        if ( length($dce->{'response'}->{'StubData'}) > 0) { 
    213213                $self->PrintLine("[*] The server rejected it, trying again..."); 
    214                 @response = $dce->request( $handle, 0x1F, $stub ); 
     214                @response = $dce->request( $handle, 0x1f, $stub ); 
    215215        } 
    216216