=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== ocsigenserver-2.16.1/README.md-23- * tyxml (need version 3) ocsigenserver-2.16.1/README.md:24: * ipaddr (need version >= 2.1) ocsigenserver-2.16.1/README.md-25- * ocamlsqlite3 (tested with 2.0.2) OR ############################################## ocsigenserver-2.16.1/configure-101-set_defaults ocsigenserver-2.16.1/configure:102:my_pwd=`dirname $0` ocsigenserver-2.16.1/configure:103:version=`head -n 1 $my_pwd/VERSION` ocsigenserver-2.16.1/configure-104-full_pwd=`pwd` ############################################## ocsigenserver-2.16.1/configure-116- eval "$e" ocsigenserver-2.16.1/configure:117: uopt=`echo $opt | sed -e 's/_/-/g'` ocsigenserver-2.16.1/configure-118- if [ $o -gt 0 ]; then ############################################## ocsigenserver-2.16.1/configure-126- eval "$e" ocsigenserver-2.16.1/configure:127: uopt=`echo $opt | sed -e 's/_/-/g'` ocsigenserver-2.16.1/configure-128- if [ $o -gt 0 ]; then ############################################## ocsigenserver-2.16.1/configure-250- --enable-*) ocsigenserver-2.16.1/configure:251: opt=`echo "$1" | sed -e 's/--enable-//' -e 's/-/_/g'` ocsigenserver-2.16.1/configure-252- check_eopt "$opt" ############################################## ocsigenserver-2.16.1/configure-256- --disable-*) ocsigenserver-2.16.1/configure:257: opt=`echo "$1" | sed -e 's/--disable-//' -e 's/-/_/g'` ocsigenserver-2.16.1/configure-258- check_eopt "$opt" ############################################## ocsigenserver-2.16.1/configure-262- --with-*) ocsigenserver-2.16.1/configure:263: opt=`echo "$1" | sed -e 's/--with-//' -e 's/-/_/g'` ocsigenserver-2.16.1/configure-264- check_wopt "$opt" ############################################## ocsigenserver-2.16.1/configure-268- --without-*) ocsigenserver-2.16.1/configure:269: opt=`echo "$1" | sed -e 's/--without-//' -e 's/-/_/g'` ocsigenserver-2.16.1/configure-270- check_wopt "$opt" ############################################## ocsigenserver-2.16.1/configure-393- echo $version ocsigenserver-2.16.1/configure:394: n1=`echo $version | sed 's/^\([0-9][0-9]*\)\..*$/\1/'` ocsigenserver-2.16.1/configure:395: n2=`echo $version | sed 's/^[0-9][0-9]*\.\([0-9][0-9]*\)\..*$/\1/'` ocsigenserver-2.16.1/configure:396: # n3=`echo $version | sed 's/^[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\)\..*$/\1/'` ocsigenserver-2.16.1/configure-397- if [ $n1 -eq 3 ] && [ $n2 -lt 12 ]; then ############################################## ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-191-let make_persistent_lazy_lwt ~store ~name ~default = use_pool @@ fun db -> ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml:192: let query = sprintf "SELECT 1 FROM %s WHERE key = $1 " store in ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-193- exec db query [Key name] >>= function ############################################## ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-203-let get p = use_pool @@ fun db -> ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml:204: let query = sprintf "SELECT value FROM %s WHERE key = $1 " p.store in ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-205- Lwt.map one_value (exec db query [Key p.name]) ############################################## ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-207-let set p v = use_pool @@ fun db -> ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml:208: let query = sprintf "UPDATE %s SET value = $2 WHERE key = $1 " p.store ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-209- in exec db query [Key p.name; Value v] >> Lwt.return () ############################################## ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-225-let find table key = use_pool @@ fun db -> ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml:226: let query = sprintf "SELECT value FROM %s WHERE key = $1 " table in ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-227- Lwt.map one_value (exec db query [Key key]) ############################################## ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-235-let replace_if_exists table key value = use_pool @@ fun db -> ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml:236: let query = sprintf "UPDATE %s SET value = $2 WHERE key = $1 RETURNING 0" table in ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-237- exec db query [Key key; Value value] >>= function ############################################## ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-241-let remove table key = use_pool @@ fun db -> ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml:242: let query = sprintf "DELETE FROM %s WHERE key = $1 " table in ocsigenserver-2.16.1/src/extensions/ocsipersist-pgsql/ocsipersist.ml-243- exec db query [Key key] >> Lwt.return () ############################################## ocsigenserver-2.16.1/src/extensions/revproxy.ml-137- let ri = ri.request_info in ocsigenserver-2.16.1/src/extensions/revproxy.ml:138: let address = Unix.string_of_inet_addr (fst (get_server_address ri)) in ocsigenserver-2.16.1/src/extensions/revproxy.ml-139- let forward = ############################################## ocsigenserver-2.16.1/src/server/ocsigen_server.ml-89- (fun () sockaddr -> ocsigenserver-2.16.1/src/server/ocsigen_server.ml:90: Unix.string_of_inet_addr (ip_of_sockaddr sockaddr)) sockaddr s ocsigenserver-2.16.1/src/server/ocsigen_server.ml-91-let dbg sockaddr s = ############################################## ocsigenserver-2.16.1/src/server/ocsigen_server.ml-93- (fun () sockaddr -> ocsigenserver-2.16.1/src/server/ocsigen_server.ml:94: Unix.string_of_inet_addr (ip_of_sockaddr sockaddr)) sockaddr s ocsigenserver-2.16.1/src/server/ocsigen_server.ml-95- ############################################## ocsigenserver-2.16.1/src/server/ocsigen_server.ml-630- | Http_error.Http_exception (code, mesg, _) -> ocsigenserver-2.16.1/src/server/ocsigen_server.ml:631: warn sockaddr (Http_error.string_of_http_exception e) ocsigenserver-2.16.1/src/server/ocsigen_server.ml-632- | _ -> ############################################## ocsigenserver-2.16.1/src/server/ocsigen_server.ml-657- *) ocsigenserver-2.16.1/src/server/ocsigen_server.ml:658: warn sockaddr ("Bad request: \""^url^"\""); ocsigenserver-2.16.1/src/server/ocsigen_server.ml-659- Ocsigen_http_com.wakeup_next_request receiver; ############################################## ocsigenserver-2.16.1/src/server/ocsigen_server.ml-733- (fun e -> ocsigenserver-2.16.1/src/server/ocsigen_server.ml:734: warn sockaddr ("Bad request: \""^url^"\""); ocsigenserver-2.16.1/src/server/ocsigen_server.ml-735- Ocsigen_http_com.wakeup_next_request receiver; ############################################## ocsigenserver-2.16.1/src/server/ocsigen_server.ml-823- | Lost_connection e' -> ocsigenserver-2.16.1/src/server/ocsigen_server.ml:824: warn sockaddr ("connection abruptly closed by peer (" ocsigenserver-2.16.1/src/server/ocsigen_server.ml-825- ^ Printexc.to_string e' ^ ")") ############################################## ocsigenserver-2.16.1/src/server/ocsigen_server.ml-830- | Ocsigen_stream.Interrupted e' -> ocsigenserver-2.16.1/src/server/ocsigen_server.ml:831: warn sockaddr ("interrupted content stream (" ocsigenserver-2.16.1/src/server/ocsigen_server.ml-832- ^ Printexc.to_string e' ^ ")") ############################################## ocsigenserver-2.16.1/src/server/ocsigen_server.ml-862- | Http_error.Http_exception (code, mes, _) -> ocsigenserver-2.16.1/src/server/ocsigen_server.ml:863: warn sockaddr (Http_error.string_of_http_exception e); ocsigenserver-2.16.1/src/server/ocsigen_server.ml-864- Ocsigen_http_com.start_processing receiver (fun slot -> ############################################## ocsigenserver-2.16.1/debian/ocsigenserver.init-48- echo -n "Stopping $DESC: " ocsigenserver-2.16.1/debian/ocsigenserver.init:49: for pid in `cat $PIDFILE`; do kill $pid || true; done ocsigenserver-2.16.1/debian/ocsigenserver.init-50- rm -f $PIDFILE ############################################## ocsigenserver-2.16.1/debian/ocsigenserver.postinst-22-if $ID $OCSIGEN > /dev/null 2>&1; then ocsigenserver-2.16.1/debian/ocsigenserver.postinst:23: IUID=`$ID --user $OCSIGEN` ocsigenserver-2.16.1/debian/ocsigenserver.postinst:24: IGID=`$ID --group $OCSIGEN` ocsigenserver-2.16.1/debian/ocsigenserver.postinst-25-else