Categories
Apache Hacker Web Server

Whitelist EC2 server to send email

Below find url that will allow your ec2 servers to send emails

https://console.aws.amazon.com/support/contacts?#/rdns-limits
Categories
Server Token Web Server

Rest Client

Insomnia

Postman

Categories
Golang SEO Web Server

How to web crawl a website ?

I am experimenting a web crawler COLLY – And it is fantastic !!

Have a look ! Golang

https://github.com/gocolly/colly

Categories
Security Web Server

How to test SSL compliance ?

https://www.ssllabs.com/ssltest/analyze.html?d=david.raleche.com&latest
Categories
Hacker Unix Web Server

How to harden files permission wordpress ?

Files

find . -type f -print0 | xargs -0 chmod 0400

Directory

find . -type d -print0 | xargs -0 chmod 0500
Categories
Hacker Security Unix Web Server

Files Permission – Unix Server

  • Folders – 755
  • Files – 644
  • wp-config.php – 600
  • .htaccess – 644, or 600

Unix command for directories 755

find . -type d -print0 | xargs -0 chmod 0755
sudo find . -type d -print0 | sudo xargs -0 chmod 0755

Unix command for files 644

find . -type f -print0 | xargs -0 chmod 0644
sudo find . -type f -print0 | sudo xargs -0 chmod 0644

Find hacked files

grep -r --include=*.php -e '[[:alnum:]\/\+]\{137,\}'