apache – view httpd version that is running on busybox 1.36 – Stack Overflow
I would like to know the verison of httpd running on a busybox version 1.36, but the output options of httpd do not provide a version flag.
/ $ busybox httpd --help
BusyBox v1.36.0 (2023-01-03 22:44:48 UTC) multi-call binary.
Usage: httpd [-ifv[v]] [-c CONFFILE] [-p [IP:]PORT] [-u USER[:GRP]] [-r REALM] [-h HOME]
or httpd -d/-e/-m STRING
Listen for incoming HTTP requests
-i Inetd mode
-f Run in foreground
-v[v] Verbose
-p [IP:]PORT Bind to IP:PORT (default *:80)
-u USER[:GRP] Set uid/gid after binding to port
-r REALM Authentication Realm for Basic Authentication
-h HOME Home directory (default .)
-c FILE Configuration file (default {/etc,HOME}/httpd.conf)
-m STRING MD5 crypt STRING
-e STRING HTML encode STRING
-d STRING URL decode STRING
I have tried also that:
/ $ strings $(which httpd) | grep version
wversion
srcversion
module has wrong symbol version
1) software that runs at boot time (e.g., old versions of LILO)
Setting up swapspace version 1, size = %lu bytes
--version
unsupported psf file version
rkernel-version
This is not GNU sed version 4.0
version = 0.8
unsupported capability version
bad byte count for conversion character %s
bad conversion character %%%s
byte count with multiple conversion characters
But I’m unsure if this means it is really version 0.8
Read more here: Source link
