wo[?] hex
write in block with operation. 'wo?' fmi
Usage: wo[asmdxoArl24] [hexpairs] @ addr[!bsize]
wo[24aAdlmorwx]
without hexpair values, clipboard is usedwo2 [val]
2= 2 byte endian swapwo4 [val]
4= 4 byte endian swapwoa [val]
+= addition (f.ex: woa 0102)woA [val]
&= andwod [val]
/= dividewoD[algo] [key] [IV]
decrypt current block with given algo and keywoe [from to] [step] [wsz=1] ..
create sequence-
Example:
woe 42 3 @ edi!32
This will write a pattern from 42, increment by 3, onto edi. The!
means size. So what offset to write till woE [algo] [key] [IV]
encrypt current block with given algo and keywol [val]
<<= shift leftwom [val]
*= multiplywoo [val]
|= orwop[DO] [arg]
De Bruijn Patternswor [val]
>>= shift rightwoR
random bytes (alias for 'wr $b')wos [val]
-= substractionwow [val]
== write looped value (alias for 'wb')wox [val]
^= xor (f.ex: wox 0x90)-
This can be used to xor using registers. Example:
wox
p8 32 @ edi@ eax!32
. This command will take 32 bytes in hex from edi and then xor eax till 32 bytes
Memory Manipulation ยท Radare2 Explorations
<p hidden>wo wo2 wo4 woa woA wod woD woe woE wol wom woo wop wor woR wos wow wox</p>