Skip to content

mohtork/sleuth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sleuth

AWS Tools

Installation

  1. git clone https://github.com/mohtork/sleuth.git
  2. pip install -r requirements.txt

S3

Get reports about S3 buckets to easily identify

  1. Infected files (download and scan bucket files with clamAV)
  2. Which buckets have public access
  3. Buckets size in MB
  4. Number of files in each bucket
  5. Check & fix public policy
  6. Download bucket files to your machine

Requirements

Commands

  • List Buckets
python sleuth.py s3 list-buckets
  • List Buckets permissions
python sleuth.py s3  list-permissions
  • List Buckets Size
python sleuth.py s3 bucket-size
  • List number of files for your buckets
python sleuth.py s3 count-files
  • Fix Public ACL permissions
python sleuth.py s3 fix-acl-permissions
  • Download bucket files to you machine or a server
python sleuth.py s3 download bucket_name download_dir_path<br/>

example: python sleuth.py s3 download linuxdirection /backup
linuxdirection: bucketname
/backup: the directory path on your machine

  • Scan Bucket files
python sleuth.py s3 scan bucket_name download_dir_path<br/>

example: python sleuth.py s3 scan linuxdirection /tmp

About

S3 Tool to scan s3 files , check and fix public permissions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages