w
Multiple write operations
Usage: w[x] [str] [<file] [<<EOF] [@addr]
w[1248][+-][n]
increment/decrement byte,word..w foobar
write string 'foobar'w0 [len]
write 'len' bytes with value 0x00-
w6[de] base64/hex
write base64 [d]ecoded or [e]ncoded string -
wa[?] push ebp
write opcode, separated by ';' (use '"' around the command)-
Assemble opcodes with the
a
andA
keys in visual mode, which are bindings to thewa
andwA
commands
-
-
waf file
assemble file and write bytes -
wao[?] op
modify opcode (change conditional of jump. nop, etc) -
wb 010203
fill current block with cyclic hexpairs -
wB[-]0xVALUE
set or unset bits with given value -
wc[?][ir*?]
write cache undo/commit/reset/list (io.cache) -
wd [off] [n]
duplicate N bytes from offset at current seek (memcpy) (see y?) -
we[?] [nNsxX] [arg]
extend write operations (insert instead of replace) wf [start_position] [bytes] @ [offset]
Write from start position, the number of bytes at offset Twitterwff -|file
write contents of file at current offsetwfs [from_address] [bytes] [@] [offset]
Swap from address N bytes to offset Twitterwh r2
whereis/which shell command-
wm f0ff
set binary mask hexpair to be used as cyclic write mask -
wr 10
write 10 random bytes -
ws pstring
write 1 byte for length and then the string -
wt[f][?] file [sz]
write to file (from current seek, blocksize or sz bytes)- Use
wt somefile $FS
to write a function to file
- Use
-
wts host:port [sz]
send data to remote host:port via tcp:// -
ww foobar
write wide string 'f\x00o\x00o\x00b\x00a\x00r\x00' -
wz string
write zero terminated string (like w + \x00)
w0 w6 wa waf wao wA wb wB wc wd we wf wh wm wo wp wr ws wts ww wx wv wz