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/python.rb
Views: 11784
module Acceptance::Session1PYTHON_METERPRETER = {2payloads: [3{4name: "python/meterpreter_reverse_tcp",5extension: ".py",6platforms: [:osx, :linux, :windows],7execute_cmd: ["python", "${payload_path}"],8generate_options: {9'-f': "raw"10},11datastore: {12global: {},13module: {14MeterpreterTryToFork: false,15PythonMeterpreterDebug: true16}17}18}19],20module_tests: [21{22name: "post/test/services",23platforms: [24[25:linux,26{27skip: true,28reason: "Windows only test"29}30],31[32:osx,33{34skip: true,35reason: "Windows only test"36}37],38:windows39],40skipped: false,41lines: {42linux: {43known_failures: []44},45osx: {46known_failures: []47},48windows: {49known_failures: [50"[-] [should start W32Time] FAILED: should start W32Time",51"[-] [should start W32Time] Exception: RuntimeError: Could not open service. OpenServiceA error: FormatMessage failed to retrieve the error for value 0x6.",52"[-] [should stop W32Time] FAILED: should stop W32Time",53"[-] [should stop W32Time] Exception: RuntimeError: Could not open service. OpenServiceA error: FormatMessage failed to retrieve the error for value 0x6.",54"[-] [should list services] FAILED: should list services",55"[-] [should list services] Exception: NoMethodError: undefined method `service' for nil:NilClass",56"[-] [should return info on a given service winmgmt] FAILED: should return info on a given service winmgmt",57"[-] [should return info on a given service winmgmt] Exception: NoMethodError: undefined method `service' for nil:NilClass",58"[-] FAILED: should create a service testes",59"[-] [should return info on the newly-created service testes] FAILED: should return info on the newly-created service testes",60"[-] [should return info on the newly-created service testes] Exception: NoMethodError: undefined method `service' for nil:NilClass",61"[-] [should delete the new service testes] FAILED: should delete the new service testes",62"[-] [should delete the new service testes] Exception: RuntimeError: Could not open service. OpenServiceA error: FormatMessage failed to retrieve the error for value 0x6.",63"[-] [should return status on a given service winmgmt] FAILED: should return status on a given service winmgmt",64"[-] [should return status on a given service winmgmt] Exception: RuntimeError: Could not open service. OpenServiceA error: FormatMessage failed to retrieve the error for value 0x6.",65"[-] [should modify config on a given service] FAILED: should modify config on a given service",66"[-] [should modify config on a given service] Exception: RuntimeError: Could not open service. OpenServiceA error: FormatMessage failed to retrieve the error for value 0x6.",67"[-] FAILED: should start a disabled service",68"[-] [should restart a started service W32Time] FAILED: should restart a started service W32Time",69"[-] [should restart a started service W32Time] Exception: RuntimeError: Could not open service. OpenServiceA error: FormatMessage failed to retrieve the error for value 0x6."70]71}72}73},74{75name: "post/test/cmd_exec",76platforms: [:linux, :osx, :windows],77skipped: false,78lines: {79linux: {80known_failures: []81},82osx: {83known_failures: []84},85windows: {86known_failures: []87}88}89},90{91name: "post/test/extapi",92platforms: [:linux, :osx, :windows],93skipped: false,94lines: {95linux: {96known_failures: []97},98osx: {99known_failures: []100},101windows: {102known_failures: [103"[-] [should return clipboard jpg dimensions] FAILED: should return clipboard jpg dimensions",104"[-] [should return clipboard jpg dimensions] Exception: NoMethodError: undefined method `clipboard' for nil:NilClass",105"[-] [should download clipboard jpg data] FAILED: should download clipboard jpg data",106"[-] [should download clipboard jpg data] Exception: NoMethodError: undefined method `clipboard' for nil:NilClass"107]108}109}110},111{112name: "post/test/file",113platforms: [:linux, :osx, :windows],114skipped: false,115lines: {116linux: {117known_failures: []118},119osx: {120known_failures: []121},122windows: {123known_failures: []124}125}126},127{128name: "post/test/get_env",129platforms: [:linux, :osx, :windows],130skipped: false,131lines: {132linux: {133known_failures: []134},135osx: {136known_failures: []137},138windows: {139known_failures: []140}141}142},143{144name: "post/test/meterpreter",145platforms: [:linux, :osx, :windows],146skipped: false,147lines: {148linux: {149known_failures: []150},151osx: {152known_failures: []153},154windows: {155known_failures: [156]157}158}159},160{161name: "post/test/railgun",162platforms: [:linux, :osx, :windows],163skipped: false,164lines: {165linux: {166known_failures: []167},168osx: {169known_failures: []170},171windows: {172known_failures: []173}174}175},176{177name: "post/test/railgun_reverse_lookups",178platforms: [:linux, :osx, :windows],179skipped: false,180lines: {181linux: {182known_failures: []183},184osx: {185known_failures: []186},187windows: {188known_failures: []189}190}191},192{193name: "post/test/registry",194platforms: [195[196:linux,197{198skip: true,199reason: "Windows only test"200}201],202[203:osx,204{205skip: true,206reason: "Windows only test"207}208],209:windows210],211skipped: false,212lines: {213linux: {214known_failures: []215},216osx: {217known_failures: []218},219windows: {220known_failures: []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