code: def malicious_log():
      print(
          "Waiting 3s before sending malicious logging call ${jndi:ldap://127.0.0.1:50001/}"
      )
      time.sleep(3)
      print("Calling log_and_echo")
      h2o.log_and_echo("${jndi:ldap://127.0.0.1:50001/}")
      print("Finished log_and_echo")
      time.sleep(3)
      print("Sending poison pill to close the connection")
      send_poison_pill()
  
file_path: h2o-3/h2o-py/tests/testdir_misc/pyunit_log4j_cve.py
imports: import sys
  import socket
  import h2o
  from tests import pyunit_utils
  import time
  import threading
label_desc: Use image node_id 1 for calling a global function with example usage: malicious_log() without return types