I have the following code. It works ok except one thing which limits its usage in other programs. When I run it in the debugger, Linux read system call returns value always bigger than the specified b
I have this working shellcode that spawns a shell I have to modify it such that I hide \"/bin/sh\" or \"sh\" coming anywhere in the binary after compiling. I have hence thought of taking the hex value
This question already has answers here: How to load second stage boot loader from first stage? (3 answers)
Here is a code that i am executing. its giving the desired output on ubuntu with NASM 2.08 but gives a segmentation fault when compiled with Red Hat 7.3 running NASM 0.98.22
I am trying to store an array of the the fibonacci sequence in consecutive bytes of the EBX register from lowest byte to highest byte. My code works as expected up until this point:
Is it possible to do the following with this relative addressing in x86-64? section .text two dq 0 section .data
I am trying to compile this OS with nasm on a 64-bit OS X computer. However, the assembler is giving me errors that seem to be coming from the fact that it doesn\'t realize that this code is 64-bit in
I have writen this little experiement bootstrap that has a getline and print_string \"functions\". The boot stuff is taken from MikeOS tutorial but the rest I have writen myself. I compile this with N
So recently I\'ve been wanting to call some win32 calls from assembly, and I\'ve been using NASM as my external assembler. I was calling SendMessage in my code in the following way:
As you might guess, I\'m new to this (both nasm and assembly, though I\'ve done some basic assembly before).