Fixed the systemcall to read, was calling with the wrong syscall number. Added a %define for the magic number to make changing it easier. Changed the buffer that read uses to be the start of the shellcode (main) because we won't execute main again we can save some space and remove the nulls we had from relitive addressing foward
Fixed the systemcall to read, was calling with the wrong syscall number. Added a %define for the magic number to make changing it easier. Changed the buffer that read uses to be the start of the shellcode (main) because we won't execute main again we can save some space and remove the nulls we had from relitive addressing foward