/ Published in: Bash
Useful for quickly retrieving loaded modules from other servers. Replace GET with your favorite command-line http client like lwp-request or curl. Assumes you have a page containing only the phpinfo() function commonly used in development.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# GET http://hostname.domain/info.php | egrep -o '"module_.*\"' "module_apache2handler" "module_bcmath" "module_bz2" "module_calendar" "module_ctype" "module_curl" "module_date" "module_dba" "module_dom" "module_exif" "module_filter" "module_ftp" "module_gd" "module_gettext" "module_hash" "module_iconv" "module_json" "module_libxml" "module_mbstring" "module_mcrypt" "module_mime_magic" "module_mysql" "module_mysqli" "module_openssl" "module_pcre" "module_PDO" "module_pdo_mysql" "module_posix" "module_Reflection" "module_session" "module_shmop" "module_SimpleXML" "module_soap" "module_sockets" "module_SPL" "module_standard" "module_sysvmsg" "module_tokenizer" "module_wddx" "module_xml" "module_xmlreader" "module_xmlwriter" "module_zip" "module_zlib"