Skip to content

Latest commit

Β 

History

History
32 lines (23 loc) Β· 990 Bytes

File metadata and controls

32 lines (23 loc) Β· 990 Bytes

ioc-extractor-lite

πŸ› οΈ Your mission: Build a simple Python script that extracts IOCs from a raw log file.

πŸ§ͺ What you'll detect

  • IP addresses (IPv4)
  • Domain names
  • URLs (http/https)
  • File hashes (MD5, SHA1, SHA256)

πŸš€ Instructions

  1. Check the file: logs/sample.log
  2. Use the a Python script: extractor.py
  3. Use regex to extract IOCs from the file
  4. Print the results in a clean format (optional: sort or deduplicate them)

Need help? Check DONOTREADME.md (but only if you're stuck πŸ˜‰)

🧩 Bonus ideas

  • Save the IOCs to a file
  • Add CLI args with argparse

πŸ“š Resources

πŸŽ‰ Happy coding!

Thanks for the contributors: