Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 466 Bytes

File metadata and controls

30 lines (20 loc) · 466 Bytes

Extraction 1

Author: Marin Radu


Description

Isolate a unique line from the given text file using regular expressions.

Requirements

  • Regex
  • grep

Solve

Use grep to exclude lines that match the specific pattern:

grep -E -v '^[A-Z]{4}[a-z]{6}\d[A-Z]\d{2}[a-zA-Z]{6}$' file.txt

You can also use my script: solve.py


Flag: CSCTF{FGMQzggbiy3E864BQbpr}