Commit graph

67 commits

Author SHA1 Message Date
pancake
39947f0865 Fix #4912 - Add rarun2 option to specify timeout signal to be sent 2016-05-17 10:41:33 +02:00
pancake
bbb7b8412b Implement experimental cmdback in rap server and client 2016-05-05 01:20:23 +02:00
Sergey Anufrienko
5f279870d0 fix r_socket_read, don't lose sent data on r_socket_close (mingw32) (#4718) 2016-04-26 18:57:01 +02:00
pancake
9d54015029 Handle referer in http server for CSFR protection 2016-03-28 23:38:45 +02:00
pancake
f6454cc5f2 Add rarun2 execve to avoid posix_spawn 2016-03-27 14:17:39 +02:00
Mario Ballano
47d9888f93 Various RAP client/server bugs, endianness and remove RAP_RMT_SYSTEM 2016-02-23 15:00:59 +01:00
Riccardo Schirone
7323e0ef05 socket/run: split r_run_start to make debugging easier
During the environment configuration we may fork and spawn other
processes that we don't really care about. Splitting r_run_start, allows
to call ptrace only after this initial work is done.
2015-10-29 08:21:24 +01:00
pancake
be0538a6a8 Fix some windows build warnings 2015-10-08 11:14:10 +02:00
Riccardo Schirone
8f8e7d52fd socket/run: add support for redirection to another process 2015-09-27 17:45:28 +02:00
Riccardo Schirone
2e048b3272 socket/run: implement fork option 2015-09-13 10:46:09 +02:00
pancake
91836a164b Add r2p_cmd and r2p_cmdf APIs in RSocket 2015-08-19 16:56:17 +02:00
XVilka
44ab1ceaa0 Final fixes for Mingw-W64 support (except SDB) 2015-07-23 21:05:56 +03:00
David Kreuter
691294f2bc refactoring of r_socket_connect (Should resolve CID 1134571 Logically dead code) 2015-07-15 00:39:08 +02:00
pancake
9d3601d1a0 Fix w32 warning 2015-07-13 15:59:36 +02:00
pancake
967067ea9c Refactor r2pipe API into r_socket and fix w32 build 2015-05-14 02:50:57 +02:00
Anton Kochkov
0c9d3a9a29 Various Cygwin/MinGW fixes 2015-04-05 00:56:56 +03:00
Elias Boutaleb
8f8595b106 Fix #2207 add nice(2) support for rarun2 on UNIX 2015-03-27 11:14:18 +01:00
pancake
97e9c95b4b Add "pidfile" rule for rarun2 2015-02-18 01:10:46 +01:00
jvoisin
a8937732b8 Fix all 'warning: function declaration isn’t a prototype [-Wstrict-prototypes]' 2015-01-13 03:40:35 +01:00
Jeffrey Crowell
ed1aae7fd1 fix lots of spelling
fix some errors from the sed script

undo file mode crap
2014-12-07 17:00:59 +01:00
pancake
654b5167a4 Add 'pid' directive to rarun2 to display the PID of the spawned process 2014-11-22 03:00:31 +01:00
Anton Kochkov
1fb6d05480 Fix MINGW32 builds on some systems 2014-08-08 19:39:50 +04:00
Anton Kochkov
445dde9ba8 More improvements for cygwin and mingw32 building 2014-07-10 02:21:41 +04:00
pancake
0f24b905f6 Initial implementation of VVV for ascii-art callgraphs 2014-07-09 05:05:22 +02:00
pancake
be34dbf9cd Honor dbg.profile in io/debug
$ cat p.r2
 arg1=/
 $ r2 -e dbg.profile=p.r2 -d ls
2014-07-09 03:48:47 +02:00
pancake
8b74f1ffcf Merge Rarun2 into RSocket and use it from dbg.profile in Core 2014-07-09 02:24:31 +02:00
Anton Kochkov
f365dd9d26 Fix Cygwin building 2014-06-25 14:41:21 +02:00
pancake
cc324e743a Fix some warnings 2014-06-04 22:33:56 +02:00
jvoisin
76fbd4119c Fix some gcc warnings 2014-05-08 23:20:42 +02:00
condret
239fc6cd34 stop using rcons in rap-server 2014-05-06 04:01:11 +02:00
pancake
4cce57c2bf Fix build and some warnings from rap_server 2014-05-05 14:38:47 +02:00
condret
8e8dee9869 initial modular rap_server 2014-05-05 14:05:32 +02:00
pancake
db42789d62 Make the http server work on w32 (^C not handled yet) 2014-04-21 12:55:34 +02:00
pancake
2397c956c9 Use R2_ as unique header guard prefix 2014-03-27 16:34:17 +01:00
pancake
d3af1ea077 Fix #723 - header guards conforming to C standards 2014-03-27 02:32:26 +01:00
pancake
653881eb3a Merge and fix jvoisin #235 #236 2013-10-04 13:57:49 +02:00
pancake
5297304067 Fix gdb 100% cpu and connect timeout bug in socket api 2013-07-24 08:58:10 +02:00
pancake
2cbce80f2f Add __cplusplus extern "C" boilerplate everywhere 2013-06-18 12:09:23 +02:00
pancake
bc0104563b Initial support for runtime versioned libraries
- This check will ensure you are running the latest r2 version.
2013-06-14 02:51:33 +02:00
pancake
16bf36e55c Implement http.allow firewall rule
Fix socket transfer for http server
Shorter io descriptions for io_zip and io_gdb plugins
2013-02-25 01:47:55 +01:00
pancake
35808e31f8 Add io.zeromap to toggle old buggy mode doublemapping file to 0
Add http.maxsize to define the maximum file size to be uploaded
Add http.upget config var (not yet implemented)
2013-01-03 01:43:23 +01:00
pancake
a8a4c5e3e8 Initial implementation of http.upload (disabled by default)
Open http://localhost:9090/upload.html to upload
curl -F file=@/bin/ls http://localhost:9090/up/ls.bin
Tested on 10MB files without problems
Default upload directory is $TMPDIR
2013-01-03 00:47:58 +01:00
pancake
3fb4c7dd5e Use encodeURI in r2.js and implement http upload support 2013-01-02 18:37:48 +01:00
pancake
488ea96089 Remove r_socket_*later() hacky methods 2012-12-12 13:26:26 +01:00
pancake
c98cc9d1ab Fix some bugs and add close_later() methods in RSocket
Uglify d3.js (the smaller the better)
Fix premature socket close on http reply with a hack
2012-12-10 16:25:57 +01:00
pancake
84002a421f Better new WebUI, fix pdf,pD, implement http.timeout and more
Enhacements in the new webui
Fix r_socket_block_time()
Implement assembler for the 1bit arch RAR (wip)
Fix pdf, pdb and pD (print_disasm)
Implement http.timeout and http.sandbox
2012-12-03 04:01:55 +01:00
pancake
1f15df18c4 Fix build and http shutdown, WebUI (afr, pdi), add socket timeout
Fix http server shutdown issue
Add timeout on socket connect
Enhace web ui with 'afr' and 'pdi' commands
Fix segfault in 'afr'
Fix build (thanks @egeektronic)
2012-10-25 21:40:11 +02:00
pancake
0aa55a4e01 Add support for http response headers
Fix some issues in the www ui
2012-10-03 12:10:18 +02:00
pancake
46e29afb98 Initial working web ui: r2 -c =H /bin/ls
Autodetect osx, win, linux and android browsers
Default port is 9090
Add support for local networking in RSocket
Add r_str_unescape() helper function
Fix htmlgraph.sh script.
Added wwwroot in shlr/www
Swap eval/cmd load order in r2
Add r_core_cmd_str_pipe()
Use RCons in 'fs'
2012-09-06 03:12:54 +02:00
pancake
9efe88a9ce * Fix offbyone in asm.brainbuck bug
* Fix some segfaults and issues in r_magic
* Use the libr/socket/http library
* Added r_io_http plugin
* Magic search is extremely slow
2011-10-07 01:16:45 +02:00