When working on the simple NOT encoder, I ran into difficulty when I tried to invoke a shell with //bin/sh. The code failed because it omitted the encoded byte 0x62 completely from the instruction push 0x69622f2f. When I recoded with /bin//sh everything worked properly.
Does anybody have a rational explanation for this, or is it a matter of trying one thing and, if that does not work, trying another? In his video, Vivek does not issue a warning here, which makes me think perhaps it is my version of the compiler that is causing the problem.
Thank you for any help.