Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvise grep plugins #157

Closed
flabbergastedbd opened this issue Feb 27, 2014 · 1 comment
Closed

Improvise grep plugins #157

flabbergastedbd opened this issue Feb 27, 2014 · 1 comment

Comments

@flabbergastedbd
Copy link
Contributor

  • Make regexps external => dictionaries/regexps
  • Load regexps at start
  • Grep response + headers automatically upon request retrieval IF transaction is in scope

Grep plugins must

  • Update all + unique matches DB

    • Lookup DB => In memory: Contains grep plugin => Transac ID mapping for BOTH: Unique + ALL matches
    • Match DB => In disk: Contains UNIQUE grep plugin matches BASE64_ENCODED in a SINGLE FILE like: TRANSAC_ID || MATCH
    • Report => Build table using Match info
    • DB LOOKS LIKE:
  • owtf_review/target/db/grep/OWTF_CODE/all_matches_index.txt <- memory
  • owtf_review/target/db/grep/OWTF_CODE/unique_matches_index.txt <- memory
  • owtf_review/target/db/grep/OWTF_CODE/unique_matches_data.txt <- disk
    +Review tables for report unclosed + built on the fly
  • Update results + token ONLY if new results

Much easier with db support

@flabbergastedbd
Copy link
Contributor Author

Fixed in UI branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant