Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用p32()pwntools 中的函数时,python2 和 3 的输出不同,这会影响结果。我想知道为什么会这样?
p32()
Python2 输出:
>>> from pwn import * >>> foo = p32(0xdeadbeef) >>> print(foo) ᆳ�
Python3 输出:
>>> from pwn import * >>> foo = p32(0xdeadbeef) >>> print(foo) b'\xef\xbe\xad\xde'