sniffer.src
//sniffer
metaxploit = include_lib("/lib/metaxploit.so")
if not metaxploit then
metaxploit = include_lib(current_path + "/metaxploit.so")
end if
if not metaxploit then
get_shell.launch("/bin/apt-get", "update")
get_shell.launch("/bin/apt-get", "install metaxploit.so")
metaxploit = include_lib("/lib/metaxploit.so")
end if
print("Starting listen...\nWaiting for incoming data.")
output = metaxploit.sniffer(params.len == 1)
if not output then exit("Unknown error: can't start to listening")
print(output)
get_shell.launch("/bin/sniffer")