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
rule gen_ModernExcel4Macro | |
{ | |
meta: | |
description = "Detects Modern Excel4 macro use" | |
author = "John Lambert @JohnLaTwC" | |
date = "2020-04-15" | |
hash1 = "308c0fee671459705221c5f1a8cee944f5ea803fddd0faa620cc8266d48c662b" | |
hash2 = "618fee2c2f89a4f15b680e1ca9393d25c857e6d107fa0eb45b1a21c7601f975e" | |
reference1 = "https://twitter.com/DissectMalware/status/1250411834953420808" | |
strings: |
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 -e | |
clear | |
echo "============================================" | |
echo "WordPress Install Script" | |
echo "============================================" | |
# Gathering database login credentials from user input | |
read -p "Database Host: " dbhost | |
read -p "Database Name: " dbname | |
read -p "Database User: " dbuser |
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
## A spamassassin plugin for calling clamav | |
# Version 2.0 was downloaded from https://wiki.apache.org/spamassassin/ClamAVPlugin | |
# | |
# # version 2.0, 2010-01-07 | |
# - use SA public interface set_tag() and add_header, instead of | |
# pushing a header field directly into $conf->{headers_spam} | |
# | |
# # version 2.1, 2017-09-09 (pmeulen): | |
# - Allow ClamAV::Client, which is provided by debian package libclamav-client-perl, to be used | |
# in addition to File::Scan::ClamAV |
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
# wp-secure.conf | |
# | |
# | |
# This file includes common security considerations for wordpress using nginx. | |
# | |
# The goal is to block actions which are usually dangerous to wordpress. | |
# Additionally, we block direct access to PHP files and folders which should not | |
# be accessed directly from a browser. | |
# | |
# Also have included exceptions for plugins that are known to require this access. |
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 | |
/* | |
* Script: DataTables server-side script for PHP and MySQL | |
* Copyright: Nov, 2016 - Allan Jes | |
* Copyright: 2016 - Steven Lavoie | |
* Copyright: 2012 - John Becker, Beckersoft, Inc. | |
* Copyright: 2010 - Allan Jardine | |
* License: GPL v2 or BSD (3-point) | |
* URL: https://gist.github.com/ajoluvya/ | |
*/ |
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 | |
/* | |
* Script: DataTables server-side script for PHP and MySQL | |
* Copyright: 2016 - Steven Lavoie | |
* Copyright: 2012 - John Becker, Beckersoft, Inc. | |
* Copyright: 2010 - Allan Jardine | |
* License: GPL v2 or BSD (3-point) | |
*/ | |
namespace Common\Utilities; |
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
Query | http | |||
---|---|---|---|---|
http.component | port | |||
jQuery | 1250676 | 80 | 56553138 | |
Zepto | 483672 | 7547 | 50655465 | |
PHP | 266668 | 443 | 26476433 | |
Twitter Bootstrap | 255045 | 4567 | 11633390 | |
Google Font API | 211921 | 8080 | 8631875 | |
WordPress | 139645 | 1900 | 4540344 | |
Font Awesome | 133483 | 49152 | 3028740 |
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 | |
MYSQL_HOSTNAME="42.42.42.42" | |
MYSQL_DATABASE="pdns" | |
MYSQL_USERNAME="pdns" | |
MYSQL_PASSWORD="pdns" | |
CERT_FILE_USER="root" | |
CERT_FILE_GROUP="root" |
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
# === Optimized my.cnf configuration for MySQL/MariaDB (on cPanel/WHM servers) === | |
# | |
# by Fotis Evangelou, developer of Engintron (engintron.com) | |
# | |
# ~ Updated September 2024 ~ | |
# | |
# | |
# The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores. | |
# If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
# |
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 -e | |
clear | |
echo "============================================" | |
echo "WordPress Install Script" | |
echo "============================================" | |
echo "Do you need to setup new MySQL database? (y/n)" | |
read -e setupmysql | |
if [ "$setupmysql" == y ] ; then | |
echo "MySQL Admin User: " | |
read -e mysqluser |
NewerOlder