Rafind2

Description

Rafind2 – Advanced commandline hexadecimal editor .  It is a program to find byte patterns into files .

Usage

Syntax

rafind2 [-Xnzhv] [-b sz] [-f/t from/to] [-[m|s|e] str] [-x hex] file ..

Options

 -v         print version and exit Rafind2 
 -b [size]  set block size
 -f [from]  start searching from address 'from'
 -t [to]    stop search at address 'to'
 -n         do not stop on read errors Rafind2 
 -s [str]   search for a specific string (can be used multiple times)
 -x [hex]   search for hexpair string (909090) (can be used multiple times)
 -e [regex] search for regular expression string matches
 -m [str]   set a binary mask to be applied on keywords
 -z         search for zero-terminated strings
 -r         print using radare commands Rafind2 
 -X         show hexdump of search results Rafind2 
 -Z         show zero-terminated strings of search results

Example

cyborg@cyborg:~$ rafind2 -r Downloads/STATIC.ELF
TODO: searchin stringz
f hit0_1 0x00000004 ; Downloads/STATIC.ELF
f hit0_2 0x00000015 ; Downloads/STATIC.ELF
f hit0_3 0x00000037 ; Downloads/STATIC.ELF
f hit0_4 0x0000003b ; Downloads/STATIC.ELF
f hit0_5 0x00000050 ; Downloads/STATIC.ELF
f hit0_6 0x00000065 ; Downloads/STATIC.ELF
f hit0_7 0x00000077 ; Downloads/STATIC.ELF
f hit0_8 0x00000087 ; Downloads/STATIC.ELF
f hit0_9 0x00000099 ; Downloads/STATIC.ELF
f hit0_10 0x000000b9 ; Downloads/STATIC.ELF
f hit0_11 0x000000c3 ; Downloads/STATIC.ELF
f hit0_12 0x000000cd ; Downloads/STATIC.ELF
f hit0_13 0x00000104 ; Downloads/STATIC.ELF
f hit0_14 0x00000124 ; Downloads/STATIC.ELF
f hit0_15 0x0000013d ; Downloads/STATIC.ELF
f hit0_16 0x00000174 ; Downloads/STATIC.ELF
f hit0_17 0x00000187 ; Downloads/STATIC.ELF
f hit0_18 0x000001a0 ; Downloads/STATIC.ELF
f hit0_19 0x000001d7 ; Downloads/STATIC.ELF
f hit0_20 0x00000213 ; Downloads/STATIC.ELF
f hit0_21 0x0000022c ; Downloads/STATIC.ELF
f hit0_22 0x00000269 ; Downloads/STATIC.ELF
f hit0_23 0x00000288 ; Downloads/STATIC.ELF
f hit0_24 0x000002a1 ; Downloads/STATIC.ELF
f hit0_25 0x000002e2 ; Downloads/STATIC.ELF
f hit0_26 0x000002e8 ; Downloads/STATIC.ELF
f hit0_27 0x000002ed ; Downloads/STATIC.ELF
f hit0_28 0x000002f3 ; Downloads/STATIC.ELF
f hit0_29 0x000002f8 ; Downloads/STATIC.ELF
f hit0_30 0x000002fd ; Downloads/STATIC.ELF
f hit0_31 0x00000301 ; Downloads/STATIC.ELF
f hit0_32 0x0000032a ; Downloads/STATIC.ELF
f hit0_33 0x0000033e ; Downloads/STATIC.ELF
f hit0_34 0x00000352 ; Downloads/STATIC.ELF
f hit0_35 0x0000036e ; Downloads/STATIC.ELF
f hit0_36 0x0000039c ; Downloads/STATIC.ELF
f hit0_37 0x000003b9 ; Downloads/STATIC.ELF
f hit0_38 0x000003cd ; Downloads/STATIC.ELF
f hit0_39 0x000003db ; Downloads/STATIC.ELF
f hit0_40 0x000003ea ; Downloads/STATIC.ELF
f hit0_41 0x00000404 ; Downloads/STATIC.ELF
f hit0_42 0x00000429 ; Downloads/STATIC.ELF
f hit0_43 0x0000043c ; Downloads/STATIC.ELF
f hit0_44 0x00000451 ; Downloads/STATIC.ELF
f hit0_45 0x00000464 ; Downloads/STATIC.ELF
f hit0_46 0x00000485 ; Downloads/STATIC.ELF
f hit0_47 0x000004a7 ; Downloads/STATIC.ELF
f hit0_48 0x000004b5 ; Downloads/STATIC.ELF
f hit0_49 0x000004c5 ; Downloads/STATIC.ELF
f hit0_50 0x000004d4 ; Downloads/STATIC.ELF
f hit0_51 0x000004e4 ; Downloads/STATIC.ELF
f hit0_52 0x000004f3 ; Downloads/STATIC.ELF
f hit0_53 0x0000050a ; Downloads/STATIC.ELF
f hit0_54 0x00000522 ; Downloads/STATIC.ELF
f hit0_55 0x0000052d ; Downloads/STATIC.ELF
f hit0_56 0x00000539 ; Downloads/STATIC.ELF
f hit0_57 0x00000545 ; Downloads/STATIC.ELF
f hit0_58 0x00000551 ; Downloads/STATIC.ELF
f hit0_59 0x0000055f ; Downloads/STATIC.ELF
f hit0_60 0x00000570 ; Downloads/STATIC.ELF
f hit0_61 0x00000582 ; Downloads/STATIC.ELF
f hit0_62 0x00000595 ; Downloads/STATIC.ELF
f hit0_63 0x000005b0 ; Downloads/STATIC.ELF
f hit0_64 0x000005bc ; Downloads/STATIC.ELF
f hit0_65 0x000005c8 ; Downloads/STATIC.ELF
f hit0_66 0x000005da ; Downloads/STATIC.ELF
f hit0_67 0x00001000 ; Downloads/STATIC.ELF
f hit0_68 0x0000100e ; Downloads/STATIC.ELF
f hit0_69 0x00001024 ; Downloads/STATIC.ELF
f hit0_70 0x0000103b ; Downloads/STATIC.ELF
f hit0_71 0x00001052 ; Downloads/STATIC.ELF
f hit0_72 0x00001068 ; Downloads/STATIC.ELF
f hit0_73 0x0000107f ; Downloads/STATIC.ELF
f hit0_74 0x00001099 ; Downloads/STATIC.ELF
f hit0_75 0x000010b5 ; Downloads/STATIC.ELF
f hit0_76 0x000010cc ; Downloads/STATIC.ELF
f hit0_77 0x000010e3 ; Downloads/STATIC.ELF
f hit0_78 0x000010fe ; Downloads/STATIC.ELF
f hit0_79 0x0000111a ; Downloads/STATIC.ELF
f hit0_80 0x00001136 ; Downloads/STATIC.ELF
f hit0_81 0x00001150 ; Downloads/STATIC.ELF
f hit0_82 0x00001171 ; Downloads/STATIC.ELF
f hit0_83 0x0000117a ; Downloads/STATIC.ELF
f hit0_84 0x00001183 ; Downloads/STATIC.ELF
f hit0_85 0x0000118c ; Downloads/STATIC.ELF
f hit0_86 0x00001195 ; Downloads/STATIC.ELF
f hit0_87 0x0000119f ; Downloads/STATIC.ELF
f hit0_88 0x000011a8 ; Downloads/STATIC.ELF
f hit0_89 0x000011b2 ; Downloads/STATIC.ELF
f hit0_90 0x000011bc ; Downloads/STATIC.ELF
f hit0_91 0x000011c5 ; Downloads/STATIC.ELF
f hit0_92 0x000011cf ; Downloads/STATIC.ELF
f hit0_93 0x000011ea ; Downloads/STATIC.ELF
f hit0_94 0x0000120b ; Downloads/STATIC.ELF
f hit0_95 0x00001235 ; Downloads/STATIC.ELF
f hit0_96 0x00002000 ; Downloads/STATIC.ELF
f hit0_97 0x00003000 ; Downloads/STATIC.ELF
f hit0_98 0x00003025 ; Downloads/STATIC.ELF

0 Comments

Leave a reply

CONTACT US

We're are building as a community and a team. Be a part of it.

Sending

©2017 Ztrela Knowledge Solutions Pvt. Ltd

Log in with your credentials

Forgot your details?