When you write buffer overflows you need to put the opcodes, not the actual assembly in the script, or file or whatever. This program allows you to insert the assembly into the program, and then it outputs it to a text file in string format so you can put it directly into a char buffer in a C\C++ program.
ee23bb2efd95ce84c852fdf6822d8cf9332d4492a2ce0ee628408c5fd17e3726