copy of example 1 to use with alternate payload
stage2dropper.c: changed 5 sec sleep to 1 sec.
made trojan dropper less broken.

constructor takes an endianness parameter
get proper shellcode from __class__.shellcodes, indexing on endianness.
sadly there's only little endian for now…stay tuned.
changes to TrojanServer

Added some pydoc
use logger rather than print
create server socket before forking so we can tell if server failed, and avoid throwing exploit.
adapted example 1a to work with TrojanDropper and TrojanServer

added helloworld shell script to use with example 1a