nx_printer_web_probe.nx
buildroot/runtime/nx_printer_web_probe.nx
about
nx_printer_web_probe.nx -- READ-ONLY recon of the printer's OWN embedded web UI (port 80). Drives a
sovereign HTTP GET to discover what settings the printer exposes (e.g. a toner "Continue mode" the
vendor app hides). Saves pages to knowledge/fetched/ for analysis. NO writes to the printer, NO firmware
-> never-brick (#26) by construction. Sovereign (reuses nx_ipp_transport socket helpers). license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_connect.nxnx_ipp_transport.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 9 | const K_MAGIC_262144: i64 = 262144 |
functions
| 11 | func p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 12 | func pn(v: i64) -> i64 |
| 21 | func write_all(fd: i64, buf: *u8, len: i64) -> i64 |
| 32 | func http_get(a: i64, b: i64, c: i64, d: i64, port: i64, path: *u8, called by 1: fetch_save calls 9: sys_mmapnx_ipt_putsnx_ipt_putisys_socketsys_set_socket_timeoutnx_ipt_sockaddr+3 |
| 66 | func fetch_save(a: i64, b: i64, c: i64, d: i64, path: *u8, outpath: *u8) -> i64 |
| 79 | func main() -> i64 |