Exploit databaseDownload repository ZIP
GH-8969f889278d1639227f0dcae4c491db
fauxfaux/sudo-cve-2019-14287
Sources for CVE-2019-14287
18 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files35
fauxfaux/sudo-cve-2019-14287Revision da2f5eb247b3
- ↑..Parent directory
- patches/
- source/
- upstream/
- NEWS
- OPTIONS
- README
- README.Debian
- changelog
- compat
- control
- copyright
- rules
- source_sudo.py
- sudo-ldap.dirs
- sudo-ldap.docs
- sudo-ldap.lintian
- sudo-ldap.maintscript
- sudo-ldap.manpages
- sudo-ldap.postinst
- sudo-ldap.postrm
- sudo-ldap.preinst
- sudo-ldap.sudo-ldap.init
- sudo.dirs
- sudo.docs
- sudo.lintian
- sudo.manpages
- sudo.pam
- sudo.postinst
- sudo.postrm
- sudo.preinst
- sudo.prerm
- sudo.sudo.init
- sudo_root.8
- sudoers
- watch
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
debian/source_sudo.py
Python · 1,159 bytes#!/usr/bin/python
'''Apport package hook for sudo
(c) 2010 Canonical Ltd.
Contributors:
Marc Deslauriers <[email protected]>
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 *
def add_info(report, ui):
response = ui.yesno("The contents of your /etc/sudoers file 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:
# This needs to be run as root
report['Sudoers'] = root_command_output(['/bin/cat', '/etc/sudoers'])
report['VisudoCheck'] = root_command_output(['/usr/sbin/visudo', '-c'])
elif response == False:
ui.information("The contents of your /etc/sudoers will NOT be included in the bug report.")