summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)Author
2014-01-27allow to append a prefix and a suffix to the payloadOlivier Gayot
the user can use --prefix "abcdfdafsjdlf" to generate a payload prepended by "abcdfdafsjdlf". The same way, he is able to append after the payload using --suffix. Morever, he can specify --sfxnops 'n' to append 'n' NOP bytes directly after the payload. The user is informed via stderr of the offset of the NOP bytes and the the offset of suffix. Refs: #1
2014-01-27rename buffer to payloadOlivier Gayot
the name of the payload, 'buffer', was very confusing. I renamed it to 'payload' which is meaningful. BTW, I removed the export of the symbol. It is not very important since there is only one source file but there was no need to export it.
2014-01-27initial commitOlivier Gayot