~/talk

Regex for Fun and Profit

Talkat Carolina Code Conference 2025 · 2025-08-15..08-16· [security, python]
links:none on file
slides:none on file

Covers PCRE syntax and real-world tradeoffs with concrete demos: using PCRE patterns to cut a 2M-line HTTP log to ~250 candidate SQL injections, writing YARA regex strings that find ~1,800 JavaScript XOR decryptors on VirusTotal, and a repo scan that locates 31 JS files, extracts 77 unique regex and flags one REDoS-vulnerable pattern. Explains backtracking math behind 34‑minute StackOverflow and 27‑minute Cloudflare outages, lists test/debug tools (regex101, RegExr, Reax.ripp, Redos Hunter) and mitigation steps.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:25What are regular expressions
  3. 3:53Regex syntax basics
  4. 8:10Advanced regex features
  5. 15:07Tools for regex testing
  6. 16:13Matching IP addresses
  7. 19:46Regex efficiency and AI
  8. 21:12Common regex pitfalls
  9. 23:18Real-world regex failures
  10. 26:50Regex denial of service
  11. 32:11Preventing redos attacks
  12. 35:40Practical cybersecurity uses
  13. 38:29Regex in scripts and Yara
  14. 41:41Demo: SQL injection detection
  15. 42:28Demo: Malware detection with Yara
  16. 48:57Demo: Redos vulnerability scan
  17. 53:12Resources and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.