mirror of
https://github.com/openappsec/openappsec.git
synced 2026-01-17 16:00:26 +03:00
Jan 06 2026 dev (#387)
* sync code * update code to support brotli * update code to support brotli * update code to support brotli * sync code * fix findBrotli * sync code * sync code * sync code * sync code --------- Co-authored-by: Ned Wright <nedwright@proton.me> Co-authored-by: Daniel Eisenberg <danielei@checkpoint.com>
This commit is contained in:
@@ -21,16 +21,18 @@
|
||||
#include "WaapRegexPreconditions.h"
|
||||
#include "buffer.h"
|
||||
|
||||
class Signatures;
|
||||
|
||||
class SampleValue
|
||||
{
|
||||
public:
|
||||
SampleValue(const std::string &sample, const std::shared_ptr<Waap::RegexPreconditions> ®exPreconditions);
|
||||
SampleValue(const std::string &sample, const Signatures* signatures);
|
||||
const std::string &getSampleString() const;
|
||||
void findMatches(const Regex &pattern, std::vector<RegexMatch> &matches) const;
|
||||
|
||||
private:
|
||||
std::string m_sample;
|
||||
const std::shared_ptr<Waap::RegexPreconditions> m_regexPreconditions;
|
||||
const Signatures* m_signatures;
|
||||
Waap::RegexPreconditions::PmWordSet m_pmWordSet;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user