403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/rasin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/rasin/clean-malware.sh
#!/bin/bash
FLOWS="/home/rasin/.node-red/flows.json"

if grep -q "490942b9-7b36-41\|185.196.8.170" "$FLOWS"; then
    echo "Malver detektovan! Čistim..."
    BACKUP="/home/rasin/.node-red/flows_infected_$(date +%s).json"
    cp "$FLOWS" "$BACKUP"
    
    # Koristi clean backup
    CLEAN_BACKUP=$(ls -t /home/rasin/node-red-backups/flows_*.json | head -1)
    if [ -f "$CLEAN_BACKUP" ]; then
        cp "$CLEAN_BACKUP" "$FLOWS"
        echo "Vraćen čist backup: $CLEAN_BACKUP"
    fi
    
    sudo systemctl restart node-red
fi

Youez - 2016 - github.com/yon3zu
LinuXploit