=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== php-radius-1.4.0~b1/radius-1.4.0b1/examples/radius-acct.php-97- php-radius-1.4.0~b1/radius-1.4.0b1/examples/radius-acct.php:98:if (!radius_put_addr($res, RADIUS_FRAMED_IP_ADDRESS, $REMOTE_ADDR)) { php-radius-1.4.0~b1/radius-1.4.0b1/examples/radius-acct.php-99- echo 'RadiusError1:' . radius_strerror($res). "\n<br>"; ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/examples/radius-auth.php-238- case RADIUS_FRAMED_IP_ADDRESS: php-radius-1.4.0~b1/radius-1.4.0b1/examples/radius-auth.php:239: $ip = radius_cvt_addr($data); php-radius-1.4.0~b1/radius-1.4.0b1/examples/radius-auth.php-240- echo "IP: $ip<br>\n"; ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/examples/radius-auth.php-243- case RADIUS_FRAMED_IP_NETMASK: php-radius-1.4.0~b1/radius-1.4.0b1/examples/radius-auth.php:244: $mask = radius_cvt_addr($data); php-radius-1.4.0~b1/radius-1.4.0b1/examples/radius-auth.php-245- echo "MASK: $mask<br>\n"; ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_cvt_addr.phpt-1---TEST-- php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_cvt_addr.phpt:2:radius_cvt_addr() php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_cvt_addr.phpt-3---INI-- ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_cvt_addr.phpt-11-<?php php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_cvt_addr.phpt:12:var_dump(radius_cvt_addr(pack('N', ip2long('127.0.0.1')))); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_cvt_addr.phpt-13-?> ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr.phpt-1---TEST-- php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr.phpt:2:radius_put_addr() php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr.phpt-3---INI-- ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr.phpt-35- php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr.phpt:36:var_dump(radius_put_addr($res, RADIUS_NAS_IP_ADDRESS, '127.0.0.1')); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr.phpt:37:var_dump(radius_put_addr($res, RADIUS_LOGIN_IP_HOST, '0.0.0.0', RADIUS_OPTION_SALT)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr.phpt-38- ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr.phpt-41-radius_put_string($res, RADIUS_USER_PASSWORD, 'bar'); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr.phpt:42:var_dump(radius_put_addr($res, RADIUS_NAS_IP_ADDRESS, '127.0.0.1')); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr.phpt:43:var_dump(radius_put_addr($res, RADIUS_LOGIN_IP_HOST, '0.0.0.0', RADIUS_OPTION_SALT)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr.phpt-44-radius_send_request($res); ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt-1---TEST-- php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt:2:radius_put_addr() with tag php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt-3---INI-- ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt-35- php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt:36:var_dump(radius_put_addr($res, RADIUS_NAS_IP_ADDRESS, '127.0.0.1', RADIUS_OPTION_TAGGED, -1)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt:37:var_dump(radius_put_addr($res, RADIUS_NAS_IP_ADDRESS, '127.0.0.1', RADIUS_OPTION_TAGGED, 256)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt:38:var_dump(radius_put_addr($res, RADIUS_NAS_IP_ADDRESS, '127.0.0.1', RADIUS_OPTION_TAGGED, 10)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt:39:var_dump(radius_put_addr($res, RADIUS_LOGIN_IP_HOST, '0.0.0.0', RADIUS_OPTION_SALT | RADIUS_OPTION_TAGGED, 10)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt-40- ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt-43-radius_put_string($res, RADIUS_USER_PASSWORD, 'bar'); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt:44:var_dump(radius_put_addr($res, RADIUS_NAS_IP_ADDRESS, '127.0.0.1', RADIUS_OPTION_TAGGED, 10)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt:45:var_dump(radius_put_addr($res, RADIUS_LOGIN_IP_HOST, '0.0.0.0', RADIUS_OPTION_SALT | RADIUS_OPTION_TAGGED, 10)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_addr_tag.phpt-46-radius_send_request($res); ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr.phpt-1---TEST-- php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr.phpt:2:radius_put_vendor_addr() php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr.phpt-3---INI-- ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr.phpt-35- php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr.phpt:36:var_dump(radius_put_vendor_addr($res, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER, '127.0.0.1')); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr.phpt:37:var_dump(radius_put_vendor_addr($res, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER, '127.0.0.1', RADIUS_OPTION_SALT)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr.phpt-38- ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr.phpt-41-radius_put_string($res, RADIUS_USER_PASSWORD, 'bar'); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr.phpt:42:var_dump(radius_put_vendor_addr($res, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER, '127.0.0.1')); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr.phpt:43:var_dump(radius_put_vendor_addr($res, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER, '127.0.0.1', RADIUS_OPTION_SALT)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr.phpt-44-radius_send_request($res); ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt-1---TEST-- php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt:2:radius_put_vendor_addr() with tag php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt-3---INI-- ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt-35- php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt:36:var_dump(radius_put_vendor_addr($res, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER, '127.0.0.1', RADIUS_OPTION_TAGGED, -1)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt:37:var_dump(radius_put_vendor_addr($res, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER, '127.0.0.1', RADIUS_OPTION_TAGGED, 256)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt:38:var_dump(radius_put_vendor_addr($res, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER, '127.0.0.1', RADIUS_OPTION_TAGGED, 10)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt:39:var_dump(radius_put_vendor_addr($res, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER, '127.0.0.1', RADIUS_OPTION_SALT|RADIUS_OPTION_TAGGED, 10)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt-40- ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt-43-radius_put_string($res, RADIUS_USER_PASSWORD, 'bar'); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt:44:var_dump(radius_put_vendor_addr($res, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER, '127.0.0.1', RADIUS_OPTION_TAGGED, 10)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt:45:var_dump(radius_put_vendor_addr($res, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_PRIMARY_DNS_SERVER, '127.0.0.1', RADIUS_OPTION_SALT|RADIUS_OPTION_TAGGED, 10)); php-radius-1.4.0~b1/radius-1.4.0b1/tests/radius_put_vendor_addr_tag.phpt-46-radius_send_request($res); ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-371- php-radius-1.4.0~b1/radius-1.4.0b1/radius.c:372:/* {{{ proto bool radius_put_addr(desc, type, addr, options, tag) */ php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-373-PHP_FUNCTION(radius_put_addr) ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-396- RETURN_FALSE; php-radius-1.4.0~b1/radius-1.4.0b1/radius.c:397: } else if (rad_put_addr(radh, type, intern_addr, &attr_options) == -1) { php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-398- RETURN_FALSE; ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-483- php-radius-1.4.0~b1/radius-1.4.0b1/radius.c:484:/* {{{ proto bool radius_put_vendor_addr(desc, vendor, type, addr) */ php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-485-PHP_FUNCTION(radius_put_vendor_addr) ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-508- RETURN_FALSE; php-radius-1.4.0~b1/radius-1.4.0b1/radius.c:509: } else if (rad_put_vendor_addr(radh, vendor, type, intern_addr, &attr_options) == -1) { php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-510- RETURN_FALSE; ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-636- php-radius-1.4.0~b1/radius-1.4.0b1/radius.c:637:/* {{{ proto string radius_cvt_addr(data) */ php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-638-PHP_FUNCTION(radius_cvt_addr) ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-648- php-radius-1.4.0~b1/radius-1.4.0b1/radius.c:649: addr = rad_cvt_addr(data); php-radius-1.4.0~b1/radius-1.4.0b1/radius.c-650- addr_dot = inet_ntoa(addr); ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radlib.c-595-struct in_addr php-radius-1.4.0~b1/radius-1.4.0b1/radlib.c:596:rad_cvt_addr(const void *data) php-radius-1.4.0~b1/radius-1.4.0b1/radlib.c-597-{ ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radlib.c-789-int php-radius-1.4.0~b1/radius-1.4.0b1/radlib.c:790:rad_put_addr(struct rad_handle *h, int type, struct in_addr addr, const struct rad_attr_options *options) php-radius-1.4.0~b1/radius-1.4.0b1/radlib.c-791-{ ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radlib.c-988-int php-radius-1.4.0~b1/radius-1.4.0b1/radlib.c:989:rad_put_vendor_addr(struct rad_handle *h, int vendor, int type, php-radius-1.4.0~b1/radius-1.4.0b1/radlib.c-990- struct in_addr addr, const struct rad_attr_options *options) ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radlib.h-226-int rad_create_request(struct rad_handle *, int); php-radius-1.4.0~b1/radius-1.4.0b1/radlib.h:227:struct in_addr rad_cvt_addr(const void *); php-radius-1.4.0~b1/radius-1.4.0b1/radlib.h-228-u_int32_t rad_cvt_int(const void *); ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radlib.h-232-struct rad_handle *rad_open(void); /* Deprecated, == rad_auth_open */ php-radius-1.4.0~b1/radius-1.4.0b1/radlib.h:233:int rad_put_addr(struct rad_handle *, int, struct in_addr, const struct rad_attr_options *); php-radius-1.4.0~b1/radius-1.4.0b1/radlib.h-234-int rad_put_attr(struct rad_handle *, int, const void *, size_t, const struct rad_attr_options *); ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radlib_compat.c-39-{ php-radius-1.4.0~b1/radius-1.4.0b1/radlib_compat.c:40: inp->s_addr = inet_addr(cp); php-radius-1.4.0~b1/radius-1.4.0b1/radlib_compat.c-41- ############################################## php-radius-1.4.0~b1/radius-1.4.0b1/radlib_vs.h-78-int rad_get_vendor_attr(u_int32_t *, unsigned char *, const void **, size_t *, const void *, size_t); php-radius-1.4.0~b1/radius-1.4.0b1/radlib_vs.h:79:int rad_put_vendor_addr(struct rad_handle *, int, int, struct in_addr, const struct rad_attr_options *); php-radius-1.4.0~b1/radius-1.4.0b1/radlib_vs.h-80-int rad_put_vendor_attr(struct rad_handle *, int, int, const void *, size_t, const struct rad_attr_options *);