Bruno_Moreira 25 Posted March 27, 2013 No Meu Servidor Este ficheiros Ficam Muitos Cheios Rapida-menteja ouvi falar que ah uma scrip que limpa autumaticamente se alguem a tiver sem bugs agradecia que a postasse aki ou mandese-me por skypeskype:b_r_u_n_o_97Agradecia Imenso !! Share this post Link to post Share on other sites
SINVAL o.O 728 Posted March 27, 2013 Tem esse aki mais não e automatico : #!/bin/sh##############################################################################!/usr/rancoroso/authfind /usr/rancoroso/auth -name "*.core" -print -exec rm {} ;find /usr/rancoroso/auth -name "p2p_packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/auth -name "packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/auth -name "stdout" -print -exec rm {} ;find /usr/rancoroso/auth -name "syserr" -print -exec rm {} ;find /usr/rancoroso/auth -name "syslog" -print -exec rm {} ;find /usr/rancoroso/auth -name "pid" -print -exec rm {} ;find /usr/rancoroso/auth -name "PTS" -print -exec rm {} ;find /usr/rancoroso/auth -name "udp_packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/auth -name "VERSION.txt" -print -exec rm {} ;sleep 3#!/usr/rancoroso/databasefind /usr/rancoroso/database -name "syserr" -print -exec rm {} ;find /usr/rancoroso/database -name "syslog" -print -exec rm {} ;find /usr/rancoroso/database -name "pid" -print -exec rm {} ;find /usr/rancoroso/database -name "PTS" -print -exec rm {} ;find /usr/rancoroso/database -name "usage.txt" -print -exec rm {} ;find /usr/rancoroso/database -name "VERSION.txt" -print -exec rm {} ;sleep 3#!/usr/rancoroso/channel/channel1find /usr/rancoroso/channels/channel1 -name "*.core" -print -exec rm {} ;find /usr/rancoroso/channels/channel1 -name "p2p_packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/channels/channel1 -name "packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/channels/channel1 -name "stdout" -print -exec rm {} ;find /usr/rancoroso/channels/channel1 -name "syserr" -print -exec rm {} ;find /usr/rancoroso/channels/channel1 -name "syslog" -print -exec rm {} ;find /usr/rancoroso/channels/channel1 -name "pid" -print -exec rm {} ;find /usr/rancoroso/channels/channel1 -name "PTS" -print -exec rm {} ;find /usr/rancoroso/channels/channel1 -name "udp_packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/channels/channel1 -name "VERSION.txt" -print -exec rm {} ;sleep 3#!/usr/rancoroso/channels/channel2find /usr/rancoroso/channels/channel2 -name "*.core" -print -exec rm {} ;find /usr/rancoroso/channels/channel2 -name "p2p_packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/channels/channel2 -name "packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/channels/channel2 -name "stdout" -print -exec rm {} ;find /usr/rancoroso/channels/channel2 -name "syserr" -print -exec rm {} ;find /usr/rancoroso/channels/channel2 -name "syslog" -print -exec rm {} ;find /usr/rancoroso/channels/channel2 -name "pid" -print -exec rm {} ;find /usr/rancoroso/channels/channel2 -name "PTS" -print -exec rm {} ;find /usr/rancoroso/channels/channel2 -name "udp_packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/channels/channel2 -name "VERSION.txt" -print -exec rm {} ;sleep 3#!/usr/rancoroso/channels/channel99find /usr/rancoroso/channels/channel99 -name "*.core" -print -exec rm {} ;find /usr/rancoroso/channels/channel99 -name "p2p_packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/channels/channel99 -name "packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/channels/channel99 -name "stdout" -print -exec rm {} ;find /usr/rancoroso/channels/channel99 -name "syserr" -print -exec rm {} ;find /usr/rancoroso/channels/channel99 -name "syslog" -print -exec rm {} ;find /usr/rancoroso/channels/channel99 -name "PTS" -print -exec rm {} ;find /usr/rancoroso/channels/channel99 -name "pid" -print -exec rm {} ;find /usr/rancoroso/channels/channel99 -name "udp_packet_info.txt" -print -exec rm {} ;find /usr/rancoroso/channels/channel99 -name "VERSION.txt" -print -exec rm {} ;sleep 3rm -rf auth/log/* && rm -rf /auth/log/sys.*rm -rf database/log/* && rm -rf /database/log/sys.*rm -rf channels/*/log/* && rm -rf /channels/*/log/sys.*sleep 3echo "Todos os logs do Servidor Foram apagados!" Tem esses aki tb que e automatico : http://cyber-gamers.org/index.php?/topic/8295-autoscript-anti-login-bug-autokill-logs-arumados-pra-files-do-rancoroso/ sE TE AJUDEI http://cyber-gamers.org/public/style_emoticons/default/451960.gif. Share this post Link to post Share on other sites
ɓʀuɳѳ' ИИ#92 350 Posted March 27, 2013 @Sinval se ele não tem as files do rancoroso isso não vai dar .. find /usr/rancoroso/auth -name Por exemplo ele só vai funcionar se ele tiver esse diretório ... E só as files do rancoroso tem o /usr/rancoroso.. Share this post Link to post Share on other sites
SINVAL o.O 728 Posted March 27, 2013 affs que casete, isso tem que pegar e moficar os diretoris pras files da gente que ******, não e possivel que não sab nem mudar o diretorio como na minha é : find /usr/sinval/auth -nameC. Sinval Share this post Link to post Share on other sites
ɓʀuɳѳ' ИИ#92 350 Posted March 27, 2013 Tu disses-te alguma coisa no post? ele pode pensar que como não disses-te nada é só implementar , e modera a linguagem que não te respondi torto.. 1 SINVAL o.O reacted to this Share this post Link to post Share on other sites
SINVAL o.O 728 Posted March 27, 2013 Tu disses-te alguma coisa no post? ele pode pensar que como não disses-te nada é só implementar , e modera a linguagem que não te respondi torto.. http://cyber-gamers.org/public/style_emoticons/default/desculpa.gif a limguagem to estresado hj. http://cyber-gamers.org/public/style_emoticons/default/desculpa.gif Share this post Link to post Share on other sites