blog.vastart.dev/2021/02/27/python2-to-python3-hex-2fstr-2fbyte-conversion-cheatsheet

Preview meta tags from the blog.vastart.dev website.

Linked Hostnames

6

Thumbnail

Search Engine Appearance

Google

https://blog.vastart.dev/2021/02/27/python2-to-python3-hex-2fstr-2fbyte-conversion-cheatsheet

Python2 to Python3 Hex/Str/Byte Conversion Cheatsheet

If you too have been personally victimized by Python3’s 'str' object has no attribute 'decode' exception and other string/bytes-related exceptions, I feel your agony. Trauma from such errors have stopped me from using Python3 for code handling buffers, like POCs for vulnerabilities or CTF exploits. Here’s a reference guide on how to convert between Python3’s hexstr/str/bytes/bytearray.



Bing

Python2 to Python3 Hex/Str/Byte Conversion Cheatsheet

https://blog.vastart.dev/2021/02/27/python2-to-python3-hex-2fstr-2fbyte-conversion-cheatsheet

If you too have been personally victimized by Python3’s 'str' object has no attribute 'decode' exception and other string/bytes-related exceptions, I feel your agony. Trauma from such errors have stopped me from using Python3 for code handling buffers, like POCs for vulnerabilities or CTF exploits. Here’s a reference guide on how to convert between Python3’s hexstr/str/bytes/bytearray.



DuckDuckGo

https://blog.vastart.dev/2021/02/27/python2-to-python3-hex-2fstr-2fbyte-conversion-cheatsheet

Python2 to Python3 Hex/Str/Byte Conversion Cheatsheet

If you too have been personally victimized by Python3’s 'str' object has no attribute 'decode' exception and other string/bytes-related exceptions, I feel your agony. Trauma from such errors have stopped me from using Python3 for code handling buffers, like POCs for vulnerabilities or CTF exploits. Here’s a reference guide on how to convert between Python3’s hexstr/str/bytes/bytearray.

  • General Meta Tags

    8
    • title
      Python2 to Python3 Hex/Str/Byte Conversion Cheatsheet | mavlevin
    • charset
      utf-8
    • viewport
      width=device-width, initial-scale=1, minimum-scale=0.5, maximum-scale=5
    • generator
      Jekyll v4.3.4
    • author
      Mav Levin
  • Open Graph Meta Tags

    8
    • og:image
      https://mavlevin.com/assets/img/whtaguy_research_bg.png
    • og:type
      website
    • og:title
      Python2 to Python3 Hex/Str/Byte Conversion Cheatsheet
    • US country flagog:locale
      en_US
    • og:description
      If you too have been personally victimized by Python3’s 'str' object has no attribute 'decode' exception and other string/bytes-related exceptions, I feel your agony. Trauma from such errors have stopped me from using Python3 for code handling buffers, like POCs for vulnerabilities or CTF exploits. Here’s a reference guide on how to convert between Python3’s hexstr/str/bytes/bytearray.
  • Twitter Meta Tags

    6
    • twitter:card
      summary
    • twitter:title
      Python2 to Python3 Hex/Str/Byte Conversion Cheatsheet
    • twitter:description
      If you too have been personally victimized by Python3’s 'str' object has no attribute 'decode' exception and other string/bytes-related exceptions, I feel yo...
    • twitter:card
      summary
    • twitter:image
      https://mavlevin.com/assets/img/whtaguy_research_bg.png
  • Link Tags

    5
    • alternate
      https://mavlevin.com/feed.xml
    • alternate
      https://mavlevin.com/feed.xml
    • canonical
      https://mavlevin.com/2021/02/27/Python2-to-Python3-Hex-2FStr-2FByte-Conversion-Cheatsheet.html
    • shortcut icon
      /assets/favicon.ico
    • stylesheet
      /assets/css/main.css

Links

19