Skip to content

Commit

Permalink
Add flag in ttyurl param.
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerinthenight committed Nov 17, 2017
1 parent 9e80074 commit a76f28b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mobingi/sesha3/sesha3.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ func (s *sesha3) GetSessionUrl(in *GetSessionUrlInput) (*client.Response, []byte
type payload_t struct {
Pem string `json:"pem"`
StackId string `json:"stackid"`
Flag string `json:"flag"`
Ip string `json:"ip"`
User string `json:"user"`
Timeout string `json:"timeout"`
Expand All @@ -320,6 +321,7 @@ func (s *sesha3) GetSessionUrl(in *GetSessionUrlInput) (*client.Response, []byte
payload := payload_t{
Pem: pemurl,
StackId: in.StackId,
Flag: in.Flag,
Ip: in.IpAddr,
User: in.InstUser,
Timeout: fmt.Sprintf("%v", in.Timeout),
Expand Down

0 comments on commit a76f28b

Please sign in to comment.