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
| /** | |
| Disable XMLRPC API in Wordpress | |
| This line of code does effectively the same thing as | |
| this plugin: https://wordpress.org/plugins/disable-xml-rpc/ | |
| NOTE: If you are using JetPack plugin, this will not work. | |
| Add these lines to the functions.php 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
| #!/bin/bash | |
| # CVE-2018-1111 | |
| # This script will setup your host as a DHCP provider and attempt to exploit any | |
| # vulnerable connecting RHEL hosts. | |
| # REQUIREMENTS: | |
| # dnsmasq | |
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
| <?xml version="1.0"?> | |
| <methodCall> | |
| <methodName>system.multicall</methodName> | |
| <params> | |
| <param> | |
| <value> | |
| <array> | |
| <data> | |
| <value> | |
| <struct><member><name>methodName</name><value><string>wp.getAuthors</string></value></member><member><name>params</name><value><array><data><value><string>1</string></value><value><string>zach</string></value><value><string>a</string></value></data></array></value></member></struct> |
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
| # Ban domain with hosts entry. usage: hostban target_domain | |
| hostban() { | |
| ( "$#" -ne 1 ) && (echo "ERROR: Missing host to ban!"; echo "usage: hostban target_domain"; exit 1) | |
| [ "$(whoami)" != "root" ] && (return $(sudo ban_host "$1")) | |
| echo "0.0.0.0 $1" >> /etc/hosts | |
| } |
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 | |
| # | |
| # Proxmark3 automated installer - for those of us | |
| # that love to tinker. | |
| # | |
| # Requires: Homebrew | |
| # Update homebrew | |
| brew update |
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
| <?xml version='1.0' encoding='utf-8'?> | |
| <?grc format='1' created='3.7.10'?> | |
| <flow_graph> | |
| <timestamp>Wed Aug 13 10:59:26 2018</timestamp> | |
| <block> | |
| <key>options</key> | |
| <param> | |
| <key>author</key> | |
| <value></value> | |
| </param> |
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 belongs in /Applications/Slack.app/Resources/app.asar.unpacked/src/static/ssb-interop.js | |
| /** | |
| * The preload script needs to stay in regular ole JavaScript, because it is | |
| * the point of entry for electron-compile. | |
| */ | |
| if (window.location.href !== 'about:blank') { | |
| const preloadStartTime = process.hrtime(); | |
| const { ipcRenderer, remote } = require('electron'); |
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 | |
| # AWSCLI | Python3 (aws cli command pipe to python3) | |
| # | |
| # This magic one-liner will build a beautiful table view of your AWS ec2 assets. | |
| # Requires Python3 & Tabulate | |
| BOLD="$(tput bold)" | |
| ULINE="$(tput sgr 0 1)" | |
| END="$(tput sgr0)" |
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
| * | |
| *.gif | |
| *.gif/ | |
| *.html | |
| *.jsp | |
| *.jsp/ | |
| *.jws | |
| *.portal | |
| *.portion | |
| *.portlet |