Projeto TecHack - Roteiro 1
Descrição
Este projeto é parte do curso TecHack da Insper. O objetivo deste roteiro é introduzir conceitos básicos de programação e desenvolvimento de software.
Funcionalidades
- Suporte para IPv4
- Suporte para IPv6
- Suporte para Porta especifica ou Range
- Escaneamento de Rede usando CIDR
- Escaneamento de portas TCP
- Escaneamento de portas UDP
- Detecção de sistema operacional
- Detecção de serviços de rede atravez de Well-Know Ports
- Suporte para procura de serviço na rede
- Detecção do STATUS da porta
- Suporte a argumentos de linha de comando
Estrutura do Projeto
scanner/__init__.py: Inicializa o pacote e importa as funções principais.detector.py: Contém funções para detectar serviços de rede e manipular argumentos de requisição.scan_manager.py: Fornece funções para escaneamento TCP e UDP, bem como detecção de sistema operacional.consts.py: Define constantes usadas em todo o pacote.args_parser.py: Analisa e valida os argumentos fornecidos pelo usuário.
Requisitos
- Python 3.9+
- scapy
Instalação
-
Clone o repositório:
git clone https://github.com/seu-usuario/seu-repositorio.git
-
Navegue até o diretório do projeto:
cd seu-repositorio
-
Instale as dependências:
pip install -r requirements.txt
Uso
Para executar o projeto, utilize o seguinte comando:
python -m scanner <args>
Exemplos de Uso
python -m scanner 192.168.0.1 python -m scanner 192.168.1.1 -p 22,80,443 python -m scanner 192.168.1.1 -p 53,123 --udp python -m scanner 192.168.1.0/24 --service ssh
Contribuição
- Faça um fork do projeto
- Crie uma branch para sua feature (
git checkout -b feature/nova-feature) - Commit suas mudanças (
git commit -m 'Adiciona nova feature') - Faça o push para a branch (
git push origin feature/nova-feature) - Abra um Pull Request
Licença
Este projeto está licenciado sob a licença MIT. Veja o arquivo LICENSE para mais detalhes.
Contato
Para mais informações, entre em contato com admin@peng1104.net.
Metadata
Release files for TecHackPortScanner 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| techackportscanner-1.0.2.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| techackportscanner-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.4 kB
Release files / techackportscanner-1.0.2.tar.gz
| Download URL | techackportscanner-1.0.2.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c62a61f06b93e31bb18a53b132edec90618fc48937c562e8e71a97cc742bcce
|
|
BLAKE2b-256 checksum How to use checksums |
8fcc78bd66aab41541be2b60e2f78984d0e540dc65ff5ca52d096d8f7cc0bdf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 28, 2025.
Transparency logRelease files / techackportscanner-1.0.2-py3-none-any.whl
| Download URL | techackportscanner-1.0.2-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5bc5fe97f2c1df95ba39ccbc9bdedcf93ed7761574d139876246536cb231cdcb
|
|
BLAKE2b-256 checksum How to use checksums |
d7b3f5aeffa069735f60ab407cfdfa14c95ccbf72ad418d05b8e5c631c877bb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 28, 2025.
Transparency log