barq
barq copied to clipboard
Export/Import ec2 Instances, Handle Exception, and Update Dependencies
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:
-
Export ec2 instance details to a csv file:
-
-
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:
-
- Mainly to avoid re-running
-
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: -
-
Updated everything in
requirements.txt
except clint.
I would like to apologies for the following:
- I did not implement support or test the code on Python 2.
- I did not run a test against an ec2 instance running Windows.