~tribaal/txaws/xss-hardening

« back to all changes in this revision

Viewing changes to txaws/testing/payload.py

Merged 921421-completemultipart [r=oubiwann][f=921421]

This branch adds Complete Multipart method to s3 client.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    <item>
10
10
      <reservationId>r-cf24b1a6</reservationId>
11
11
      <ownerId>123456789012</ownerId>
12
 
      <groupSet/>
 
12
      <groupSet>
 
13
        <item>
 
14
          <groupId>default</groupId>
 
15
        </item>
 
16
      </groupSet>
13
17
      <instancesSet>
14
18
        <item>
15
19
          <instanceId>i-abcdef01</instanceId>
18
22
            <code>16</code>
19
23
            <name>running</name>
20
24
          </instanceState>
21
 
          <groupSet>
22
 
            <item>
23
 
              <groupId>sg-64f9eb08</groupId>
24
 
              <groupName>default</groupName>
25
 
            </item>
26
 
          </groupSet>
27
25
          <privateDnsName>domU-12-31-39-03-15-11.compute-1.internal\
28
26
</privateDnsName>
29
27
          <dnsName>ec2-75-101-245-65.compute-1.amazonaws.com</dnsName>
50
48
    <item>
51
49
      <reservationId>r-cf24b1a6</reservationId>
52
50
      <ownerId>123456789012</ownerId>
53
 
      <groupSet/>
 
51
      <groupSet>
 
52
        <item>
 
53
          <groupId>default</groupId>
 
54
        </item>
 
55
      </groupSet>
54
56
      <instancesSet>
55
57
        <item>
56
58
          <instanceId>i-abcdef01</instanceId>
65
67
          <privateIpAddress>10.0.0.1</privateIpAddress>
66
68
          <ipAddress>75.101.245.65</ipAddress>
67
69
          <reason/>
68
 
          <groupSet>
69
 
            <item>
70
 
              <groupId>sg-64f9eb08</groupId>
71
 
              <groupName>default</groupName>
72
 
            </item>
73
 
          </groupSet>
74
70
          <keyName>keyname</keyName>
75
71
          <amiLaunchIndex>0</amiLaunchIndex>
76
72
          <productCodes>
96
92
<RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/%s/">
97
93
  <reservationId>r-47a5402e</reservationId>
98
94
  <ownerId>495219933132</ownerId>
99
 
  <groupSet/>
 
95
  <groupSet>
 
96
    <item>
 
97
      <groupId>default</groupId>
 
98
    </item>
 
99
  </groupSet>
100
100
  <instancesSet>
101
101
    <item>
102
102
      <instanceId>i-2ba64342</instanceId>
103
103
      <imageId>ami-60a54009</imageId>
104
104
      <instanceState>
105
105
        <code>0</code>
106
 
        <name>pending</name>
 
106
    <name>pending</name>
107
107
      </instanceState>
108
108
      <privateDnsName></privateDnsName>
109
109
      <dnsName></dnsName>
111
111
       <amiLaunchIndex>0</amiLaunchIndex>
112
112
      <instanceType>m1.small</instanceType>
113
113
      <launchTime>2007-08-07T11:51:50.000Z</launchTime>
114
 
      <groupSet>
115
 
        <item>
116
 
          <groupId>sg-64f9eb08</groupId>
117
 
          <groupName>default</groupName>
118
 
        </item>
119
 
      </groupSet>
120
114
      <placement>
121
115
        <availabilityZone>us-east-1b</availabilityZone>
122
116
      </placement>
126
120
      <imageId>ami-60a54009</imageId>
127
121
      <instanceState>
128
122
        <code>0</code>
129
 
        <name>pending</name>
 
123
    <name>pending</name>
130
124
      </instanceState>
131
125
      <privateDnsName></privateDnsName>
132
126
      <dnsName></dnsName>
134
128
      <amiLaunchIndex>1</amiLaunchIndex>
135
129
      <instanceType>m1.small</instanceType>
136
130
      <launchTime>2007-08-07T11:51:50.000Z</launchTime>
137
 
      <groupSet>
138
 
        <item>
139
 
          <groupId>sg-64f9eb08</groupId>
140
 
          <groupName>default</groupName>
141
 
        </item>
142
 
      </groupSet>
143
131
      <placement>
144
132
        <availabilityZone>us-east-1b</availabilityZone>
145
133
      </placement>
157
145
      <amiLaunchIndex>2</amiLaunchIndex>
158
146
      <instanceType>m1.small</instanceType>
159
147
      <launchTime>2007-08-07T11:51:50.000Z</launchTime>
160
 
      <groupSet>
161
 
        <item>
162
 
          <groupId>sg-64f9eb08</groupId>
163
 
          <groupName>default</groupName>
164
 
        </item>
165
 
      </groupSet>
166
148
      <placement>
167
149
        <availabilityZone>us-east-1b</availabilityZone>
168
150
      </placement>
231
213
         <fromPort/>
232
214
        </item>
233
215
      </ipPermissions>
234
 
      <groupId>sg-a1a1a1</groupId>
235
216
      <groupName>WebServers</groupName>
236
217
      <groupDescription>Web servers</groupDescription>
237
218
      <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>
247
228
  <securityGroupInfo>
248
229
    <item>
249
230
      <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>
250
 
      <groupId>sg-a1a1a1</groupId>
251
231
      <groupName>WebServers</groupName>
252
232
      <groupDescription>Web Servers</groupDescription>
253
233
      <ipPermissions>
276
256
  <securityGroupInfo>
277
257
    <item>
278
258
      <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>
279
 
      <groupId>sg-a1a1a1</groupId>
280
259
      <groupName>MessageServers</groupName>
281
260
      <groupDescription>Message Servers</groupDescription>
282
261
      <ipPermissions>
295
274
    </item>
296
275
    <item>
297
276
      <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>
298
 
      <groupId>sg-c3c3c3</groupId>
299
277
      <groupName>WebServers</groupName>
300
278
      <groupDescription>Web Servers</groupDescription>
301
279
      <ipPermissions>
479
457
sample_create_security_group = """\
480
458
<CreateSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/%s/">
481
459
  <return>true</return>
482
 
  <groupId>sg-1a2b3c4d</groupId>
483
460
</CreateSecurityGroupResponse>
484
461
""" % (version.ec2_api,)
485
462