Skip to content

Commit

Permalink
remove task/ prefix from some tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
m-q-t committed Jun 22, 2021
1 parent e22d9e3 commit f1488f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/tasks/aws_s3_bruteforce_objects.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Task
class AwsS3BruteforceObjects < BaseTask
def self.metadata
{
name: 'tasks/aws_s3_bruteforce_objects',
name: 'aws_s3_bruteforce_objects',
pretty_name: 'AWS S3 Bruteforce Objects',
authors: ['maxim'],
description: 'Bruteforces the S3 Bucket using a wordlist to find any readable objects. If valid AWS Keys are provided, the task will use authenticated techniques to attempt to read the object. <br><br><b>Please note:</b> if the bucket belongs to the provided AWS Keys, the task will default to using non-authenticated techniques as false positives will occur.<br><br>Task Options:<br><ul><li>objects_list - (default value: empty) - The list of comma-separated objects to use as the wordlist. If no objects are provided, a default wordlist of 100 common files will be used.</li><li>use_authentication - (default value: false) - Use authenticated techniques to attempt to list the bucket\'s objects.</ul>',
Expand Down
4 changes: 2 additions & 2 deletions lib/tasks/aws_s3_find_listable_objects.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Task
class AwsS3BucketFindPublicObjects < BaseTask
def self.metadata
{
name: 'tasks/aws_s3_find_listable_objects',
name: 'aws_s3_find_listable_objects',
pretty_name: 'AWS S3 Find Listable Objects',
authors: ['maxim'],
description: 'Searches the AWS S3 Bucket for any listable objects. If valid AWS Keys are provided, the task will use authenticated techniques to determine if the bucket is listable by any authenticated AWS user. <br><br><b>Please note:</b> if the bucket belongs to the provided AWS Keys, the task will default to using non-authenticated techniques as false positives will occur.<br><br>Task Options:<br><ul><li>bruteforce_found_objects - (default value: true) - Bruteforce the listable objects to confirm their contents are readable.</li><li>use_authentication - (default value: false) - Use authenticated techniques to attempt to list the bucket\'s objects.</ul>',
Expand Down Expand Up @@ -45,7 +45,7 @@ def run

# if any listable objects are found; the bruteforce task is automatically started to see if objects are accessible
# the objects that are found will be used as a wordlist
start_task('task', @entity.project, nil, 'tasks/aws_s3_bruteforce_objects', @entity, 1, [{ 'name' => 'objects_list', 'value' => bucket_objects.join(',') }])
start_task('task', @entity.project, nil, 'aws_s3_bruteforce_objects', @entity, 1, [{ 'name' => 'objects_list', 'value' => bucket_objects.join(',') }])
end

# checks to see if use_authentication option has been set to true
Expand Down

0 comments on commit f1488f3

Please sign in to comment.