def xmit_dump_ruby( data, length=16 ):
	dump = ""
	for i in xrange( 0, len( data ), length ):
		bytes = data[ i : i+length ]
		hex = "\"%s\"" % ( ''.join( [ "\\x%02X" % ord(x) for x in bytes ] ) )
		if i+length <= len(data):
			hex += " +"
		dump += ( hex ) % "%s\n"
	print dump

#=============================================================================#
dataset/ETHPy150Open secretsquirrel/the-backdoor-factory/asm/build.py/xmit_dump_ruby/swapped operands of `%`