Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 768 Bytes

analysis.md

File metadata and controls

23 lines (15 loc) · 768 Bytes

Once logged on the we are prompted the following message:

$> checksec --file level02
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
No RELRO        No canary found   NX disabled   No PIE          No RPATH   No RUNPATH   level02

This time RELRO and NX are disabled meaning we could potentially exploit Global offset table this time.

Useful data on the binary itself.

Binary compilation

Use this command to compile source.c, reproduction source-code of the given binary.

 $> gcc -Wl,-z,norelro -fno-stack-protector -z execstack -o level02 source.c