From 8de62af236e17ba2274cef1add2a53107edc5515 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Mon, 25 Feb 2019 16:43:39 -0600 Subject: [PATCH] add tftp server test --- test/modules/auxiliary/server/tftp.json | 49 +++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 test/modules/auxiliary/server/tftp.json diff --git a/test/modules/auxiliary/server/tftp.json b/test/modules/auxiliary/server/tftp.json new file mode 100644 index 0000000000..fb4f582ab0 --- /dev/null +++ b/test/modules/auxiliary/server/tftp.json @@ -0,0 +1,49 @@ +{ + "TEST_NAME": "tftp test", + "REPORT_PREFIX": "TftpServerTest", + "FRAMEWORK_BRANCH": "upstream/master", + "HTTP_PORT": 5309, + "STARTING_LISTENER": 30000, + "CREDS_FILE": "../JSON/creds.json", + "MSF_HOSTS": + [ + { + "TYPE": "VIRTUAL", + "METHOD": "VM_TOOLS_UPLOAD", + "HYPERVISOR_CONFIG": "../JSON/esxi_config.json", + "CPE": "cpe:/a:rapid7:metasploit:::", + "MSF_ARTIFACT_PATH": "/home/msfuser/rapid7/test_artifacts", + "MSF_PATH": "/home/msfuser/rapid7/metasploit-framework" + } + ], + + "TARGETS": + [ + { + "TYPE": "VIRTUAL", + "METHOD": "EXPLOIT", + "CPE": "cpe:/o:microsoft:windows_server_2008:r2:sp1:x64", + "MODULES": + [ + { + "NAME": "auxiliary/server/tftp" + } + ] + } + ], + "TARGET_GLOBALS": + { + "TYPE": "VIRTUAL", + "HYPERVISOR_CONFIG": "../JSON/esxi_config.json", + "METHOD": "VM_TOOLS_UPLOAD", + "PAYLOAD_DIRECTORY": "C:\\payload_test", + "TESTING_SNAPSHOT": "TESTING_BASE", + "PYTHON": "C:\\software\\x86\\python27\\python.exe", + "METERPRETER_PYTHON": "C:\\software\\x86\\python27\\python.exe", + "METERPRETER_JAVA": "C:\\software\\x86\\java\\bin\\java.exe" + }, + "COMMAND_LIST": [], + "SUCCESS_LIST": [ + "Starting TFTP server" + ] +}