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
zip -d log4j-core-2.14.0.jar 'org/apache/logging/log4j/core/net/JndiManager.class' 'org/apache/logging/log4j/core/util/JndiCloser.class' 'org/apache/logging/log4j/core/selector/JndiContextSelector.class' 'org/apache/logging/log4j/core/net/JndiManager$1.class' 'org/apache/logging/log4j/core/lookup/JndiLookup.class' 'org/apache/logging/log4j/core/net/JndiManager$JndiManagerFactory.class' |
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
# Log the ssl version used - Helpful to capture legacy clients later | |
LogFormat "%a %t %{SSL_PROTOCOL}x %U" ssl | |
CustomLog logs/ssl_version_log ssl |
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
Connection con = getYourDbConnectionObject(); | |
/* Enable the capturing of the buffer */ | |
Statement s = con.createStatement() | |
s.executeUpdate("begin dbms_output.enable(); end;"); | |
s.close(); | |
/* Run your proc */ | |
CallableStatement cs = con.prepareCall("{call MY_STORED_PROC_HERE}") | |
cs.execute() |
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/sh | |
# UNINSTALL PACKAGES | |
curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/adobe/aem6/sample/we.retail.download-1.0.8.zip?cmd=uninstall | |
sleep 2 | |
curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/adobe/aem6/sample/we.retail.download-1.0.8.zip?cmd=delete | |
sleep 2 | |
curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/aemfd/cq-geometrixx-gov-pkg-3.0.6.zip?cmd=uninstall | |
sleep 2 |
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
// Removes videos, various top/side/bottom rails that have crap, share and comment bars etc | |
javascript:void((function(){y=document.querySelectorAll('#adBlockerContainer,.robots-nocontent,.OUTBRAIN,.ad,.video-embed,.standard-video,.inline-media,aside.article-rail,object,video,iframe,div[itemprop=video],#sharebar,#addthis,#sidebar-right,.rightSidebar,.cnnplayer,.js-livefyre-comments,.outbrain-relateds,.outbrain-recommended,.right-rail,.side,.widget-area,.sidebar,.sidebar-wrapper,.gdl-right-sidebar,.related_post,.comments-wrapper,#sidebar,#secondary.widget-area,.sticky-social-share,.social-share');for (var x=0;x<y.length;x++){y[x].remove()}}())) |