Metasploit mailing list archives

Meterpreter Persistence script with DNS support "persistence_dns.rb"


From: "Sherif Eldeeb" <archeldeeb () gmail com>
Date: Sun, 2 May 2010 17:26:54 +0300


It's the original persistence.rb script, I only changed the
"meterpreter/reverse_tcp" to "meterpreter/reverse_tcp_dns" to allow for name
resolution to connect to a multi/handler with a non-static IP "dyndns, no-ip
...etc".

All the switches are exactly the same, only the "-r" will take a DNS name
instead of an IP, I tried it and it did work for me without problems.

The file is attached, or just do it yourself, it'll be faster than
downloading "copy the file scripts/meterpreter/persistence.rb to
persistence_dns.rb & replace every reverse_tcp with reverse_tcp_dns in the
new file"


Regards,
Sherif Eldeeb.

Attachment: persistence_dns.rb
Description:

_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: