Bug #2459
Msf::Util:EXE.to_win32pe fails with Metasm parse error
| Status: | Closed | Start date: | 08/26/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Joshua J. Drake | % Done: | 100% |
|
| Category: | payloads | |||
| Target version: | Metasploit 3.5.0 | |||
| Resolution: | fixed | Release Note: |
Description
The error was:
[-] Exploit exception: immediate overflow :i8 -87h "\"<unk>\"" line 300
Altho it appears to be difficult to reproduce. I suspect some fuzzing will turn it up easily though.
Associated revisions
remove loop instruction, it was causing problems when the destination was too far away, fixes #2459
git-svn-id: file:///home/svn/framework3/trunk@10385 4d416f70-5f16-0410-b530-b9f4589650da
History
Updated by Joshua J. Drake over 1 year ago
HD committed r10164 in response to this bug. We will need more testing to know if it fixes it since it seems rare that the error occurs in the first place.
Updated by Joshua J. Drake over 1 year ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r10385.
Updated by Joshua J. Drake over 1 year ago
- File to_win32pe_test.rb added
- File to_win32pe_asm_save.diff added
- Assignee changed from HD Moore to Joshua J. Drake
- Resolution set to fixed
Attaching the script and the diff I used for testing.. not sure if the diff will apply anymore, but it's at least useful to know what I changed 
Updated by Jonathan Cran over 1 year ago
- Status changed from Resolved to Closed