mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-10 16:23:08 +00:00
![pancake](/assets/img/avatar_default.png)
* Better use of the R_SOCKET_PROTO_DEFAULT and add _NONE ##http * Fix regressions in: r2 -C and =+ ##r2pipe Introduced in 04edfa82c1f3fa2bc3621ccdad2f93bdbf00e4f9 * Implement sleep command ##shell * Add tests for the webserver and remoting * Implement daemon directive in rarun2, fix http test ##rarun2 * Fix socket timeout on Windows (patch by @GustavoLCR) ##socket * Missing http.root is not a reason to not start the webserver ##http * Fix r2 -C, =!=0, replace curl with r2 in the webserver test ##http * Honor anal.in/from/to in aae, optimize db/formats/mach0/thumb ##anal * Bug fixes and performance improvements Co-authored-by: pancake <pancake@nopcode.org>
10 lines
283 B
Bash
Executable File
10 lines
283 B
Bash
Executable File
#!/bin/sh
|
|
|
|
r2 -N -e http.port=9393 -qq -c=h bins/elf/arg > /dev/null 2>&1 &
|
|
CHILD=$!
|
|
sleep 2
|
|
# curl -s --retry 6 --retry-connrefused http://localhost:9090/ | head -n 8
|
|
r2 -N -qc '=0 pd 10' -C http://127.0.0.1:9393/cmd
|
|
r2 -N -c 'b $s;pr~:0..9' -qcq http://127.0.0.1:9393/
|
|
kill $CHILD
|