Skip to content

Commit 7650aea

Browse files
authored
Merge pull request #21 from SasanLabs/FuzzerChanges
Adding license file
2 parents 8261310 + 045a82a commit 7650aea

28 files changed

+231
-352
lines changed

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ java {
2222

2323
spotless {
2424
java {
25-
// Don't enforce the license, just the format.
26-
clearSteps()
25+
licenseHeaderFile("./gradle/spotless/License.java")
2726
googleJavaFormat().aosp()
2827
}
2928
}

gradle/License.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/**
2+
* Copyright $YEAR SasanLabs
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
**/

gradle/spotless/License.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/**
2+
* Copyright $YEAR SasanLabs
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
**/

src/main/java/org/zaproxy/zap/extension/jwt/JWTActiveScanRule.java

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
/*
2-
* Zed Attack Proxy (ZAP) and its related class files.
3-
*
4-
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
5-
*
6-
* Copyright 2020 The ZAP Development Team
1+
/**
2+
* Copyright 2020 SasanLabs
73
*
8-
* Licensed under the Apache License, Version 2.0 (the "License");
9-
* you may not use this file except in compliance with the License.
10-
* You may obtain a copy of the License at
4+
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5+
* except in compliance with the License. You may obtain a copy of the License at
116
*
12-
* http://www.apache.org/licenses/LICENSE-2.0
7+
* <p>http://www.apache.org/licenses/LICENSE-2.0
138
*
14-
* Unless required by applicable law or agreed to in writing, software
15-
* distributed under the License is distributed on an "AS IS" BASIS,
16-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
* See the License for the specific language governing permissions and
9+
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
1812
* limitations under the License.
1913
*/
2014
package org.zaproxy.zap.extension.jwt;

src/main/java/org/zaproxy/zap/extension/jwt/JWTConfiguration.java

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
/*
2-
* Zed Attack Proxy (ZAP) and its related class files.
3-
*
4-
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
5-
*
6-
* Copyright 2019 The ZAP Development Team
1+
/**
2+
* Copyright 2020 SasanLabs
73
*
8-
* Licensed under the Apache License, Version 2.0 (the "License");
9-
* you may not use this file except in compliance with the License.
10-
* You may obtain a copy of the License at
4+
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5+
* except in compliance with the License. You may obtain a copy of the License at
116
*
12-
* http://www.apache.org/licenses/LICENSE-2.0
7+
* <p>http://www.apache.org/licenses/LICENSE-2.0
138
*
14-
* Unless required by applicable law or agreed to in writing, software
15-
* distributed under the License is distributed on an "AS IS" BASIS,
16-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
* See the License for the specific language governing permissions and
9+
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
1812
* limitations under the License.
1913
*/
2014
package org.zaproxy.zap.extension.jwt;

src/main/java/org/zaproxy/zap/extension/jwt/JWTExtension.java

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
/*
2-
* Zed Attack Proxy (ZAP) and its related class files.
3-
*
4-
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
5-
*
6-
* Copyright 2019 The ZAP Development Team
1+
/**
2+
* Copyright 2020 SasanLabs
73
*
8-
* Licensed under the Apache License, Version 2.0 (the "License");
9-
* you may not use this file except in compliance with the License.
10-
* You may obtain a copy of the License at
4+
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5+
* except in compliance with the License. You may obtain a copy of the License at
116
*
12-
* http://www.apache.org/licenses/LICENSE-2.0
7+
* <p>http://www.apache.org/licenses/LICENSE-2.0
138
*
14-
* Unless required by applicable law or agreed to in writing, software
15-
* distributed under the License is distributed on an "AS IS" BASIS,
16-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
* See the License for the specific language governing permissions and
9+
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
1812
* limitations under the License.
1913
*/
2014
package org.zaproxy.zap.extension.jwt;

src/main/java/org/zaproxy/zap/extension/jwt/JWTHolder.java

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
/*
2-
* Zed Attack Proxy (ZAP) and its related class files.
3-
*
4-
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
5-
*
6-
* Copyright 2019 The ZAP Development Team
1+
/**
2+
* Copyright 2020 SasanLabs
73
*
8-
* Licensed under the Apache License, Version 2.0 (the "License");
9-
* you may not use this file except in compliance with the License.
10-
* You may obtain a copy of the License at
4+
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5+
* except in compliance with the License. You may obtain a copy of the License at
116
*
12-
* http://www.apache.org/licenses/LICENSE-2.0
7+
* <p>http://www.apache.org/licenses/LICENSE-2.0
138
*
14-
* Unless required by applicable law or agreed to in writing, software
15-
* distributed under the License is distributed on an "AS IS" BASIS,
16-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
* See the License for the specific language governing permissions and
9+
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
1812
* limitations under the License.
1913
*/
2014
package org.zaproxy.zap.extension.jwt;

src/main/java/org/zaproxy/zap/extension/jwt/JWTI18n.java

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
/*
2-
* Zed Attack Proxy (ZAP) and its related class files.
3-
*
4-
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
5-
*
6-
* Copyright 2019 The ZAP Development Team
1+
/**
2+
* Copyright 2020 SasanLabs
73
*
8-
* Licensed under the Apache License, Version 2.0 (the "License");
9-
* you may not use this file except in compliance with the License.
10-
* You may obtain a copy of the License at
4+
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5+
* except in compliance with the License. You may obtain a copy of the License at
116
*
12-
* http://www.apache.org/licenses/LICENSE-2.0
7+
* <p>http://www.apache.org/licenses/LICENSE-2.0
138
*
14-
* Unless required by applicable law or agreed to in writing, software
15-
* distributed under the License is distributed on an "AS IS" BASIS,
16-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
* See the License for the specific language governing permissions and
9+
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
1812
* limitations under the License.
1913
*/
2014
package org.zaproxy.zap.extension.jwt;

src/main/java/org/zaproxy/zap/extension/jwt/attacks/ClientSideAttack.java

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
/*
2-
* Zed Attack Proxy (ZAP) and its related class files.
3-
*
4-
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
5-
*
6-
* Copyright 2020 The ZAP Development Team
1+
/**
2+
* Copyright 2020 SasanLabs
73
*
8-
* Licensed under the Apache License, Version 2.0 (the "License");
9-
* you may not use this file except in compliance with the License.
10-
* You may obtain a copy of the License at
4+
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5+
* except in compliance with the License. You may obtain a copy of the License at
116
*
12-
* http://www.apache.org/licenses/LICENSE-2.0
7+
* <p>http://www.apache.org/licenses/LICENSE-2.0
138
*
14-
* Unless required by applicable law or agreed to in writing, software
15-
* distributed under the License is distributed on an "AS IS" BASIS,
16-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
* See the License for the specific language governing permissions and
9+
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
1812
* limitations under the License.
1913
*/
2014
package org.zaproxy.zap.extension.jwt.attacks;

src/main/java/org/zaproxy/zap/extension/jwt/attacks/HeaderAttack.java

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
/*
2-
* Zed Attack Proxy (ZAP) and its related class files.
3-
*
4-
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
5-
*
6-
* Copyright 2019 The ZAP Development Team
1+
/**
2+
* Copyright 2020 SasanLabs
73
*
8-
* Licensed under the Apache License, Version 2.0 (the "License");
9-
* you may not use this file except in compliance with the License.
10-
* You may obtain a copy of the License at
4+
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5+
* except in compliance with the License. You may obtain a copy of the License at
116
*
12-
* http://www.apache.org/licenses/LICENSE-2.0
7+
* <p>http://www.apache.org/licenses/LICENSE-2.0
138
*
14-
* Unless required by applicable law or agreed to in writing, software
15-
* distributed under the License is distributed on an "AS IS" BASIS,
16-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
* See the License for the specific language governing permissions and
9+
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
1812
* limitations under the License.
1913
*/
2014
package org.zaproxy.zap.extension.jwt.attacks;

0 commit comments

Comments
 (0)