Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/spec/support/acceptance/command_shell/powershell.rb
Views: 11623
module Acceptance::Session1POWERSHELL = {2payloads: [3{4name: 'cmd/windows/powershell_reverse_tcp',5extension: '.ps1',6platforms: [:windows],7execute_cmd: ['powershell ${payload_path}'],8executable: true,9generate_options: {10'-f': 'raw'11},12datastore: {13global: {},14module: {}15}16}17],18module_tests: [19{20name: 'post/test/cmd_exec',21platforms: [22[23:linux,24{25skip: true,26reason: 'Payload not compiled for platform'27}28],29[30:osx,31{32skip: true,33reason: 'Payload not compiled for platform'34}35],36:windows37],38skipped: false,39lines: {40linux: {41known_failures: []42},43osx: {44known_failures: []45},46windows: {47known_failures: []48}49}50},51{52name: 'post/test/file',53platforms: [54[55:linux,56{57skip: true,58reason: 'Payload not compiled for platform'59}60],61[62:osx,63{64skip: true,65reason: 'Payload not compiled for platform'66}67],68:windows69],70skipped: false,71lines: {72linux: {73known_failures: []74},75osx: {76known_failures: []77},78windows: {79known_failures: []80}81}82},83{84name: 'post/test/get_env',85platforms: [86[87:linux,88{89skip: true,90reason: 'Payload not compiled for platform'91}92],93[94:osx,95{96skip: true,97reason: 'Payload not compiled for platform'98}99],100:windows101],102skipped: false,103lines: {104linux: {105known_failures: []106},107osx: {108known_failures: []109},110windows: {111known_failures: []112}113}114},115{116name: 'post/test/registry',117platforms: [118[119:linux,120{121skip: true,122reason: 'Windows only test'123}124],125[126:osx,127{128skip: true,129reason: 'Windows only test'130}131],132:windows133],134skipped: false,135lines: {136linux: {137known_failures: []138},139osx: {140known_failures: []141},142windows: {143known_failures: [144"[-] FAILED: should write REG_SZ unicode values"145]146}147}148}149]150}151end152153154