viernes, 17 de febrero de 2017

Creating Mail server in Linode

I use linode.com (which is much more easy and cheaper than Amazon)

For creating a Main Server, follow the steps mentioned in this site:
http://www.tecmint.com/setup-postfix-mail-server-in-ubuntu-debian/

Some changes and missing stuff on this page:

We assume you are creating a user named info

1) You need to create these folders:
sudo mkdir /home/info
sudo mkdir /home/info/mail
sudo mkdir /home/info/mail/.imap

2) Give permission to all:
sudo chown -R info:info /home/info

3) In my case (my server is example.com), I have the HTML folder here:
/var/www/example.com/public_html

So, create the info user here and not where it says:
/var/www/html/info

4) From terminal, you need to add this user to mail:
adduser info mail

5) Give run permission to Postfix by running:
sudo chmod -R +w /var/mail/

6) you will need to edit a configuration file to allow receive emails
sudo nano /etc/postfix/main.cf

Where they put: example change them for example.com
This mistake is done by the wizard.

Restart Postfix using:
/etc/init.d/postfix start

Logs for Postfix:
/var/log/mail.err

NOTE: use sendmailconfig if you changed something on /etc/hosts
NOTE: any problem you have, check mail.err because port 25 or the SMTP could be used.

That should do ;-)


viernes, 20 de enero de 2017

Cambiando el DNS de tu router desde HTML

Interesante hack, abusándose de la mala organización en el código fuente de algunos routers.
Para evitarlo, tenés que cambiarle la contraseña al router SIEMPRE. Nunca dejar la que viene de fábrica.

Este exploit se abusa de eso y logra marcar un URL (en realidad prueba varios, por las dudas) que se loguea en el router y cambiar valores... En este caso es el DNS. Lo cambia por otro que el atacante quiera. Al hacer esto, todas las páginas que marques en tus computadoras y salgan por ese router, irán a donde el atacante quiera.

Captura:


Link al video:
https://www.youtube.com/watch?v=UXeW2oXeitw

domingo, 1 de enero de 2017

Friendly, alternativa a Facebook App

Friendly es una app no oficial de Facebook que mezcla la app oficial más su Facebook Messenger. Además ellos aseguran que usan menos datos y también ahorran batería, al no enviar y recibir tantas cosas.