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/session/java.rb
Views: 11623
module Acceptance::Session1JAVA_METERPRETER = {2payloads: [3{4name: "java/meterpreter/reverse_tcp",5extension: ".jar",6platforms: [:osx, :linux, :windows],7execute_cmd: ["java", "-jar", "${payload_path}"],8generate_options: {9'-f': "jar"10},11datastore: {12global: {},13module: {14spawn: 015}16}17}18],19module_tests: [20{21name: "post/test/services",22platforms: [23[24:linux,25{26skip: true,27reason: "Windows only test"28}29],30[31:osx,32{33skip: true,34reason: "Windows only test"35}36],37:windows38],39skipped: false,40lines: {41linux: {42known_failures: []43},44osx: {45known_failures: []46},47windows: {48known_failures: [49"[-] [should start W32Time] FAILED: should start W32Time",50"[-] [should start W32Time] Exception: Rex::Post::Meterpreter::RequestError: stdapi_railgun_api: Operation failed: The command is not supported by this Meterpreter type (java/windows)",51"[-] [should stop W32Time] FAILED: should stop W32Time",52"[-] [should stop W32Time] Exception: Rex::Post::Meterpreter::RequestError: stdapi_railgun_api: Operation failed: The command is not supported by this Meterpreter type (java/windows)",53"[-] [should create a service testes] FAILED: should create a service testes",54"[-] [should create a service testes] Exception: Rex::Post::Meterpreter::RequestError: stdapi_railgun_api: Operation failed: The command is not supported by this Meterpreter type (java/windows)",55"[-] [should return info on the newly-created service testes] Could not retrieve the start type of the testes service!",56"[-] FAILED: should return info on the newly-created service testes",57"[-] [should delete the new service testes] FAILED: should delete the new service testes",58"[-] [should delete the new service testes] Exception: Rex::Post::Meterpreter::RequestError: stdapi_railgun_api: Operation failed: The command is not supported by this Meterpreter type (java/windows)",59"[-] [should return status on a given service winmgmt] FAILED: should return status on a given service winmgmt",60"[-] [should return status on a given service winmgmt] Exception: Rex::Post::Meterpreter::RequestError: stdapi_railgun_api: Operation failed: The command is not supported by this Meterpreter type (java/windows)",61"[-] [should modify config on a given service] FAILED: should modify config on a given service",62"[-] [should modify config on a given service] Exception: Rex::Post::Meterpreter::RequestError: stdapi_railgun_api: Operation failed: The command is not supported by this Meterpreter type (java/windows)",63"[-] [should start a disabled service] FAILED: should start a disabled service",64"[-] [should start a disabled service] Exception: Rex::Post::Meterpreter::RequestError: stdapi_railgun_api: Operation failed: The command is not supported by this Meterpreter type (java/windows)",65"[-] [should restart a started service W32Time] FAILED: should restart a started service W32Time",66"[-] [should restart a started service W32Time] Exception: Rex::Post::Meterpreter::RequestError: stdapi_railgun_api: Operation failed: The command is not supported by this Meterpreter type (java/windows)",67"[-] [should raise a runtime exception if no access to service] FAILED: should raise a runtime exception if no access to service",68"[-] [should raise a runtime exception if no access to service] Exception: Rex::Post::Meterpreter::RequestError: stdapi_railgun_api: Operation failed: The command is not supported by this Meterpreter type (java/windows)",69"[-] [should raise a runtime exception if services doesnt exist] FAILED: should raise a runtime exception if services doesnt exist",70"[-] [should raise a runtime exception if services doesnt exist] Exception: Rex::Post::Meterpreter::RequestError: stdapi_railgun_api: Operation failed: The command is not supported by this Meterpreter type (java/windows)"71]72}73}74},75{76name: "post/test/cmd_exec",77platforms: [:linux, :osx, :windows],78skipped: false,79lines: {80linux: {81known_failures: []82},83osx: {84known_failures: []85},86windows: {87known_failures: []88}89}90},91{92name: "post/test/extapi",93platforms: [:linux, :osx, :windows],94skipped: false,95lines: {96linux: {97known_failures: []98},99osx: {100known_failures: []101},102windows: {103known_failures: []104}105}106},107{108name: "post/test/file",109platforms: [:linux, :osx, :windows],110skipped: false,111lines: {112linux: {113known_failures: []114},115osx: {116known_failures: []117},118windows: {119known_failures: [120"[-] [should delete a symbolic link target] failed to create the symbolic link"121]122}123}124},125{126name: "post/test/get_env",127platforms: [:linux, :osx, :windows],128skipped: false,129lines: {130linux: {131known_failures: []132},133osx: {134known_failures: []135},136windows: {137known_failures: []138}139}140},141{142name: "post/test/meterpreter",143platforms: [:linux, :osx, :windows],144skipped: false,145lines: {146linux: {147known_failures: []148},149osx: {150known_failures: []151},152windows: {153known_failures: []154}155}156},157{158name: "post/test/railgun",159platforms: [:linux, :osx, :windows],160skipped: false,161lines: {162linux: {163known_failures: []164},165osx: {166known_failures: []167},168windows: {169known_failures: []170}171}172},173{174name: "post/test/railgun_reverse_lookups",175platforms: [:linux, :osx, :windows],176skipped: false,177lines: {178linux: {179known_failures: []180},181osx: {182known_failures: []183},184windows: {185known_failures: []186}187}188},189{190name: "post/test/registry",191platforms: [192[193:linux,194{195skip: true,196reason: "Windows only test"197}198],199[200:osx,201{202skip: true,203reason: "Windows only test"204}205],206:windows207],208skipped: false,209lines: {210linux: {211known_failures: []212},213osx: {214known_failures: []215},216windows: {217known_failures: [218"[-] FAILED: should write REG_EXPAND_SZ values",219"[-] FAILED: should write REG_SZ unicode values"220]221}222}223},224{225name: "post/test/search",226platforms: [:linux, :osx, :windows],227skipped: false,228lines: {229linux: {230known_failures: []231},232osx: {233known_failures: []234},235windows: {236known_failures: []237}238}239},240{241name: "post/test/unix",242platforms: [243:linux,244:osx,245[246:windows,247{248skip: true,249reason: "Unix only test"250}251]252],253skipped: false,254lines: {255linux: {256known_failures: []257},258osx: {259known_failures: []260},261windows: {262known_failures: []263}264}265}266]267}268end269270271