Skip to content

Commit 449be62

Browse files
authored
Merge pull request #230 from searabbitx/master
arte-sp00ky
2 parents 63c7477 + 9ae10ba commit 449be62

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

src/pentesting-cloud/aws-security/aws-services/aws-relational-database-rds-enum.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ aws rds describe-db-cluster-backtracks --db-cluster-identifier <cluster-name>
8181

8282
## Cluster snapshots
8383
aws rds describe-db-cluster-snapshots
84+
aws rds describe-db-cluster-snapshots --include-public --snapshot-type public
85+
86+
## Restore cluster snapshot as new instance
87+
aws rds restore-db-instance-from-db-snapshot --db-cluster-identifier <ID> --snapshot-identifier <ID>
8488

8589
# Get DB instances info
8690
aws rds describe-db-instances #username, url, port, vpc, SG, is public?
@@ -92,6 +96,7 @@ aws rds describe-db-instance-automated-backups
9296
## Find snapshots
9397
aws rds describe-db-snapshots
9498
aws rds describe-db-snapshots --include-public --snapshot-type public
99+
95100
## Restore snapshot as new instance
96101
aws rds restore-db-instance-from-db-snapshot --db-instance-identifier <ID> --db-snapshot-identifier <ID> --availability-zone us-west-2a
97102

src/pentesting-cloud/aws-security/aws-unauthenticated-enum-access/aws-rds-unauthenticated-enum/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,21 @@ aws rds describe-db-snapshots --snapshot-type public [--region us-west-2]
3434
## snapshots from other accounts used by the current account
3535
```
3636

37+
## Public RDS Cluster Snapshots
38+
39+
Similarly, you can look for cluster snapshots
40+
41+
```bash
42+
# Public RDS cluster snapshots
43+
aws rds describe-db-cluster-snapshots --include-public
44+
45+
## Search by account ID
46+
aws rds describe-db-cluster-snapshots --include-public --query 'DBClusterSnapshots[?contains(DBClusterSnapshotIdentifier, `284546856933:`) == `true`]'
47+
48+
# From the own account you can check if there is any public cluster snapshot with:
49+
aws rds describe-db-cluster-snapshots --snapshot-type public [--region us-west-2]
50+
```
51+
3752
### Public URL template
3853

3954
```

0 commit comments

Comments
 (0)