I hereby claim:
- I am zoddo on github.
- I am zoddo (https://keybase.io/zoddo) on keybase.
- I have a public key ASA5j1YNp9seAjmiDr1DfbTsbL1UIIc4E-Qb3gWk2hEkrwo
To claim this, I am signing this object:
| --- /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js 2020-06-30 13:36:05.000000000 +0200 | |
| +++ /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js-new 2020-07-12 12:43:34.704855306 +0200 | |
| @@ -450,6 +450,9 @@ | |
| }, | |
| checked_command: function(orig_cmd) { | |
| + orig_cmd(); | |
| + return; // Neutralize the API request | |
| + | |
| Proxmox.Utils.API2Request( |
| # Based of https://gist.github.com/funzoneq/737cd5316e525c388d51877fb7f542de | |
| [Unit] | |
| Description=Job that runs the python SimpleHTTPServer daemon | |
| Documentation=man:SimpleHTTPServer(1) | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| AmbientCapabilities=CAP_NET_BIND_SERVICE |
| <?php | |
| $config = [ | |
| 'dbhost' => 'localhost', | |
| 'dbuser' => 'xxxxxxxxx', | |
| 'dbpass' => 'xxxxxxxxx', | |
| 'dbname' => 'xxxxxxxxx', | |
| ]; |
| # /etc/udev/rules.d/10-local.rules | |
| SUBSYSTEMS=="usb", ACTION=="add", ENV{.ifNumber}="%s{bInterfaceNumber}" | |
| SUBSYSTEM=="tty", ACTION=="add", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", ENV{.ifNumber}=="00", SYMLINK+="phone" |
| "use strict"; | |
| const fetch = require('node-fetch'); | |
| const ENDPOINT = 'https://bans.discord.id/api/check.php'; | |
| const MAX_USERS = 99; // The API accepts up to 99 users per call | |
| class Lookup { | |
| constructor(token, {interval, cacheSize, cacheLife} = {}) { | |
| Object.defineProperty(this, 'token', {value: token, enumerable: false, writable: true}); | |
| this.interval = interval || 1000; // 1 sec - The API is currently not rate-lmited, but, be safe, and don't make more than 60 requests per minute. |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| const MAX_PORT = 65535; | |
| const REGEX_V4 = '#^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}):(\d{1,5})$#'; | |
| const REGEX_V6 = '#^([0-9a-f:])\[(\d{1,5})\]$#'; | |
| // Listen TCP port 113 | |
| $srv = socket_create_listen(113); | |
| if (!$srv) { | |
| echo "Unable to bind the server on port 113: " . socket_strerror(socket_last_error()) . "\n"; |
| All commands must be sent in the control-channel, prefixed with "!" or in another channel, prefixed with "AntiNoisyBot: ". | |
| ping [<string>] | |
| Reply "pong <string>" | |
| monitor #<channel> [report_only] Restrict to flag "a" | |
| Adds the channel to the list of monitored channel. If report_only is used, the bot will only | |
| report detections on the control-channel. |
| module.exports = { | |
| '001': { | |
| name: 'rpl_welcome', | |
| type: 'reply' | |
| }, | |
| '002': { | |
| name: 'rpl_yourhost', | |
| type: 'reply' | |
| }, | |
| '003': { |