CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!
CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!
Path: blob/master/spec/support/acceptance/session/python.rb
Views: 1904
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"[-] FAILED: should return the proper directory separator"157]158}159}160},161{162name: "post/test/railgun",163platforms: [:linux, :osx, :windows],164skipped: false,165lines: {166linux: {167known_failures: []168},169osx: {170known_failures: []171},172windows: {173known_failures: []174}175}176},177{178name: "post/test/railgun_reverse_lookups",179platforms: [:linux, :osx, :windows],180skipped: false,181lines: {182linux: {183known_failures: []184},185osx: {186known_failures: []187},188windows: {189known_failures: []190}191}192},193{194name: "post/test/registry",195platforms: [196[197:linux,198{199skip: true,200reason: "Windows only test"201}202],203[204:osx,205{206skip: true,207reason: "Windows only test"208}209],210:windows211],212skipped: false,213lines: {214linux: {215known_failures: []216},217osx: {218known_failures: []219},220windows: {221known_failures: []222}223}224},225{226name: "post/test/search",227platforms: [:linux, :osx, :windows],228skipped: false,229lines: {230linux: {231known_failures: []232},233osx: {234known_failures: []235},236windows: {237known_failures: []238}239}240},241{242name: "post/test/unix",243platforms: [244:linux,245:osx,246[247:windows,248{249skip: true,250reason: "Unix only test"251}252]253],254skipped: false,255lines: {256linux: {257known_failures: []258},259osx: {260known_failures: []261},262windows: {263known_failures: []264}265}266}267]268}269end270271272