You are on page 1of 5

SecurityTube

 Linux  Assembly  Expert  


(SLAE64)  

Training:                                            hNp://www.SecurityTube-­‐Training.com    
 
Pentester  Academy:  hNp://www.PentesterAcademy.com    

Vivek  Ramachandran  
SWSE,  SMFE,  SPSE,  SGDE,  SISE,  SLAE32,64  Course  Instructor  
©SecurityTube.net  
Module  2:  IntroducSon  to  Shellcoding  

7.  RIP  Rela5ve  Addressing  

Vivek  Ramachandran  
SWSE,  SMFE,  SPSE,  SGDE,  SISE,  SLAE32  Course  Instructor  

hNp://SecurityTube-­‐Training.com    

©SecurityTube.net  
RIP  RelaSve  Addressing  

•  Available  in  64-­‐bit  mode  only  

•  Aimed  at  wriSng  PosiSon  Independent  Code  

•  Address  computed  relaSve  to  RIP    

©SecurityTube.net  
Using  RIP  RelaSve  Addressing  

•  DEFAULT  REL    

•  lea  rsi,  [rel  variable]  

©SecurityTube.net  
Pentester  Academy  

©SecurityTube.net  

You might also like