Skip to content

Export/Import ec2 Instances, Handle Exception, and Update Dependencies#4

Open
Humoud wants to merge 4 commits into
Voulnet:masterfrom
Humoud:master
Open

Export/Import ec2 Instances, Handle Exception, and Update Dependencies#4
Humoud wants to merge 4 commits into
Voulnet:masterfrom
Humoud:master

Conversation

@Humoud
Copy link
Copy Markdown

@Humoud Humoud commented Mar 18, 2022

Thanks for releasing this tool.

Below is a list of changes made, note that in the screenshots, I redacted some IPs, domains, and IDs. This is why they might look a bit weird.

Implemented the following:

  1. Export ec2 instance details to a csv file:

    • image
  2. Import ec2 instance details from csv file:

    • Mainly to avoid re-running attacksurface for certain cases
    • Launched an attack after importing a csv file and it was successful, this made testing easier:
    • image
  3. Handling InvalidInstanceId exception which is thrown when attempting to run a command on a target instance which does not have AWS Systems Manager configured. Also displaying a descriptive message when the exception is caught:

    • image
  4. Updated everything in requirements.txt except clint.

I would like to apologies for the following:

  1. I did not implement support or test the code on Python 2.
  2. I did not run a test against an ec2 instance running Windows.

@mutairibassam mutairibassam mentioned this pull request Nov 19, 2022
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant