Compare commits

..

2 Commits

2 changed files with 46 additions and 22 deletions

View File

@ -1,6 +1,6 @@
# 🕵️‍♂️ SEVO - Security Email Validator OSINT v1.0.0 # 🕵️‍♂️ SEVO - Security Email Validator OSINT v1.1.0
![Version](https://img.shields.io/badge/version-1.0.0-blue.svg) ![Version](https://img.shields.io/badge/version-1.1.0-blue.svg)
![License](https://img.shields.io/badge/license-MIT-green.svg) ![License](https://img.shields.io/badge/license-MIT-green.svg)
![Category](https://img.shields.io/badge/category-OSINT-orange.svg) ![Category](https://img.shields.io/badge/category-OSINT-orange.svg)
![OPSEC](https://img.shields.io/badge/OPSEC-friendly-green.svg) ![OPSEC](https://img.shields.io/badge/OPSEC-friendly-green.svg)
@ -50,7 +50,7 @@ sudo apt update && sudo apt install bind9-host netcat-openbsd coreutils bc
### Instalación Rápida ### Instalación Rápida
```bash ```bash
git clone https://condorcs.net/mrhacker/SEVO.git git clone https://condorcs.net/mrhacker/SEVO.git
cd sevo cd SEVO
chmod +x sevo chmod +x sevo
./sevo --version ./sevo --version
``` ```

36
sevo
View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Versión del script # Versión del script
VERSION="1.0.0" VERSION="1.1.0"
# Colores y símbolos # Colores y símbolos
RED='\033[0;31m' RED='\033[0;31m'
@ -229,13 +229,37 @@ EOF
fingerprint_server() { fingerprint_server() {
local response=$1 local response=$1
local server_info=$(echo "$response" | grep -i "^220" | head -n1) local server_info=$(echo "$response" | grep -i "^220" | head -n1)
local additional_info=$(echo "$response" | grep -i "at your service" | head -n1)
if [[ $server_info =~ "Microsoft" ]]; then if [[ $server_info =~ "mx.google.com" ]] || [[ $server_info =~ "gmail-smtp" ]] || [[ $additional_info =~ "mx.google.com" ]]; then
log "INFO" "Servidor detectado: Microsoft Exchange/Office 365" if [[ $server_info =~ "gsmtp" ]]; then
[[ $VERBOSE == true ]] && log "DEBUG" "Sistema de correo empresarial Microsoft" if [[ $HOSTNAME =~ "gmail-smtp" ]]; then
elif [[ $server_info =~ "Google" ]]; then log "INFO" "Servidor detectado: Google Gmail (SMTP)"
elif [[ $HOSTNAME =~ "aspmx" ]]; then
log "INFO" "Servidor detectado: Google Workspace" log "INFO" "Servidor detectado: Google Workspace"
[[ $VERBOSE == true ]] && log "DEBUG" "Sistema de correo Google Workspace" elif [[ $HOSTNAME =~ "google" ]]; then
log "INFO" "Servidor detectado: Google Mail Services"
else
log "INFO" "Servidor detectado: Google Mail Infrastructure"
fi
[[ $VERBOSE == true ]] && log "DEBUG" "Motor SMTP: Google SMTP (gsmtp)"
fi
if [[ $response =~ "STARTTLS" ]]; then
[[ $VERBOSE == true ]] && log "DEBUG" "Soporta: STARTTLS (Cifrado TLS)"
fi
if [[ $response =~ "SMTPUTF8" ]]; then
[[ $VERBOSE == true ]] && log "DEBUG" "Soporta: SMTPUTF8 (Caracteres internacionales)"
fi
if [[ $response =~ "SIZE" ]]; then
local size=$(echo "$response" | grep -i "SIZE" | grep -oP '\d+')
[[ $VERBOSE == true ]] && log "DEBUG" "Tamaño máximo de mensaje: $(($size/1024/1024))MB"
fi
return 0
elif [[ $server_info =~ "Microsoft" ]]; then
log "INFO" "Servidor detectado: Microsoft Exchange/Office 365"
[[ $VERBOSE == true ]] && log "DEBUG" "Sistema de correo empresarial Microsoft Exchange"
elif [[ $server_info =~ "Postfix" ]]; then elif [[ $server_info =~ "Postfix" ]]; then
log "INFO" "Servidor detectado: Postfix" log "INFO" "Servidor detectado: Postfix"
[[ $VERBOSE == true ]] && log "DEBUG" "Servidor de correo Postfix (Linux)" [[ $VERBOSE == true ]] && log "DEBUG" "Servidor de correo Postfix (Linux)"