-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
135 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash -x | ||
# set newline character as the deliminator between results from the find cmd | ||
IFS=$'\n' ; | ||
|
||
# find json files to create ami's off of | ||
IFS=$'\n' ; | ||
|
||
|
||
#for i in $(ls /Volumes/backup/vm-exports); do aws s3 cp /Volumes/backup/vm-exports/$i s3://<bucket>/vulnvms/ ; done | ||
|
||
for json_full in $(find ./jsons/successful-ami-imports -name "*json" ); do | ||
json=$(echo $json_full | awk -F"/" '{print $5}'|sed 's/ //g'); | ||
echo $json " []" $json_full | ||
aws ec2 import-image --description "$json" --license-type byol --disk-containers file://$json_full >> /tmp/ami-imports.london | ||
done |
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/failed-ami-imports/import_defender_win2k16.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "defender-win2016", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/defender-win2016.ova" | ||
} | ||
} | ||
] |
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/failed-ami-imports/import_defender_win2k19.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "defender-win2019", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/defender-win2019.ova" | ||
} | ||
} | ||
] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/failed-ami-imports/import_winxp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "winxp-ova", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/winxp.ova" | ||
} | ||
} | ||
] |
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/successful-ami-imports/import_bulldog.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "bulldog", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/Bulldog2.ova" | ||
} | ||
} | ||
] |
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/successful-ami-imports/import_commando.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "commando", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/commando.ova" | ||
} | ||
} | ||
] |
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/successful-ami-imports/import_defender_win2k10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "defender-win2010", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/defender-win2010.ova" | ||
} | ||
} | ||
] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/successful-ami-imports/import_ms3_win2k12.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "metasploitable3-win2k12", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/metasploitable3-win2k12.ova" | ||
} | ||
} | ||
] |
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/successful-ami-imports/import_r7vm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "r7va", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/Rapid7VA.ova" | ||
} | ||
} | ||
] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/successful-ami-imports/import_tenable_core_nessus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "tenable-core-nessus", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/Tenable-Core-Nessus-20190308.ova" | ||
} | ||
} | ||
] |
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/successful-ami-imports/import_tenable_core_nnm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "tenable-core-nnm", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/Tenable-Core-NNM-20190308.ova" | ||
} | ||
} | ||
] |
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/successful-ami-imports/import_tenable_core_sc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "tenable-core-sc", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/Tenable-Core-SecurityCenter-20190308.ova" | ||
} | ||
} | ||
] |
10 changes: 10 additions & 0 deletions
10
tools/local_vm_to_aws/jsons/successful-ami-imports/import_tenable_core_was.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Description": "tenable-core-was", | ||
"Format": "ova", | ||
"UserBucket": { | ||
"S3Bucket": "xxxx", | ||
"S3Key": "vulnvms/Tenable-Core-WAS-20190308.ova" | ||
} | ||
} | ||
] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.