9b/pastycake — Issue #5: Retroactive Paste Searches
Author: 9b
Created: 2012-01-21 05:17:42+00:00
State: open

As it currently stands, when new keywords are added to the list, the user only gets information on any new or incoming pastes. It would be interesting to go back in time and essentially search through all past pastes with the new keyword and update the database.

Psudoflow:
1) User enters keyword
2) Observer extracts keyword timestamp
3) Worker uses timestamp to identify all pastes prior to that time
4) Each paste is loaded (extract the URL and pair with the respective base)
5) Paste entry is searched
6) Database is updated to reflect findings and user is informed

Rationale:
Some keywords are learned over time as they become more popular. I.e - hacker groups doing more noteworthy dumps and hacks. Having the ability to "go back in time" and find prior hacks or dumps could allow users to better understand motivation, attack pattern or assist with attribution.