|
@ -3,17 +3,18 @@ package main |
|
|
import ( |
|
|
import ( |
|
|
"encoding/hex" |
|
|
"encoding/hex" |
|
|
"fmt" |
|
|
"fmt" |
|
|
"github.com/Sirupsen/logrus" |
|
|
|
|
|
"github.com/aws/aws-sdk-go/aws/credentials" |
|
|
|
|
|
"github.com/aws/aws-sdk-go/aws/credentials/stscreds" |
|
|
|
|
|
"github.com/aws/aws-sdk-go/aws/session" |
|
|
|
|
|
"github.com/aws/aws-sdk-go/service/sts" |
|
|
|
|
|
"io/ioutil" |
|
|
"io/ioutil" |
|
|
"math/rand" |
|
|
"math/rand" |
|
|
"os" |
|
|
"os" |
|
|
"os/exec" |
|
|
"os/exec" |
|
|
"strings" |
|
|
"strings" |
|
|
"time" |
|
|
"time" |
|
|
|
|
|
|
|
|
|
|
|
"github.com/Sirupsen/logrus" |
|
|
|
|
|
"github.com/aws/aws-sdk-go/aws/credentials" |
|
|
|
|
|
"github.com/aws/aws-sdk-go/aws/credentials/stscreds" |
|
|
|
|
|
"github.com/aws/aws-sdk-go/aws/session" |
|
|
|
|
|
"github.com/aws/aws-sdk-go/service/sts" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
type ( |
|
|
type ( |
|
|