-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
title: "Drupal" | ||
description: "Cheatsheet on Drupal library" | ||
lead: "Cheatsheet on Drupal library" | ||
date: 2023-01-01T00:00:00+00:00 | ||
lastmod: 2023-01-01T00:00:00+00:00 | ||
draft: false | ||
images: [] | ||
menu: | ||
docs: | ||
parent: "framework" | ||
weight: 620 | ||
toc: true | ||
--- | ||
|
||
## Drupal | ||
|
||
[Drupal](https://git.drupalcode.org/project/drupal) is an open source content management platform supporting a variety of websites ranging from personal weblogs to large community-driven websites. | ||
|
||
### Discovery | ||
|
||
**Content:** | ||
|
||
- **Users** are located under `/user/<user-id>`. | ||
- **Nodes** are located under `/node/<node-id>`. | ||
- **Plugins** are located under `/modules/<module-name>/`. | ||
- **Themes** are located under `/themes/<theme-name>/`. | ||
|
||
[drupal_modules_path.txt](https://github.com/xanhacks/web-wordlists/blob/master/wordlists/drupal_modules_path.txt): List of all Drupal modules from www.drupal.org, sort by *Most installed*. | ||
|
||
**Authentication:** | ||
|
||
- `/user/register` | ||
- `/user/login` or `/user` | ||
- `/user/password` | ||
|
||
**Version:** | ||
|
||
- `/CHANGELOG.txt` | ||
- `/INSTALL.txt` | ||
- `/UPGRADE.txt` | ||
|
||
```html | ||
<meta name="generator" content="Drupal 7 (https://www.drupal.org)" /> | ||
``` | ||
|
||
### Admin account into RCE | ||
|
||
- [Services module unserialize to rce](https://github.com/p0dalirius/Awesome-RCE-techniques/blob/master/Content-Management-Systems-(CMS)/Drupal/techniques/Services-module-unserialize-to-rce/README.md) | ||
- [Upload a plugin](https://github.com/p0dalirius/Awesome-RCE-techniques/blob/master/Content-Management-Systems-(CMS)/Drupal/techniques/Upload-a-plugin/README.md) | ||
- [Upload a Theme](https://github.com/p0dalirius/Awesome-RCE-techniques/blob/master/Content-Management-Systems-(CMS)/Drupal/techniques/Upload-a-theme/README.md) | ||
|
||
### Others | ||
|
||
- Drupal often use `$_REQUEST` instead of `$_GET` or `$_POST`, so you can switch a POST request to a GET request and vice versa. |