Credmaster: Difference between revisions

From RCATs
No edit summary
No edit summary
Line 73: Line 73:
<syntaxhighlight lang="powershell">
<syntaxhighlight lang="powershell">
Congrats! Your AWS is ready to go!
Congrats! Your AWS is ready to go!
</syntaxhighlight>'''Before leaving AWS let's grab our region, as we will need this below.'''
[[File:Consolehome.png|center|frameless|600x600px]]
<syntaxhighlight lang="powershell">
On the console home page, the region for your account should be visible.
</syntaxhighlight>
</syntaxhighlight>
[[File:Ec2dashboard.png|center|frameless|600x600px]]


== FireProx ==
== FireProx ==
=== Prerequisites: ===
<syntaxhighlight lang="powershell">
1. Have an AWS account with Secret Key and Access Key. (Follow Instructions Above)
2. Your AWS region. (Also located above)
3. Have Docker installed.
</syntaxhighlight>
=== Install ===
<syntaxhighlight lang="bash">
$ git clone https://github.com/ustayready/fireprox
$ cd fireprox
$ docker build -t fireprox .
</syntaxhighlight>
=== Configure ===
<syntaxhighlight lang="bash">
$ docker run --rm -it fireprox --access_key <YOUR_ACCESS_KEY> --secret_access_key <YOUR_SECRET_KEY> --region <YOUR_REGION> --command create --url https://www.whatsmyip.org
</syntaxhighlight>
For the URL. You can use anything you want to. For credmaster I prefer to run ```login.microsoftonline.com```. Either one will work just fine. If you use the one below ```www.whatsmyip.org``` you can verify that it is working. When the command completes it will print out a url that you can navigate to. Everytime you refresh, you can see the IP change to verify that everything is working properly.
[[File:Fireprox1.png|center|frameless|900x900px]]
[[File:Fprox2.png|center|frameless|900x900px]]
When you visit the site that is generated, you will notice that the IP changes every time you refresh the page.


== CredMaster ==
== CredMaster ==

Revision as of 13:41, 15 December 2023


Creating an AWS account

Sign into or setup an AWS console account.

https://aws.amazon.com/
Awsconsole.png
If you do not have an account go ahead and create one here. You will need to place a credit card on file. (There is no charge)
Login.png
You can either search for IAM or click on the IAM link below.
Iam.png
On the IAM dashboard click on Users.
Users.png
In the Users dashboard click on "New User".
User.png
On the New User dashboard, give your new user name and click next.
Name.png
Next:

1. Select "Attach Policies Directly"
2. Search for "API"
3. Select "AmazonAPIGatewayAdministrator"
4. Click "Next" at the bottom of the page.
Admin.png
Make sure everything looks good and click next.
Create.png
On the next screen, we see that our user has been created successfully! Click on "View User".
View.png
In the User Profile click on Security Credentials.
Creds.png
Scroll down to Access Keys and click "Create access key"
Createkey.png
Select "Other" then click next.
Other.png
Click on "Create access key". As it states the Description Tag Value is optional, so you can leave it blank.
Optional.png
******************************************* PAY ATTENTION TO THIS! **********************************************
On the screen below. Make sure you note down your "Access Key" and "Secret Access Key" BEFORE clicking done. You can also download the information with the "Download.csv file" Button at the bottom. As the banner says you will NOT be able to retrieve these after closing this window.
Important.png
If all goes correctly, you should see this on the user's dashboard now under "Access Keys"
Awsfinished.png
Congrats! Your AWS is ready to go!

Before leaving AWS let's grab our region, as we will need this below.

Consolehome.png
On the console home page, the region for your account should be visible.
Ec2dashboard.png

FireProx

Prerequisites:

1. Have an AWS account with Secret Key and Access Key. (Follow Instructions Above)
2. Your AWS region. (Also located above)
3. Have Docker installed.

Install

$ git clone https://github.com/ustayready/fireprox
$ cd fireprox
$ docker build -t fireprox .

Configure

$ docker run --rm -it fireprox --access_key <YOUR_ACCESS_KEY> --secret_access_key <YOUR_SECRET_KEY> --region <YOUR_REGION> --command create --url https://www.whatsmyip.org
For the URL. You can use anything you want to. For credmaster I prefer to run ```login.microsoftonline.com```. Either one will work just fine. If you use the one below ```www.whatsmyip.org``` you can verify that it is working. When the command completes it will print out a url that you can navigate to. Everytime you refresh, you can see the IP change to verify that everything is working properly.
Fireprox1.png
Fprox2.png

When you visit the site that is generated, you will notice that the IP changes every time you refresh the page.

CredMaster

Usage

Plugins