Created
May 4, 2023 05:54
-
-
Save popunbom/aa944a6efd9ddb141fc48539f97327d5 to your computer and use it in GitHub Desktop.
Fix github.com/longld/peda for Python 3.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lib/utils.py b/lib/utils.py | |
| index 8f2b038..827c3f1 100644 | |
| --- a/lib/utils.py | |
| +++ b/lib/utils.py | |
| @@ -150,6 +150,7 @@ def blue(text, attrib=None): | |
| def clearscreen(): | |
| """Clear terminal screen""" | |
| sys.stdout.write("\x1b[2J\x1b[H") | |
| + sys.stdout.flush() | |
| class message(object): | |
| """ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment