Add Your Own Branded Image Logo to the WordPress Login Screen
function change_my_wp_login_image() { echo ” “; } add_action(“login_head”, “change_my_wp_login_image”); http://diythemes.com/thesis/rtfm/add-image-logo-wordpress-login/
How to remove entire admin menu?
The correct hook to use is admin_menu and then create a function to remove the menus you want to remove. The following 2 functions remove all the menus. add_action( ‘admin_menu’, ‘remove_admin_menus’ ); add_action( ‘admin_menu’, ‘remove_admin_submenus’ ); //Remove top level admin menus function remove_admin_menus() { remove_menu_page(...
Customize the WordPress admin menu based on user roles
WordPress can be a powerful content management system but if you have multiple users often some can end up with permissions that you really wish they didn’t have. There are plenty of plugins that will let you customize user permissions but it’s not that hard...
IPtables – Bloquear IPs definitivamente
IPtables – Bloquear IPs definitivamente Galera, Estava com um problema na empresa onde trabalho, o servidor está com o IPtables bloqueando tudo certinho, mas tinham alguns IPs que tentavam acessá-lo muitas vezes ao dia. Isto gerava muitos Logs no SYSLOG, então eu queria bloquear esses...
IP bloqueado ataque continua Prevencao Syn Flood
# Prevencao Syn Flood http://www.forumcpanel.com.br/topic/2148-ip-bloqueado-ataque-continua/ iptables -N syn-flood iptables -A INPUT -i eth0 -p tcp –syn -j syn-flood iptables -A syn-flood -m limit –limit 10/s –limit-burst 24 -j RETURN iptables -A syn-flood -j DROP http://linuxthink.blogspot.com.br/2011/03/prevent-syn-floods-synrecv-attack-on.html iptables -I INPUT -p tcp -m state –state NEW –dport...
Prevent syn floods [SYN_RECV] attack on Linux (cPanel) Server
revent syn floods [SYN_RECV] attack on Linux (cPanel) Server One of my Linux Server (Cent OS, cPanel) is under syn floods Attacks come from different spoofed ip addresses and ports as below logs. root@yes [~]# netstat -n -p | grep SYN_REC | sort -u tcp...
http://www.devin.com.br/shell_script/
Programando em shell script Comentários 160 Visualizações 509,824 489 4 7 57 Índice de Conteúdo Primeira parte, uma introdução Conceito de Variáveis em shell script Controle de fluxo com o if Outras alternativas Segunda parte, se aprofundando mais! case for while until Usando vários scripts...
Entendendo TCP/IP (Parte 5) – Portas TCP/UDP
Conceitos e Portas Locais Conceitos Hoje em dia, é comum trabalharmos com vários aplicativos diferentes abertos ao mesmo tempo, como por exemplo um navegador com várias abas, um cliente de mensagem instantânea, um cliente de e-mail, um player de MP3, etc. Todos eles recebendo e...
IP bloqueado ataque continua
Como eu havia prometido. Achei esta regra para inserir no IPTABLES. # Prevencao Syn Flood iptables -N syn-flood iptables -A INPUT -i eth0 -p tcp –syn -j syn-flood iptables -A syn-flood -m limit –limit 10/s –limit-burst 24 -j RETURN iptables -A syn-flood -j DROP http://www.forumcpanel.com.br/topic/2148-ip-bloqueado-ataque-continua/
SYN_RECV, IPTABLES, Drop DDOS Flood IPs does not work!
SYN_RECV, IPTABLES, Drop DDOS Flood IPs does not work! Conexão com SYN flood. O atacante envia diversas vezes pacotes maliciosos com SYN e recebe respostas válidas. O servidor é sobrecarregado e novas requisições válidas não são realizadas com sucesso [Log in to get rid of...
Stay connected