Skip to content

Instantly share code, notes, and snippets.

Notes

File transfer protocols

Trivial File Transfer protocol

  • udp
  • port 69
  • no terminal communication
  • insecure
  • used for BOOTP & PXE

File Transfer Protocol

  • TCP

Notes

Active

  • Interacting with network to gather information

Passive

  • Gathering information without directly interacting with there network

Internal

  • methods that you can use if you have access the network

External

  • methods that you deploy outside the target network.

Notes

Sockets

  1. User Space Sockets
  • Stream Sockets = TCP
  • Datagram Socket = UDP
  1. kernel Space Socket
  • Raw socket = Direct sent packet without protocol-specific formation.

Python

  • Python3 Libraries and References