diff --git a/scripts/meterpreter/checkvm.rb b/scripts/meterpreter/checkvm.rb index 02d564fdfa..84e3637264 100644 --- a/scripts/meterpreter/checkvm.rb +++ b/scripts/meterpreter/checkvm.rb @@ -1,3 +1,4 @@ +# $Id:$ # Meterpreter script for detecting if target host is a Virtual Machine # Provided by Carlos Perez at carlos_perez[at]darkoperator.com # Version: 0.2.0 diff --git a/scripts/meterpreter/credcollect.rb b/scripts/meterpreter/credcollect.rb index 139e9870e2..dff8667240 100644 --- a/scripts/meterpreter/credcollect.rb +++ b/scripts/meterpreter/credcollect.rb @@ -1,3 +1,4 @@ +# $Id:$ # credcollect - tebo[at]attackresearch.com # Make sure we're rockin Priv and Incognito diff --git a/scripts/meterpreter/get_local_subnets.rb b/scripts/meterpreter/get_local_subnets.rb index d44394626e..7dee3a88cd 100644 --- a/scripts/meterpreter/get_local_subnets.rb +++ b/scripts/meterpreter/get_local_subnets.rb @@ -1,3 +1,4 @@ +# $Id:$ ## Meterpreter script that display local subnets ## Provided by Nicob diff --git a/scripts/meterpreter/getcountermeasure.rb b/scripts/meterpreter/getcountermeasure.rb index 9782a92d6e..f8fe6e0023 100644 --- a/scripts/meterpreter/getcountermeasure.rb +++ b/scripts/meterpreter/getcountermeasure.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ #Meterpreter script for detecting AV, HIPS, Third Party Firewalls, DEP Configuration and Windows Firewall configuration. #Provides also the option to kill the processes of detected products and disable the built-in firewall. diff --git a/scripts/meterpreter/getgui.rb b/scripts/meterpreter/getgui.rb index 6b613af17e..73ef5f06a9 100644 --- a/scripts/meterpreter/getgui.rb +++ b/scripts/meterpreter/getgui.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ # #Meterpreter script for enabling Remote Desktop on Windows 2003, Windows Vista #Windows 2008 and Windows XP targets using native windows commands. diff --git a/scripts/meterpreter/gettelnet.rb b/scripts/meterpreter/gettelnet.rb index f34635f5d1..67e719f467 100644 --- a/scripts/meterpreter/gettelnet.rb +++ b/scripts/meterpreter/gettelnet.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ # #Meterpreter script for enabling Telnet Server on Windows 2003, Windows Vista #Windows 2008 and Windows XP targets using native windows commands. diff --git a/scripts/meterpreter/hostsedit.rb b/scripts/meterpreter/hostsedit.rb index 4093379f58..ea5bae94a6 100644 --- a/scripts/meterpreter/hostsedit.rb +++ b/scripts/meterpreter/hostsedit.rb @@ -1,3 +1,4 @@ +# $Id:$ #Meterpreter script for modifying the hosts file in windows #given a single entrie or several in a file and clear the #DNS cache on the target machine. diff --git a/scripts/meterpreter/keylogrecorder.rb b/scripts/meterpreter/keylogrecorder.rb index c032329853..8e38fbe82d 100644 --- a/scripts/meterpreter/keylogrecorder.rb +++ b/scripts/meterpreter/keylogrecorder.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ require 'sqlite3' # #Meterpreter script for monitoring and capturing Keystrokes and diff --git a/scripts/meterpreter/killav.rb b/scripts/meterpreter/killav.rb index 7234c814ff..686fd57e0a 100644 --- a/scripts/meterpreter/killav.rb +++ b/scripts/meterpreter/killav.rb @@ -1,3 +1,4 @@ +# $Id:$ # # Meterpreter script that kills all Antivirus processes # Provided by: Jerome Athias diff --git a/scripts/meterpreter/metsvc.rb b/scripts/meterpreter/metsvc.rb index a68a40c252..b510e7c9ca 100644 --- a/scripts/meterpreter/metsvc.rb +++ b/scripts/meterpreter/metsvc.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ # # Meterpreter script for installing the meterpreter service diff --git a/scripts/meterpreter/migrate.rb b/scripts/meterpreter/migrate.rb index 17cce9fbc6..19ab4eff8e 100644 --- a/scripts/meterpreter/migrate.rb +++ b/scripts/meterpreter/migrate.rb @@ -1,3 +1,4 @@ +# $Id:$ # # Simple example script that migrates to a specific process by name. # This is meant as an illustration. diff --git a/scripts/meterpreter/multicommand.rb b/scripts/meterpreter/multicommand.rb index ebbf99da63..9903ad535d 100644 --- a/scripts/meterpreter/multicommand.rb +++ b/scripts/meterpreter/multicommand.rb @@ -1,3 +1,4 @@ +# $Id:$ #Meterpreter script for running multiple commands on Windows 2003, Windows Vista # and Windows XP and Windows 2008 targets. #Provided by Carlos Perez at carlos_perez[at]darkoperator[dot]com diff --git a/scripts/meterpreter/multiscript.rb b/scripts/meterpreter/multiscript.rb index 718c6d83aa..251e813e2f 100644 --- a/scripts/meterpreter/multiscript.rb +++ b/scripts/meterpreter/multiscript.rb @@ -1,3 +1,4 @@ +# $Id:$ #Meterpreter script for running multiple scripts on a Meterpreter Session #Provided by Carlos Perez at carlos_perez[at]darkoperator[dot]com #Verion: 0.2 diff --git a/scripts/meterpreter/netenum.rb b/scripts/meterpreter/netenum.rb index 2bcd966130..2ab22cfa08 100644 --- a/scripts/meterpreter/netenum.rb +++ b/scripts/meterpreter/netenum.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ # #Meterpreter script for ping sweeps on Windows 2003, Windows Vista #Windows 2008 and Windows XP targets using native windows commands. diff --git a/scripts/meterpreter/packetrecorder.rb b/scripts/meterpreter/packetrecorder.rb index 67db65d158..6245f18c6e 100644 --- a/scripts/meterpreter/packetrecorder.rb +++ b/scripts/meterpreter/packetrecorder.rb @@ -1,3 +1,4 @@ +# $Id:$ #Meterpreter script for monitoring and capturing packets and #saving them in to a PCAP file. #Provided by Carlos Perez at carlos_perez[at]darkoperator.com diff --git a/scripts/meterpreter/persistence.rb b/scripts/meterpreter/persistence.rb index 46e4073ecd..185e8d4f26 100644 --- a/scripts/meterpreter/persistence.rb +++ b/scripts/meterpreter/persistence.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ # # Meterpreter script for installing a persistent meterpreter diff --git a/scripts/meterpreter/pml_driver_config.rb b/scripts/meterpreter/pml_driver_config.rb index f5d017ad22..38a35b0069 100644 --- a/scripts/meterpreter/pml_driver_config.rb +++ b/scripts/meterpreter/pml_driver_config.rb @@ -1,3 +1,4 @@ +# $Id:$ ## # This file is part of the Metasploit Framework and may be subject to # redistribution and commercial restrictions. Please see the Metasploit diff --git a/scripts/meterpreter/prefetchtool.rb b/scripts/meterpreter/prefetchtool.rb index 5bb985c3d6..e395cf9fa4 100644 --- a/scripts/meterpreter/prefetchtool.rb +++ b/scripts/meterpreter/prefetchtool.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ #Meterpreter script for extracting information from windows prefetch folder #Provided by Milo at keith.lee2012[at]gmail.com #Verion: 0.1.0 diff --git a/scripts/meterpreter/remotewinenum.rb b/scripts/meterpreter/remotewinenum.rb index 0fe81da3fe..336bd14707 100644 --- a/scripts/meterpreter/remotewinenum.rb +++ b/scripts/meterpreter/remotewinenum.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ # #Meterpreter script for basic enumeration of Windows 2003, Windows Vista # and Windows XP remote targets using native windows command wmic. diff --git a/scripts/meterpreter/scheduleme.rb b/scripts/meterpreter/scheduleme.rb index a340025fcb..de13269198 100644 --- a/scripts/meterpreter/scheduleme.rb +++ b/scripts/meterpreter/scheduleme.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ #Meterpreter script for automating the most common scheduling tasks #during a pentest. This script will use the schtasks command so as diff --git a/scripts/meterpreter/schtasksabuse.rb b/scripts/meterpreter/schtasksabuse.rb index fe2bcad2ba..eee106025d 100644 --- a/scripts/meterpreter/schtasksabuse.rb +++ b/scripts/meterpreter/schtasksabuse.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ #Meterpreter script for abusing the scheduler service in windows #by scheduling and running a list of command against one or more targets diff --git a/scripts/meterpreter/scraper.rb b/scripts/meterpreter/scraper.rb index ecbba78391..2802e9e3c9 100644 --- a/scripts/meterpreter/scraper.rb +++ b/scripts/meterpreter/scraper.rb @@ -1,3 +1,4 @@ +# $Id:$ # # This is a Meterpreter script designed to be used by the Metasploit Framework # diff --git a/scripts/meterpreter/search_dwld.rb b/scripts/meterpreter/search_dwld.rb index 06c9cf632a..7cd5c2f953 100644 --- a/scripts/meterpreter/search_dwld.rb +++ b/scripts/meterpreter/search_dwld.rb @@ -1,3 +1,4 @@ +# $Id:$ ## Meterpreter script that recursively search and download ## files matching a given pattern @@ -56,4 +57,4 @@ def scan(path) client.fs.file.download_file(dst, fullpath) end } -end \ No newline at end of file +end diff --git a/scripts/meterpreter/uploadexec.rb b/scripts/meterpreter/uploadexec.rb index 5134b0d61a..5413208dc2 100644 --- a/scripts/meterpreter/uploadexec.rb +++ b/scripts/meterpreter/uploadexec.rb @@ -1,3 +1,4 @@ +# $Id:$ session = client @@exec_opts = Rex::Parser::Arguments.new( "-h" => [ false,"Help menu." ], diff --git a/scripts/meterpreter/virtualbox_sysenter_dos.rb b/scripts/meterpreter/virtualbox_sysenter_dos.rb index 309e297a7d..b55e5878d0 100644 --- a/scripts/meterpreter/virtualbox_sysenter_dos.rb +++ b/scripts/meterpreter/virtualbox_sysenter_dos.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ # Meterpreter script for triggering the VirtualBox DoS published at: # http://milw0rm.com/exploits/9323 diff --git a/scripts/meterpreter/winbf.rb b/scripts/meterpreter/winbf.rb index 5cfd0c9c86..d935f515f2 100644 --- a/scripts/meterpreter/winbf.rb +++ b/scripts/meterpreter/winbf.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ #Meterpreter script for brute forcin logins on Windows 2003, Windows Vista #Windows 2008 and Windows XP targets using native windows commands. diff --git a/scripts/meterpreter/winenum.rb b/scripts/meterpreter/winenum.rb index 391683ca30..4f8b1358c5 100644 --- a/scripts/meterpreter/winenum.rb +++ b/scripts/meterpreter/winenum.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# $Id:$ # #Meterpreter script for basic enumeration of Windows 2000, Windows 2003, Windows Vista # and Windows XP targets using native windows commands. diff --git a/scripts/meterpreter/wmic.rb b/scripts/meterpreter/wmic.rb index 7f48a2b869..f3c750fcc8 100644 --- a/scripts/meterpreter/wmic.rb +++ b/scripts/meterpreter/wmic.rb @@ -1,3 +1,4 @@ +# $Id:$ #Meterpreter script for running WMIC commands on Windows 2003, Windows Vista # and Windows XP and Windows 2008 targets. #Provided by Carlos Perez at carlos_perez[at]darkoperator[dot]com