diff --git a/pwnlib/commandline/libcdb.py b/pwnlib/commandline/libcdb.py index 37ba3e772..b32400d2c 100644 --- a/pwnlib/commandline/libcdb.py +++ b/pwnlib/commandline/libcdb.py @@ -221,7 +221,7 @@ def main(args): exe = ELF(file, checksec=False) log.info('%s', text.red(os.path.basename(file))) - libc_version = re.search(b'libc[ -](\\d+\\.\\d+)', exe.data) + libc_version = re.search(br'libc[ -](\d+\.\d+)', exe.data) if libc_version: log.indented('%-20s %s', text.green('Version:'), libc_version.group(1).decode())