Recon tool
Project description
kicks3
S3 bucket finder from html,js and bucket misconfiguration testing tool.
Currently this tool check five testcases
-
Object listing for Unauthenticated users
-
Object listing for Authenticated users
-
Public writable for all aws users
-
Bucket Acl public read
-
Put Bucket Policy
pip install awscli
aws configure
get your aws keys from aws console
Installation
pip install kick-s3
OR
git clone https://github.com/abuvanth/kicks3.git
cd kicks3
python setup.py install
Usage
single target
kicks3.py -u http://target
this will looking for s3 buckets in html and javascript files.
Single Bucket
kicks3.py -b bucketname
test single bucket name
Bucket list
kicks3.py -bl bucketnamelist.txt
list of websites
kicks3.py -u http://target -l sitelist.txt
authenticated page
kicks3.py -u http://target -c 'cookievalues'
subdomains
kicks3.py -u target.com -s 1
Use kicks3 as a module
import kicks3
bucketurllist=kicks3.finds3('target.com')
bucketlist=kicks3.get_bucket_name(bucketurllist)
scan_result=kicks3.scan_s3(bucketlist)
for result in scan_result:
print(result)#bucketname(testname),listable_for_unauth_users(true or false),listable_auth_users(true or false),writable(true or false)
buckets from text file
import kicks3
blist=open('s3.buckets.txt','r').readlines()
result=kicks3.scan_s3(blist)
Scan for subdomains
bucketurllist=kicks3.finds3(['target.com'],sub=1,cookies='valueofyoursitescookie') #cookies for authenticated pages,
bucketlist=kicks3.get_bucket_name(bucketurllist)
scan_result=kicks3.scan_s3(bucketlist)
for result in scan_result:
print(result)#bucketname(testname),listable_for_unauth_users(true or false),listable_auth_users(true or false),writable(true or false)
results are stored in s3out.txt file.
Note: sub and cookies are optional parameters of finds3 function
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file kick-s3-2.1.1.tar.gz
.
File metadata
- Download URL: kick-s3-2.1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.19.5 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d5ea5aabf8b646dd6a3f612319b2bc16ca6785c4bf53e779d3da19f8bf69eea |
|
MD5 | c59c780d8d6f06aa10d85e58685df4c3 |
|
BLAKE2b-256 | c30918e14967a7d11262a4c311fb820a1082f28f90cfacabefaf6a7958d76e5c |