ZenHAX https://zenhax.com/ |
|
Byte Pattern Splitting Problem? https://zenhax.com/viewtopic.php?f=13&t=17910 |
Page 1 of 1 |
Author: | Dark Frost [ Fri Jan 20, 2023 4:40 am ] | |||
Post subject: | Byte Pattern Splitting Problem? | |||
ı Can use this code https://zenhax.com/viewtopic.php?t=1843#p10024 but ı have problem Byte Pattern Splitting my code is Code: findloc OFFSET binary "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" Problem is first extracted 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" Like This 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 Like This How Can I Fix This ?
|
Author: | spiritovod [ Fri Jan 20, 2023 7:02 pm ] |
Post subject: | Re: Byte Pattern Splitting Problem? |
Original script is designed for splitting by headers only (when you only search next header). If you need to consider both header and footer, you need to adjust the script accordingly: Code: do though it may produce error on last iteration (everything should be already extracted at this point). |
Author: | Dark Frost [ Sat Jan 21, 2023 1:43 pm ] |
Post subject: | Re: Byte Pattern Splitting Problem? |
spiritovod wrote: Original script is designed for splitting by headers only (when you only search next header). If you need to consider both header and footer, you need to adjust the script accordingly: Code: do though it may produce error on last iteration (everything should be already extracted at this point). Thank You So Much !!!! Everything Work Flawless Now |
Author: | Dark Frost [ Sat Jan 21, 2023 4:09 pm ] |
Post subject: | Re: Byte Pattern Splitting Problem? |
I Try Learned Someting,I Try Rewriting Your Sending Code, But Where I Went Wrong ? Code: do |
Author: | spiritovod [ Sat Jan 21, 2023 6:01 pm ] |
Post subject: | Re: Byte Pattern Splitting Problem? |
@Dark Frost: If you need to only change patterns for header or footer, just change 16 to the footer size (in bytes) and it will work. Otherwise, in case of more complex modifications, I suggest to look into quickbms documention for better understanding of what you're doing. |
Author: | Dark Frost [ Fri Jan 27, 2023 12:45 am ] | ||
Post subject: | Re: Byte Pattern Splitting Problem? | ||
spiritovod wrote: @Dark Frost: If you need to only change patterns for header or footer, just change 16 to the footer size (in bytes) and it will work. Otherwise, in case of more complex modifications, I suggest to look into quickbms documention for better understanding of what you're doing. Finally ı Create This Thing Code: do I Thing if A_OFFSET == Q_OFFSET - 32 Script Continue, else goto A_OFFSET but ı have problem Because İts Not working my data is How Can I Fix that because my some files have only "\x80\x00" Data ı Need Compare A_OFFSET before Q_OFFSET And I try This Way But Not Working Too: Code: do
|
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |