__________ _____ ____________________.______________ _________
\______ \/ _ \ / _____/\__ ___/| \_ _____// _____/
| ___/ /_\ \ \_____ \ | | | || __)_ \_____ \
| | / | \/ \ | | | || \/ \
|____| \____|__ /_______ / |____| |___/_______ /_______ /
\/ \/ \/ \/
This file contains 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
import json | |
import socket | |
CANARY_FILE = "opencanary.log" | |
INFORMATION_LOG = 1001 | |
BRUTE_FORCE_LOG = 6001 | |
PORT_SCAN_LOG = 5001 | |
HTTP_SCAN_LOG = 3000 |
This file contains 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
/* | |
DO NOT COPY\PASTE. Take only what you need carefully. | |
The following code is just a few **examples** of optimizations that you can do in functions.php file. | |
*/ | |
<?php | |
// disable google fonts | |
add_filter( 'elementor/frontend/print_google_fonts', '__return_false' ); |
This file contains 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 | |
# This script rotates the screen and touchscreen | |
# by Ruben Barkow-Kuder: https://gist.github.com/rubo77/daa262e0229f6e398766 | |
#### configuration | |
# find your Touchscreen device with `xinput` | |
TouchscreenDevice="$(xrandr |grep eDP|cut -d" " -f1)" | |
if [ "$1" = "--help" ] || [ "$1" = "-h" ] ; then |
This file contains 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
############ WordPress #################### | |
# Disable logging for favicon and robots.txt | |
location = /favicon.ico { | |
try_files /favicon.ico @empty; | |
access_log off; | |
log_not_found off; | |
expires max; | |
} |
This file contains 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
<?php | |
/** | |
* Plugin Name: Elementor Widget | |
* Text Domain: elementor-widget | |
* Domain Path: /languages | |
* Version: 0.1.0 | |
* | |
* @package Elementor_Widget | |
*/ |
This file contains 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
Prefix | Description | Notes | |
---|---|---|---|
ac_ | Platform Client ID | Identifier for an auth code/client id. | |
acct_ | Account ID | Identifier for an Account object. | |
aliacc_ | Alipay Account ID | Identifier for an Alipay account. | |
ba_ | Bank Account ID | Identifier for a Bank Account object. | |
btok_ | Bank Token ID | Identifier for a Bank Token object. | |
card_ | Card ID | Identifier for a Card object. | |
cbtxn_ | Customer Balance Transaction ID | Identifier for a Customer Balance Transaction object. | |
ch_ | Charge ID | Identifier for a Charge object. | |
cn_ | Credit Note ID | Identifier for a Credit Note object. |
This file contains 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 | |
if [[ $EUID -ne 0 ]]; then echo 'This script must be run as root' ; exit 1 ; fi | |
[ -z $ROOTDIR ] && PWD=$(dirname $(dirname $(readlink -f $0))) || PWD=$ROOTDIR | |
source "$PWD/setup.sh" | |
# -------------------------------------------------------------------------------------------------- | |
# Install and configure WireGuard server | |
# -------------------------------------------------------------------------------------------------- | |
LC_ALL=C.UTF-8 add-apt-repository -y ppa:wireguard/wireguard && apt -y full-upgrade | |
apt -y install linux-headers-$(uname -r) wireguard iptables resolvconf qrencode gpw |
This file contains 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
<NotepadPlus> | |
<UserLang name="RouterOS" ext="rsc" udlVersion="2.1"> | |
<Settings> | |
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> | |
<Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Comments">00# 01 02 03 04</Keywords> | |
<Keywords name="Numbers, prefix1"></Keywords> | |
<Keywords name="Numbers, prefix2"></Keywords> |
This file contains 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 | |
if [[ -z "`which jq 2>/dev/null`" ]]; | |
then | |
echo '[!!] Error: jq is required to continue' | |
fi | |
if [[ -z "`which amass 2>/dev/null`" ]]; | |
then | |
echo '[!!] Error: amass is required to continue' |