A new io plugin has been added to test the new concept of "stream" files.
You can open a socket (or listen to a port) connection as if it was a
file. The plugin flags all data packets received, and you can write to
it using the 'w' command (write), like if it was a file :) It's so handy
and can be cool for replacing netcat with some lua furnintures and
scripting for fun.
Here's a demo:
[EMAIL PROTECTED] radare -w socket://radare.nopcode.org:25
warning: Opening file in read-write mode
Connected to: radare.nopcode.org at port 25
open rw socket://radare.nopcode.org:25
Message of the day:
Bindiff two files with '$ bdiff /bin/true /bin/false'
[0x00000000]> x 100
offset 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF
0x00000000 3232 3020 2b4f 4b20 2d20 3e28 226f 2229 220 +OK - >("o")
0x00000010 3c20 2830 2e30 3072 6331 290d 0aff ffff < (0.00rc1).....
0x00000020 ffff ffff ffff ffff ffff ffff ffff ffff ................
0x00000030 ffff ffff ffff ffff ffff ffff ffff ffff ................
0x00000040 ffff ffff ffff ffff ffff ffff ffff ffff ................
0x00000050 ffff ffff ffff ffff ffff ffff ffff ffff ................
0x00000060 ffff ffff ....
[0x00000000]> w HELO\x0a
[0x00000000]> x 100
offset 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF
0x00000000 3232 3020 2b4f 4b20 2d20 3e28 226f 2229 220 +OK - >("o")
0x00000010 3c20 2830 2e30 3072 6331 290d 0a35 3031 < (0.00rc1)..501
0x00000020 2053 796e 7461 783a 2048 454c 4f20 686f Syntax: HELO ho
0x00000030 7374 6e61 6d65 0d0a ffff ffff ffff ffff stname..........
0x00000040 ffff ffff ffff ffff ffff ffff ffff ffff ................
0x00000050 ffff ffff ffff ffff ffff ffff ffff ffff ................
0x00000060 ffff ffff ....
[0x00000000]>
_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org