GithubHelp home page GithubHelp logo

lemonsec / tipofmytongue Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 694.83 MB

Grepable export of all sub-titles files from infocon.org. Allowing you to search for keywords from presentations.

License: MIT License

tipofmytongue's Introduction

tipofmytongue

Grepable export of all sub-titles files from infocon.org. Allowing you to search for keywords from presentations.

This repo exists because I could never remember what presentation I watched that had the thing I was looking for. Have you ever wished you could quickly find all the presentations on PLCs? Or maybe you're interested in learning about threat actors who use rclone? Thanks to the enormous repository of conference presentations available on infocon.org, we've been able to implement a convenient solution using grep to search for keywords contained within subtitle files. Infocon.org deserves all the credit not only for housing such a wealth of information but also for including subtitles for each presentation.

How It Works

We scraped subtitle files from infocon.org and arranged them in corresponding folders. These subtitle files contain all the textual information that is spoken in the presentations, making them the perfect candidate for searching specific topics or keywords.

Searching for a Keyword

The real magic happens when we bring grep into the equation. Grep is a powerful command-line utility that allows you to search for specific patterns within files. In our case, we use it to search the subtitle files for our keyword or phrase. Here are some common grep one-liners that you can use to find your desired content.

If you're searching for a simple keyword, say "mega", and we also want the line that tells us the exact time the keyword is mentioned the command would be:

grep -r -B 1 "mega" .

The -r option tells grep to search recursively in all files and directories under the current directory. The "." denotes the current directory.

grep b1

Search for files that contain multiple keywords together and then highlight the file name.

replace the words rclone and mega with your keywords. This will search for all instances of the keywords together and then highlight the filename of the presentation in blue.

grep -lir 'rclone' . | while IFS= read -r file; do grep -iq 'mega' "$file" && grep --color=always -i 'rclone|mega' "$file" | sed 's/<[^>]*>//g' && echo -e "\e[96m$file\e[0m"; done

ransom

Once you find the corresponding talk you're looking for. Search for it on YouTube or Navigate to https://infocon.org/cons/ Select the conference and follow the directories down until you find the mp4. for the presentation you are interested in watching and download the file infocon

tipofmytongue's People

Contributors

lemonsec avatar

Stargazers

reza.duty avatar Randal Hicks avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.