Help us keep the site up! Got some change to spare? Why not donate a few bits and buy us a coffee. Image

Byte Pattern Splitting Problem QuickBMS?

Coders and would-be coders alike, this is the place to talk about programming.
Post Reply
Dark Frost
ultra-n00b
Posts: 2
Joined: Sat Dec 25, 2021 1:51 am

Byte Pattern Splitting Problem QuickBMS?

Post by Dark Frost »

Hi ı Can use this code https://zenhax.com/viewtopic.php?t=1843#p10024 but ı have problem Byte Pattern Splitting
my code is

Code: Select all

findloc OFFSET binary "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET binary "\x00\x07\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77" 0 ""
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE += OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""
Problem is first extracted First file is fine because start with \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 Pattern And End With "\x00\x07\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77"
I need Like This
Image
but 2nd and another files doesnt extracted correctly because start with "\x00\x07\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77\x77" and with Nothing
How Can I Fix This ?
Sorry I Write Visual Basic But I dont Know c++
You do not have the required permissions to view the files attached to this post.
Post Reply