added meta script

This commit is contained in:
2026-05-19 21:38:01 +02:00
parent cc7335057b
commit 14115ab7a0

35
meta.src Normal file
View File

@@ -0,0 +1,35 @@
cp = get_shell.host_computer
home = "/home/" + active_user
// decipher_bin = cp.File(home + "/decipher")
// if not decipher_bin then exit("Missing decipher")
// decipher_bin.move("/bin", "decipher")
// decipher_bin = cp.File("/bin/decipher")
// if not decipher_bin then exit("Failed to install decipher")
// decipher_bin.set_group("root")
// decipher_bin.set_owner("root")
// decipher_bin.chmod("u+rwx,g+rx,o+rx")
scanrouter_bin = cp.File(home + "/scanrouter")
if not scanrouter_bin then exit("Missing scanrouter")
scanrouter_bin.move("/bin", "scanrouter")
scanrouter_bin = cp.File("/bin/scanrouter")
if not scanrouter_bin then exit("Failed to install scanrouter")
scanrouter_bin.set_group("root")
scanrouter_bin.set_owner("root")
scanrouter_bin.chmod("u+rwx,g+rx,o+rx")
metaxploit_lib = cp.File(home + "/metaxploit.so")
if not metaxploit_lib then exit("Missing metaxploit.so")
metaxploit_lib.copy(home + "/guest", "metaxploit.so")
metaxploit_lib.move("/lib", "metaxploit.so")
metaxploit_lib = cp.File("/lib/metaxploit.so")
if not metaxploit_lib then exit("Failed to install metaxploit.so")
metaxploit_lib.set_group("root")
metaxploit_lib.set_owner("root")
metaxploit_lib.chmod("u+rwx,g+r,o+r")
meta_source = cp.File(home + "/meta.src")
if meta_source then meta_source.delete
meta_bin = cp.File(home + "/meta")
if meta_bin then meta_bin.delete