Skip to main content

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

  1. Clone o repositório:

    git clone https://github.com/seu-usuario/seu-repositorio.git
    
  2. Navegue até o diretório do projeto:

    cd seu-repositorio
    
  3. 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

  1. Faça um fork do projeto
  2. Crie uma branch para sua feature (git checkout -b feature/nova-feature)
  3. Commit suas mudanças (git commit -m 'Adiciona nova feature')
  4. Faça o push para a branch (git push origin feature/nova-feature)
  5. 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)

Source distribution for TecHackPortScanner 1.0.2
File Size Uploaded
techackportscanner-1.0.2.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for TecHackPortScanner 1.0.2
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page