Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
msjenkins-r7 committed Oct 26, 2023
1 parent 65efa7b commit 01fa9b4
Show file tree
Hide file tree
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.
2 changes: 1 addition & 1 deletion 404.html

Large diffs are not rendered by default.

67 changes: 67 additions & 0 deletions acceptance-tests/data/attachments/1016db8f979d455f.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
use python/meterpreter_reverse_tcp
Stopping all jobs...
msf6 post(test/unix) > irb -e '(self.respond_to?(:framework) ? framework : self).datastore.user_defined.clear'
setg SessionTlvLogging file:/tmp/pythonmeterpreter_reverse_tcp_session_tlv_logging20231026-3229-nw4wwgtxt
msf6 payload(python/meterpreter_reverse_tcp) > 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
msf6 payload(python/meterpreter_reverse_tcp) > SessionTlvLogging => file:/tmp/pythonmeterpreter_reverse_tcp_session_tlv_logging20231026-3229-nw4wwgtxt
msf6 payload(python/meterpreter_reverse_tcp) > [*] Writing 24916 bytes to /tmp/child-process-rb-python-meterpreter-reverse-tcp20231026-3229-1cav6r.py...
msf6 payload(python/meterpreter_reverse_tcp) > to_handler
[*] Payload Handler Started as Job 6
msf6 payload(python/meterpreter_reverse_tcp) >
[!] 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
msf6 post(test/file) > 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
msf6 post(test/file) > jobs -K
[*] Killing all sessions...
[*] 127.0.0.1 - Meterpreter session 8 closed.
msf6 post(test/file) >
Loading

0 comments on commit 01fa9b4

Please sign in to comment.