Skip to content

Commit 96f8a47

Browse files
committed
Run them tests
1 parent dc7e439 commit 96f8a47

File tree

5 files changed

+164
-0
lines changed

5 files changed

+164
-0
lines changed

spec/support/acceptance/session/java.rb

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,29 @@ module Acceptance::Session
236236
}
237237
}
238238
},
239+
{
240+
name: "post/test/socket_channels",
241+
platforms: [:linux, :osx, :windows],
242+
skipped: false,
243+
lines: {
244+
linux: {
245+
known_failures: [
246+
"[-] FAILED: [UDP] Has the correct peer information"
247+
]
248+
},
249+
osx: {
250+
known_failures: [
251+
"[UDP] Has the correct peer information",
252+
"[UDP] Receives data from the peer"
253+
]
254+
},
255+
windows: {
256+
known_failures: [
257+
"[-] FAILED: [UDP] Has the correct peer information"
258+
]
259+
}
260+
}
261+
},
239262
{
240263
name: "post/test/unix",
241264
platforms: [

spec/support/acceptance/session/mettle.rb

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,28 @@ module Acceptance::Session
318318
}
319319
}
320320
},
321+
{
322+
name: "post/test/socket_channels",
323+
platforms: [:linux, :osx, :windows],
324+
skipped: false,
325+
lines: {
326+
linux: {
327+
known_failures: [
328+
"[-] FAILED: [UDP] Has the correct peer information"
329+
]
330+
},
331+
osx: {
332+
known_failures: [
333+
"[-] FAILED: [UDP] Has the correct peer information"
334+
]
335+
},
336+
windows: {
337+
known_failures: [
338+
"[-] FAILED: [UDP] Has the correct peer information"
339+
]
340+
}
341+
}
342+
},
321343
{
322344
name: "post/test/unix",
323345
platforms: [

spec/support/acceptance/session/php.rb

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,76 @@ module Acceptance::Session
241241
}
242242
}
243243
},
244+
{
245+
name: "post/test/socket_channels",
246+
platforms: [:linux, :osx, :windows],
247+
skipped: false,
248+
lines: {
249+
linux: {
250+
known_failures: [
251+
"[-] [[TCP-Server] Allows binding to port 0] FAILED: [TCP-Server] Allows binding to port 0",
252+
"[-] [[TCP-Server] Allows binding to port 0] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
253+
"[-] [[TCP-Server] Accepts a connection] FAILED: [TCP-Server] Accepts a connection",
254+
"[-] [[TCP-Server] Accepts a connection] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
255+
"[-] [[TCP-Server] Has the correct peer information] FAILED: [TCP-Server] Has the correct peer information",
256+
"[-] [[TCP-Server] Has the correct peer information] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
257+
"[-] [[TCP-Server] Receives data from the peer] FAILED: [TCP-Server] Receives data from the peer",
258+
"[-] [[TCP-Server] Receives data from the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
259+
"[-] [[TCP-Server] Sends data to the peer] FAILED: [TCP-Server] Sends data to the peer",
260+
"[-] [[TCP-Server] Sends data to the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
261+
"[-] [[TCP-Server] Propagates close events to the server] FAILED: [TCP-Server] Propagates close events to the server",
262+
"[-] [[TCP-Server] Propagates close events to the server] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
263+
"[-] [[TCP-Server] Propagates close events to the peer] FAILED: [TCP-Server] Propagates close events to the peer",
264+
"[-] [[TCP-Server] Propagates close events to the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
265+
"[-] [[TCP-Server] Propagates close events from the peer] FAILED: [TCP-Server] Propagates close events from the peer",
266+
"[-] [[TCP-Server] Propagates close events from the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
267+
"[-] FAILED: [UDP] Has the correct peer information"
268+
]
269+
},
270+
osx: {
271+
known_failures: [
272+
"[-] [[TCP-Server] Allows binding to port 0] FAILED: [TCP-Server] Allows binding to port 0",
273+
"[-] [[TCP-Server] Allows binding to port 0] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
274+
"[-] [[TCP-Server] Accepts a connection] FAILED: [TCP-Server] Accepts a connection",
275+
"[-] [[TCP-Server] Accepts a connection] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
276+
"[-] [[TCP-Server] Has the correct peer information] FAILED: [TCP-Server] Has the correct peer information",
277+
"[-] [[TCP-Server] Has the correct peer information] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
278+
"[-] [[TCP-Server] Receives data from the peer] FAILED: [TCP-Server] Receives data from the peer",
279+
"[-] [[TCP-Server] Receives data from the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
280+
"[-] [[TCP-Server] Sends data to the peer] FAILED: [TCP-Server] Sends data to the peer",
281+
"[-] [[TCP-Server] Sends data to the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
282+
"[-] [[TCP-Server] Propagates close events to the server] FAILED: [TCP-Server] Propagates close events to the server",
283+
"[-] [[TCP-Server] Propagates close events to the server] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
284+
"[-] [[TCP-Server] Propagates close events to the peer] FAILED: [TCP-Server] Propagates close events to the peer",
285+
"[-] [[TCP-Server] Propagates close events to the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
286+
"[-] [[TCP-Server] Propagates close events from the peer] FAILED: [TCP-Server] Propagates close events from the peer",
287+
"[-] [[TCP-Server] Propagates close events from the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
288+
"[-] FAILED: [UDP] Has the correct peer information"
289+
]
290+
},
291+
windows: {
292+
known_failures: [
293+
"[-] [[TCP-Server] Allows binding to port 0] FAILED: [TCP-Server] Allows binding to port 0",
294+
"[-] [[TCP-Server] Allows binding to port 0] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
295+
"[-] [[TCP-Server] Accepts a connection] FAILED: [TCP-Server] Accepts a connection",
296+
"[-] [[TCP-Server] Accepts a connection] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
297+
"[-] [[TCP-Server] Has the correct peer information] FAILED: [TCP-Server] Has the correct peer information",
298+
"[-] [[TCP-Server] Has the correct peer information] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
299+
"[-] [[TCP-Server] Receives data from the peer] FAILED: [TCP-Server] Receives data from the peer",
300+
"[-] [[TCP-Server] Receives data from the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
301+
"[-] [[TCP-Server] Sends data to the peer] FAILED: [TCP-Server] Sends data to the peer",
302+
"[-] [[TCP-Server] Sends data to the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
303+
"[-] [[TCP-Server] Propagates close events to the server] FAILED: [TCP-Server] Propagates close events to the server",
304+
"[-] [[TCP-Server] Propagates close events to the server] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
305+
"[-] [[TCP-Server] Propagates close events to the peer] FAILED: [TCP-Server] Propagates close events to the peer",
306+
"[-] [[TCP-Server] Propagates close events to the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
307+
"[-] [[TCP-Server] Propagates close events from the peer] FAILED: [TCP-Server] Propagates close events from the peer",
308+
"[-] [[TCP-Server] Propagates close events from the peer] Exception: Rex::Post::Meterpreter::RequestError: core_channel_open: Operation failed: 1",
309+
"[-] FAILED: [UDP] Has the correct peer information"
310+
]
311+
}
312+
}
313+
},
244314
{
245315
name: "post/test/unix",
246316
platforms: [

spec/support/acceptance/session/python.rb

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,34 @@ module Acceptance::Session
253253
}
254254
}
255255
},
256+
{
257+
name: "post/test/socket_channels",
258+
platforms: [:linux, :osx, :windows],
259+
skipped: false,
260+
lines: {
261+
linux: {
262+
known_failures: [
263+
"[-] FAILED: [UDP] Has the correct peer information"
264+
]
265+
},
266+
osx: {
267+
known_failures: [
268+
"[-] [[UDP] Has the correct peer information] FAILED: [UDP] Has the correct peer information",
269+
"[-] [[UDP] Has the correct peer information] Exception: Errno::EHOSTUNREACH: No route to host - sendto(2) for \"0.0.0.0\"",
270+
"[-] [[UDP] Receives data from the peer] FAILED: [UDP] Receives data from the peer",
271+
"[-] [[UDP] Receives data from the peer] Exception: Errno::EHOSTUNREACH: No route to host - sendto(2) for \"0.0.0.0\""
272+
]
273+
},
274+
windows: {
275+
known_failures: [
276+
"[-] [[UDP] Has the correct peer information] FAILED: [UDP] Has the correct peer information",
277+
"[-] [[UDP] Has the correct peer information] Exception: Errno::EADDRNOTAVAIL: The requested address is not valid in its context. - sendto(2) for \"0.0.0.0\"",
278+
"[-] [[UDP] Receives data from the peer] FAILED: [UDP] Receives data from the peer",
279+
"[-] [[UDP] Receives data from the peer] Exception: Errno::EADDRNOTAVAIL: The requested address is not valid in its context. - sendto(2) for \"0.0.0.0\""
280+
]
281+
}
282+
}
283+
},
256284
{
257285
name: "post/test/unix",
258286
platforms: [

spec/support/acceptance/session/windows_meterpreter.rb

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,27 @@ module Acceptance::Session
359359
}
360360
}
361361
},
362+
{
363+
name: "post/test/socket_channels",
364+
platforms: [:linux, :osx, :windows],
365+
skipped: false,
366+
lines: {
367+
linux: {
368+
known_failures: []
369+
},
370+
osx: {
371+
known_failures: []
372+
},
373+
windows: {
374+
known_failures: [
375+
"[-] [[UDP] Has the correct peer information] FAILED: [UDP] Has the correct peer information",
376+
"[-] [[UDP] Has the correct peer information] Exception: Errno::EADDRNOTAVAIL: The requested address is not valid in its context. - sendto(2) for \"0.0.0.0\"",
377+
"[-] [[UDP] Receives data from the peer] FAILED: [UDP] Receives data from the peer",
378+
"[-] [[UDP] Receives data from the peer] Exception: Errno::EADDRNOTAVAIL: The requested address is not valid in its context. - sendto(2) for \"0.0.0.0\""
379+
]
380+
}
381+
}
382+
},
362383
{
363384
name: "post/test/unix",
364385
platforms: [

0 commit comments

Comments
 (0)