Skip to content

marsafy1/yyy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yyy - AWS Instance Management and Shares Information Gathering

Overview

This Python project automates the creation and configuration of AWS instances, specifically focusing on Windows servers. It facilitates the setup of security group IDs, retrieves decrypted instance passwords, and gathers information using SMB commands.

Key Features

  • Instance Creation and Configuration: Automate the deployment of AWS instances with custom configurations.
  • Security Group Management: Dynamically set up and modify AWS security group IDs.
  • Password Retrieval: Automatically retrieve and decrypt Windows server instance passwords.
  • SMB Integration: Use SMB commands in Python to collect information from the configured Windows server.

Main Libraries Used

  • boto3: Used for interacting with the Amazon Web Services (AWS) API.
  • subprocess: Utilized for executing SMB commands within Python.
  • pycrypto: Employed for decryption of AWS instance passwords.

Getting Started

1. Libraries

To get started with this project, ensure you have Python installed along with the required libraries:

pip install -r requirements.txt

2. Configure .env

configure the .env file with your data

3. AWS Configurations

Make sure to allow for inbound and outbound traffic on port 445. To be able to gather information about the shares and so on.

Examples

Running engine without having any existing instances

You do not have any instances, will create a new one
EC2 Instance with ID i-yyy has been created.
Created i-yyy
Please wait for 4 minutes before accessing the instance

Running engine and having existing instances

You will be asked to either choose one of the existing instances or create a new one

You have 1 instance(s) running
Choose one (1 - 1) or create a new instance(N): 1
User chose 1
Will start working on i-yyy
Instance's IP 3.29.18.22
Shares on 3.29.18.22
[yyy, yyy, yyy]

Todo

  1. Ability to modify shares by creating, deleting and updating files/dirs.
  2. Ability to update/change security groups while the instance is already up and running

About

automates the creation and configuration of AWS instances, specifically focusing on Windows servers. It facilitates the setup of security group IDs, retrieves decrypted instance passwords, and gathers information using SMB commands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages