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              ...

Basic Linux Command

                                        LINUX BASIC COMMAND USED IN DAILY LIFE



  • See List of files or directory in Linux O.S
            ls 



  • See List of files or directory in Linux O.S With permission also.
            ls -l


  • Create a text Files 
               touch abc.txt
               whrere abc file name can be any name and txt is format of file



  • Read txt file on Linux O.S
               cat abc.txt
               whrere abc file name can be any name and txt is format of file




  • Change Directory or Select Another Directory
              cd <directory name>



  • Make a directory In Linux O.S
           mkdir <directory name>


  • Remove a directory In Linux O.S
                 rmdir <directory name>



  • Check Ip configuration In Linux O.S
                  ifconfig
                  ifconfig -a


  • Copy a file one Location to another by terminal
                 cp <file name> <location where you want>


  • Move a file one Location to another by terminal
             mv <file name> <location where you want>


  • Remove a file By terminal In Linux
              rm <file name>




  • Check Working Directory In Linux
             Pwd



  • Check Working process in Linux 
                ps
                

               ps  -a      all prpcess
               ps  -e      also all
               ps  -h      help info details






  • Show date and time in Linux O.S
              date 



  • Command to Show calendar in Linux O.S
            cal


  • Show or change the disk partition table.
                cfdisk




  • Used to change user password information.
           chage

  •  Change access permission for a file(s)
                       chmod
              












                                                                                                                  Written By Sanjay Kumar
                                  
                                                                                                       https://www.instagram.com/sanjayer111/
                                                                                                       https://www.facebook.com/mang786
                                                                                                      https://www.linkedin.com/in/sanjaykumar111/

Comments

Popular posts from this blog

Exploit and connect to port 512 ,513, and 514

               Exploit and connect to port 512 ,513, and 514 ༄ Unix Basics      TCP ports 512, 513, and 514 are known as "r" services, and have been misconfigured       to allow remote access from any host (a standard ".rhosts + +" situation).       To take advantage of this, make sure the "rsh-client" client is installed (on Ubuntu), and      run the following command as your local root user. If you are prompted for an SSH key,      this means the rsh-client tools have not been installed and Ubuntu is defaulting to       using  SSH. 🔂 Step-1:               First type "nmap -v <victim ip>" 🔄 Step-2:               type "rlogin  -...

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...

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              ...