R2AGENT(1)
π R2AGENT(1) π
okay bestie, so r2agent is the Radare2 Agent HTTP Server and it's literally the moment. she's the manpage, i'm your tour guide, let's get into it π«Ά
β¨ NAME β¨
r2agent β Radare2 Agent HTTP Server πΈ
π SYNOPSIS π
r2agent [-adhsuLjv] [-p port] [-t file]
that's the whole vibe check right there, no cap.
π DESCRIPTION π
so likeβ¦ r2agent is an HTTP server that gives you remote access to Radare2 instances through a RESTful API. it's giving "your binary, but from a distance" π
. it enables remote debugging and analysis of binaries using Radare2. iconic behavior, honestly.
here's the flag lineup, all of them, no skips:
-aβ listen for everyone π (localhost by default, so you gotta opt in to being that public)-dβ run in daemon mode, aka background mode, aka she's doing her own thing while you do yours π¦-hβ show help message (the classic "pls explain" button)-sβ run in sandbox mode π§ safe and cozy-uβ enable HTTP authorization access π-t fileβ user:password authentication file (pairs with-u, they're a duo)-p portβ specify listening port (defaults to8080) π-vβ show r2 version information and exit β¨-Lβ list currently loaded r2 sessions and exit π-jβ output JSON when used with-vor-L(it's a modifier; no effect alone, she needs a friend fr fr)
π± ENVIRONMENT π±
r2agent does not use any environment variables. not one. nothing to see here, no hidden lore, she's self-sufficient π
π EXAMPLES π
start r2agent on the default port (8080):
$ r2agent
start r2agent on port 9090:
$ r2agent -p 9090
run r2agent in daemon mode:
$ r2agent -d
allow connections from any IP address:
$ r2agent -a
run with authentication enabled:
$ r2agent -u -t auth.txt
show version (text):
$ r2agent -v
show version (JSON):
$ r2agent -v -j
list currently loaded sessions (text):
$ r2agent -L
list currently loaded sessions (JSON):
$ r2agent -L -j
periodt. go try one. π
π₯ SEE ALSO π₯
(the main character, obviously β go read her page too)
π AUTHORS π
Written by pancake <pancake@nopcode.org>. king behavior, we love to see it π
ngl bestie, that's the whole page. every flag, every default, every example β nothing left out, nothing invented. slay responsibly π
r2agent(1) β this one's dated Jul 10, 2025, mwah π thanks for reading, ily, see you in the next manpage π«Άβ¨
π¦ where this page comes from
- alpine 3.24: radare2-doc 6.1.6-r0 Β· GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later
- arch rolling: radare2 6.2.2-1 Β· GPL-3.0-only AND LGPL-3.0-only
- nixos 26.05: radare2 6.1.8
- nixpkgs unstable: radare2 6.2.4
- opensuse-leap 16.0: radare2 6.2.2-bp160.1.1 Β· GPL-3.0-only AND LGPL-3.0-only
- opensuse-leap 16.0: radare2 6.2.2-bp160.1.1 Β· GPL-3.0-only AND LGPL-3.0-only
- opensuse-leap 16.0: radare2 6.2.2-bp160.1.1 Β· GPL-3.0-only AND LGPL-3.0-only
- opensuse-leap 16.0: radare2 6.2.2-bp160.1.1 Β· GPL-3.0-only AND LGPL-3.0-only
- ubuntu resolute: radare2 6.0.7+ds-1 Β· LGPL-3.0-only
- ubuntu stonking: radare2 6.1.8+ds-1 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms