This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| tab_pathfile=/etc/config/crontab | |
| conf_pathfile=/etc/config/qpkg.conf | |
| uninstall_pathfile=$(getcfg MalwareRemover Install_Path -f $conf_pathfile)/.uninstall.sh | |
| if ! grep malware_remover_install.lck $tab_pathfile &> /dev/null; then | |
| echo '*/2 * * * * /bin/touch /var/lock/malware_remover_install.lck' >> $tab_pathfile | |
| crontab $tab_pathfile && /etc/init.d/crond.sh restart | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find /usr/share/terminfo -type f -exec basename {} \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl ipinfo.io/ip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* This file was generated by the Hex-Rays decompiler version 8.4.0.240320. | |
| Copyright (c) 2007-2021 Hex-Rays <info@hex-rays.com> | |
| Detected compiler: GNU C++ | |
| */ | |
| #include <defs.h> | |
| #include <stdarg.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Docker Volume File Backup and Restore Tool | |
| # Easily tar up a volume on a local (or remote) engine | |
| # Inspired by CLIP from Lukasz Lach | |
| set -Eeo pipefail | |
| handle_error() { | |
| case $# in | |
| 1) LINE_NUMBER=$1; EXIT_CODE=$? ;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for f in *.qpkg; do md5sum $f > $f.md5; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://bin.entware.net/armv7sf-k3.2/archive/ar_2.38-1_armv7-3.2.ipk | |
| http://bin.entware.net/armv7sf-k3.2/archive/binutils_2.38-1_armv7-3.2.ipk | |
| http://bin.entware.net/armv7sf-k3.2/archive/libbfd_2.38-1_armv7-3.2.ipk | |
| http://bin.entware.net/armv7sf-k3.2/archive/libctf_2.38-1_armv7-3.2.ipk | |
| http://bin.entware.net/armv7sf-k3.2/archive/libopcodes_2.38-1_armv7-3.2.ipk | |
| http://bin.entware.net/armv7sf-k3.2/archive/objdump_2.38-1_armv7-3.2.ipk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for f in *.qpkg; do mkdir $(basename -- "$f" .qpkg); qbuild --extract $f $(basename -- "$f" .qpkg); done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(true)" | |
| qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Copyright (C) 2023 OneCD - one.cd.only@gmail.com | |
| # This script was written on 2023-01-29. It is intended as a proof-of-concept, rather than a hack. | |
| # Modify the QTS App Center certificate dB, and add an unsigned QPKG as-if it were signed. It adds a QNAP generated certificate and digital signature to the database for the unsigned QPKG. | |
| # Running the code below makes the target QPKG effectively "signed", and allows user to install and run this QPKG with the 'Allow installation of applications without a valid digital signature' App Center option unticked. |
NewerOlder