From 1d9a3ba41fe86e233789867de9de26d5175c0566 Mon Sep 17 00:00:00 2001 From: Justin Steven Date: Wed, 20 Apr 2022 08:27:25 +1000 Subject: [PATCH] Fix hexdump docstring. s should by bytes. (#1982) --- pwnlib/util/fiddling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnlib/util/fiddling.py b/pwnlib/util/fiddling.py index 3788aa1f61..6a81e78c58 100644 --- a/pwnlib/util/fiddling.py +++ b/pwnlib/util/fiddling.py @@ -765,7 +765,7 @@ def hexdump(s, width=16, skip=True, hexii=False, begin=0, style=None, Return a hexdump-dump of a string. Arguments: - s(str): The data to hexdump. + s(bytes): The data to hexdump. width(int): The number of characters per line groupsize(int): The number of characters per group skip(bool): Set to True, if repeated lines should be replaced by a "*"