R2AGENT(1)

πŸ“¦
version 6.2.2 Β· 3 versions
, in alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu resolute, ubuntu stonking

πŸ’– 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 to 8080) πŸŽ€
  • -v β€” show r2 version information and exit ✨
  • -L β€” list currently loaded r2 sessions and exit πŸ“‹
  • -j β€” output JSON when used with -v or -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 πŸ”₯

radare2(1)

(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