Grapefruit Thrower

Write your exploit using the below template and slack it to shockley. Let him know if you have external dependencies.

Template:

def runJob(ip):
	# any stdout in here gets redirected to the log file
	# you can check this log by either looking at the log file (same directory),
	# or by using the command 'print <job name> [number of lines]' in the launcher
	print "hello cruel world", "my ip is", ip
 
	return "l00k_@t_th1s_1337_fl@g" # return flag if successful, False otherwise
 
def fakeJob(ip):
	return True # Return anything not False here

shockley: Here's the template for using the launcher. The launcher will call the runJob function with an ip address of a host we want to attack and at an interval specified via the command line (so like once a tick). The fakeJob command will be called at random intervals in the tick and should just be chaff/fake exploits so we're not only throwing our goods around