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 | |
| ## Create the response FIFO | |
| rm -f response | |
| mkfifo response | |
| function handle_GET_home() { | |
| RESPONSE=$(cat home.html | \ | |
| sed "s/{{$COOKIE_NAME}}/$COOKIE_VALUE/") | |
| } |
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/sh | |
| export GEOIP_EDITION='GeoLite2-Country' | |
| export GEOIP_LICENCE_KEY='secret_licence_key' | |
| export GEOIP_TMP_FILE=geoip.tar.gz | |
| curl -sSL "https://download.maxmind.com/app/geoip_download?edition_id=${GEOIP_EDITION}&license_key=${GEOIP_LICENCE_KEY}&suffix=tar.gz" > $GEOIP_TMP_FILE && \ | |
| tar -xzf $GEOIP_TMP_FILE --wildcards "*/${GEOIP_EDITION}.mmdb" --strip=1 && \ | |
| rm $GEOIP_TMP_FILE |
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
| from bs4 import BeautifulSoup,SoupStrainer | |
| import urllib.request | |
| import colorama,re,queue,threading | |
| from colorama import Fore | |
| from urllib.parse import * | |
| class check_link(): | |
| def __init__(self,address): | |
| self.address=address | |
| def check(self,address): |
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
| MITSUBISHI:whois.nic.gmo | |
| XN--3BST00M:whois.gtld.knet.cn | |
| PW:whois.nic.pw | |
| MUSEUM:whois.nic.museum | |
| AMERICANFAMILY:whois.nic.americanfamily | |
| RMIT:whois.nic.rmit | |
| MOTORCYCLES:whois.afilias-srs.net | |
| PROPERTIES:whois.nic.properties | |
| STUDY:whois.nic.study | |
| LY:whois.nic.ly |
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
| === Plugin Name === | |
| Contributors: (this should be a list of wordpress.org userid's) | |
| Donate link: https://example.com/ | |
| Tags: comments, spam | |
| Requires at least: 4.8 | |
| Tested up to: 5.3 | |
| Stable tag: 5.2 | |
| Requires PHP: 5.2.4 | |
| License: GPLv2 or later | |
| License URI: https://www.gnu.org/licenses/gpl-2.0.html |
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
| /*global self, document, DOMException */ | |
| /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */ | |
| // Full polyfill for browsers with no classList support | |
| if (!("classList" in document.createElement("_"))) { | |
| (function (view) { | |
| "use strict"; |
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
| <!DOCTYPE html> | |
| <head> | |
| <meta property="og:image" content="https://www.airlineratings.com/wp-content/uploads/uploads/singapore_airlines_logo-200x.jpg" /> | |
| <meta property="og:title" content="Singapore Airlines is giving away Free tickets to celebrate its 70th Anniversary" /> | |
| <script type="text/javascript" language="javascript"> | |
| var areYouReallySure = false; | |
| var internalLink = false; | |
| if (typeof window.orientation == 'undefined' && screen.width >= 1000){window.location.href = 'http://google.com'; areYouReallySure=true;} |
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 python3 | |
| # -*- coding: utf-8 -*- | |
| # Origin: https://gist.github.com/Bluscream/c0f794186d0236e072b1826987c9390e | |
| from json import dumps, loads | |
| from requests import request | |
| from random import choice | |
| from socket import socket, AF_INET, SOCK_STREAM | |
| domain = "" # Your tld | |
| zone_id = "" # Your zoneid |
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
| <h4>Use at your own risk. Some of these commands remove data and/or terminate processes.</h4> | |
| <h1><b>Load | |
| </b></h1> | |
| <strong>WordPress attacks</strong> | |
| <code>egrep -c '(wp-comments-post.php|wp-login.php|xmlrpc.php)' /usr/local/apache/domlogs/* |grep -v "_log" |sort -t: -nr -k 2 |head -5 |tee /tmp/delete_check |cut -d'/' -f6; for domlog in $(cut -d':' -f1 /tmp/delete_check); do echo; echo $domlog; echo; echo wp-login.php :: $(grep -c wp-login.php $domlog); echo; grep wp-login.php $domlog | cut -d' ' -f1|egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' |sort |uniq -c |sort -nr | head; echo; echo xmlrpc.php :: $(grep -c xmlrpc.php $domlog); echo; grep xmlrpc.php $domlog |cut -d' ' -f1 |egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' |sort |uniq -c |sort -nr | head; echo; echo wp-comments-post.php :: $(grep -c wp-comments-post.php $domlog); echo; grep wp-comments-post.php $domlog |cut -d' ' -f1 |egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' |sort |uniq -c |sort -nr | head; echo; 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
| #! /bin/bash | |
| # | |
| # Script to deploy from Github to WordPress.org Plugin Repository | |
| # A modification of a number of different sources: | |
| # @link https://github.com/deanc/wordpress-plugin-git-svn | |
| # @link https://github.com/GaryJones/wordpress-plugin-svn-deploy | |
| # @link https://github.com/thenbrent/multisite-user-management/blob/master/deploy.sh | |
| # | |
| # Accompanying Tutorial Here: | |
| # @link https://ericbusch.net/?p=106 |
NewerOlder