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
update [0.05s] public/ee/user/application_security/dast/checks/798.60.html | |
update [0.05s] public/ee/user/application_security/dast/checks/798.93.html | |
update [0.07s] public/ee/user/application_security/dast/checks/798.83.html | |
update [0.06s] public/ee/user/application_security/dast/checks/798.70.html | |
update [0.05s] public/ee/user/application_security/dast/checks/798.1.html | |
update [0.06s] public/ee/user/application_security/dast/checks/798.15.html | |
update [0.06s] public/ee/user/application_security/dast/checks/798.21.html | |
update [0.07s] public/ee/user/application_security/dast/checks/798.44.html | |
update [0.07s] public/ee/user/application_security/dast/checks/16.8.html | |
update [0.05s] public/ee/user/application_security/dast/checks/798.113.html |
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 | |
# This script checks all paid sites in a Pantheon org for security updates. | |
# | |
# Usage: | |
# ./pan-wp-sec-check.sh your-org-id | |
set -eou pipefail | |
PANTHEON_ORG_UUID=${1} |
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 | |
# USAGE | |
# This script checks all sites in a Pantheon org for a given WordPress plugin. | |
# This may be useful in the event of an urgent security release. | |
# To run this, copy the file to your local machine and run the following commands: | |
# chmod +x checkOrgSitesForPlugin.sh | |
# ./checkOrgSitesForPlugin.sh plugin-slug |
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
# Install postgres with Homebrew: | |
brew update | |
brew install postgres | |
brew services start postgresql | |
/usr/local/opt/postgres/bin/createuser -s postgres | |
# Import the demo database and import it | |
# Download database: https://www.postgresqltutorial.com/postgresql-sample-database/ |
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
┌⚡️ sarahgerman in 📁 ~ | |
└❯ psql | |
psql (12.2) | |
Type "help" for help. | |
sarahgerman=# \l | |
List of databases | |
Name | Owner | Encoding | Collate | Ctype | Access privileges | |
-------------+-------------+----------+---------+-------+----------------------------- | |
dvdrental | sarahgerman | UTF8 | C | C | |
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
MariaDB [pantheon]> SELECT host FROM mysql.user; | |
+-----------+ | |
| host | | |
+-----------+ | |
| % | | |
| 127.0.0.1 | | |
| ::1 | | |
| localhost | | |
+-----------+ | |
4 rows in set (0.036 sec) |
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
# https://www.tag1consulting.com/blog/drupal-loadtest-locust | |
from locust import HttpLocust, TaskSet, task, events | |
from bs4 import BeautifulSoup | |
import random | |
def is_static_file(f): | |
if "/sites/default/files" in f: | |
return True | |
else: | |
return False |
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
# https://www.tag1consulting.com/blog/drupal-loadtest-locust | |
from locust import HttpLocust, TaskSet, task, events | |
from bs4 import BeautifulSoup | |
import random | |
def is_static_file(f): | |
if "/sites/default/files" in f: | |
return True | |
else: | |
return False |
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
package main | |
import ( | |
"fmt" | |
"strconv" | |
"os" | |
) | |
func main() { |
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
curl -Is --resolve www.example.com:443:23.185.0.3 https://www.example.com/ |
NewerOlder