Update go/ql/src/experimental/CWE-525/WebCacheDeceptionLib.qll

Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com>
This commit is contained in:
Yunus AYDIN
2023-12-13 19:36:07 +03:00
committed by GitHub
parent 221e281f73
commit 5148054612

View File

@@ -2,8 +2,6 @@ import go
import StringOps
module WebCacheDeception {
abstract class Source extends DataFlow::Node { }
abstract class Sink extends DataFlow::Node { }
private class GoNetHTTP extends Sink {
@@ -49,20 +47,4 @@ module WebCacheDeception {
)
}
}
deprecated class Configuration extends TaintTracking::Configuration {
Configuration() { this = "Web Cache Deception" }
override predicate isSource(DataFlow::Node source) { source instanceof Source }
override predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
}
private module Config implements DataFlow::ConfigSig {
predicate isSource(DataFlow::Node source) { source instanceof Source }
predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
}
module Flow = TaintTracking::Global<Config>;
}