Skip to content

Commit 5148054

Browse files
aydinnyunusowen-mc
andauthored
Update go/ql/src/experimental/CWE-525/WebCacheDeceptionLib.qll
Co-authored-by: Owen Mansel-Chan <[email protected]>
1 parent 221e281 commit 5148054

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import go
22
import StringOps
33

44
module WebCacheDeception {
5-
abstract class Source extends DataFlow::Node { }
6-
75
abstract class Sink extends DataFlow::Node { }
86

97
private class GoNetHTTP extends Sink {
@@ -49,20 +47,4 @@ module WebCacheDeception {
4947
)
5048
}
5149
}
52-
53-
deprecated class Configuration extends TaintTracking::Configuration {
54-
Configuration() { this = "Web Cache Deception" }
55-
56-
override predicate isSource(DataFlow::Node source) { source instanceof Source }
57-
58-
override predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
59-
}
60-
61-
private module Config implements DataFlow::ConfigSig {
62-
predicate isSource(DataFlow::Node source) { source instanceof Source }
63-
64-
predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
65-
}
66-
67-
module Flow = TaintTracking::Global<Config>;
6850
}

0 commit comments

Comments
 (0)