Re: [dev] [ask] search binary file offset in file

2017-03-24 Thread Carlos Torres
Hi Amer, On Fri, Mar 24, 2017 at 4:50 PM, Amer wrote: > https://github.com/Sepero/SearchBin >- compiles file in regex beforehand >- python > => ignored: naive > > https://github.com/rsharo/bgrep >- overcomplicated >- no need for regex support, only offsets >- no effective stri

Re: [dev] [ask] search binary file offset in file

2017-03-24 Thread Amer
https://github.com/Sepero/SearchBin - compiles file in regex beforehand - python => ignored: naive https://github.com/rsharo/bgrep - overcomplicated - no need for regex support, only offsets - no effective string match algs inside - no alg for mmap() usage => ignored: inadequate

Re: [dev] [ask] search binary file offset in file

2017-03-24 Thread Alexander Krotov
On Fri, Mar 24, 2017 at 08:03:38PM +0200, Amer wrote: > Does anybody knows any cli tools which allows to search offset > of one binary file inside another ? > > Find if ./chunk.bin contained and its offset inside ./dump.bin > * simple case: 200kB inside 100MB > * hard case: 2GB inside 100G

[dev] [ask] search binary file offset in file

2017-03-24 Thread Amer
Does anybody knows any cli tools which allows to search offset of one binary file inside another ? Find if ./chunk.bin contained and its offset inside ./dump.bin * simple case: 200kB inside 100MB * hard case: 2GB inside 100GB I thought this idea is as old as PC itself, but I couldn't find