def runnable_payloads(shell_obj):
 result = []
 for payload_name in get_payload_list():
  payload = get_payload_instance(payload_name, shell_obj)
  if payload.can_run():
   result.append(payload_name)
 return result

def runnable_payloads ( shell_obj ) : result = [ ] for payload_name in get_payload_list ( ) : payload = get_payload_instance ( payload_name , shell_obj ) if payload . can_run ( ) : result . append ( payload_name ) return result
the payloads that can be run using this shell object .