-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code refactor, arguments extension #21
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename the file to consts.py
\____/|_|\___/|_.__/\_| |_/\__,_|_| |_|\__\___|_| | ||
|
||
------------------------------------------------------------- | ||
Author: Daniel Niv & Nick Borshchov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will not change the logo for every person who commits, as we have many contributors.
It should be the same as the original.
subprocess.check_output("az login", shell=True, stderr=subprocess.DEVNULL) | ||
username = subprocess.check_output("az account show --query user.name", shell=True, | ||
stderr=subprocess.DEVNULL).decode("utf-8") | ||
credentials = AzureCliCredential() | ||
print("[+] Logged in as user {}".format(username.replace('"', '').replace("\n", '')), flush=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change all the strings to f-strings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need the newer packages versions?
|
||
|
||
def create_parser(): | ||
parser = argparse.ArgumentParser(description='The AWS Cloud Post Exploitation framework') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This description is not correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename the file to args.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename the file to file_ops.py
Desired Outcome
Update structure of code, add new arguments
Implemented Changes