How to Use r2pipe with Python - Radare2 Tutorial

Publicado el: 15 diciembre 2020
en el canal de: Guided Hacking
6,448
like

Radare2 is a huge framework for reverse engineering and analysis. The framework revolves around the Radare2 disassembler which supports a large number of platforms, architectures & formats. Radare started as a forensic tool with scriptable command line hex editor but has grown to be much much more with Radare2 which can be used to both disassemble and debug programs and much much more.

This r2pipe tutorial was made by Pawel Lukasik, please follow him and visit his site:
   / pawellukasik  
  / pawel_lukasik  
https://allthingsreversed.io/

r2pipe exposes some APIs you can use with to interact with Radare2, whether via the command line or via scripting with multiple language interfaces including C, C++, C#, PYthon & many others. The r2pipe APIs work through the r_core_cmd_str() function which parses the command, passes it to radare2 and returns a string.

This Radare2 tutorial will show you the basics of using r2pipe using Python. Easily enough, we start off just by importing r2pipe in a python script and using the r2pipe.open() function, which opens the binary of your choosing. We pass simple radare2 commands via r2pipe.cmd("whatever"), some simple commands we show are "aaa" "afl" & "pdf @ main". You can learn more about these functions by reading the radare2 documentation.

r2pipe is a very powerful way to script interaction with R2 and this Radare2 tutorial is your gateway into learning this process. It has unlimited potential because it can do anything that radare2 can do. If you have not tried it, give it a try, especially if you are a linux user.

Discussion : https://guidedhacking.com/threads/how...

=GH=
Donate on our Forum : http://bit.ly/2HkOco9
Support us on Patreon : http://bit.ly/38mnveC

Follow us on Facebook : http://bit.ly/2vvHfhk
Follow us on Twitter : http://bit.ly/3bC7J1i
Follow us on Twitch : http://bit.ly/39ywOZ2
Follow us on Reddit : http://bit.ly/3bvOB57
Follow us on GitHub : http://bit.ly/2HoNXIS
Follow us on Instagram : http://bit.ly/2SoDOlu
#Radare2 #Radare #ReverseEngineering


En esta página del sitio puede ver el video en línea How to Use r2pipe with Python - Radare2 Tutorial de Duración hora minuto segunda en buena calidad , que subió el usuario Guided Hacking 15 diciembre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 6,448 veces y le gustó like a los espectadores. Disfruta viendo!