import os task=os.environ["QUERY_STRING"] script=os.environ["SCRIPT_NAME"] if not script.endswith(".php"): print('HTTP/1.1 200 OK\nContent-Type: text/html\nLast-Modified: Fri, 07 Jun 2024 19:24:15 GMT\nX-Powered-By: OwOdows\n') if task=="owo": print("OwO",end='') if task=="whatsmyip": print(os.environ["REMOTE_ADDR"],end='') if task=="env": print(os.environ) else: print('HTTP/1.1 200 OK\nContent-Type: text/html\nLast-Modified: Fri, 07 Jun 2024 19:24:15 GMT\nX-Powered-By: OwOdows\n') f= open("I:\\comics\\curtwokinds.txt", "r") text=f.readline().replace("\n","") text=str(int(text)-1) f.close() f= open("C:\\Users\\a\\Documents\\Dev\\kitsus_PHP"+script.replace("/","\\"), "r") text=f.read().replace("",text) text=text.replace("",os.environ["REMOTE_ADDR"]) print(text)