fix: Correções de segurança e validação de entrada#2
Draft
PaulMass wants to merge 1 commit into
Draft
Conversation
- Adicionado import socket faltante em info_analysis.py - Corrigido escape sequence no banner do main.py - Adicionado validação de entrada em network_scanner.py: - Validação de faixa de IP (CIDR) - Validação de IP ou domínio - Validação de portas - Adicionado validação de segurança em info_analysis.py: - Validação de caminho de arquivo - Validação de domínio - Validação de algoritmo de hash - Melhorado sniffer.py com: - Validação de interface de rede - Validação de contagem de pacotes - Validação de timeout - Avisos de segurança - Limitação de exibição de dados - Adicionado SECURITY.md com avisos legais e melhores práticas - Adicionado LICENSE (MIT) para garantir Open Source Co-authored-by: Vibe Code <vibe@nuage.ai> Co-authored-by: PaulMass <PaulMass@users.noreply.github.com>
78e0b83 to
447f113
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔒 Correções de Segurança e Validação de Entrada
Problemas Corrigidos
import socketfaltante eminfo_analysis.pyque causava erro em tempo de execuçãomain.pyMelhorias de Segurança
network_scanner.py
--max-rate 100ao nmap para evitar detecção como ataqueinfo_analysis.py
sniffer.py
Novos Arquivos
SECURITY.md: Documentação completa de segurança com:Impacto
Co-authored-by: Vibe Code vibe@nuage.ai