Commit Graph

435 Commits (78c9e9a203a0fca173367fd7022d61d43b951cbb)

Author SHA1 Message Date
sinn3r 61b19b62ec Merge branch 'rc-pass-the-hash' of https://github.com/m-1-k-3/metasploit-framework into m-1-k-3-rc-pass-the-hash 2012-01-17 12:10:41 -06:00
m-1-k-3 ae3cf724c8 changes in the path handling 2012-01-17 17:59:24 +01:00
m-1-k-3 c0dd41f6ea auto-pth RC file 2012-01-17 12:44:18 +01:00
m-1-k-3 580c818748 all scripts fixed 2012-01-14 12:17:04 +01:00
m-1-k-3 33d53517b9 portcleaner initial commit 2012-01-13 16:26:57 +01:00
m-1-k-3 8661f618fc portscan.rc 2012-01-13 15:23:41 +01:00
m-1-k-3 f6ed7dfb58 else included 2012-01-13 10:41:53 +01:00
m-1-k-3 420d128644 changes included 2012-01-13 09:11:48 +01:00
m-1-k-3 bfd52abfb1 initial commit 2012-01-12 17:33:39 +01:00
m-1-k-3 cbb9a03724 test 2012-01-12 17:31:06 +01:00
Tod Beardsley 51a7f05d85 Adding oracle RC scripts from nebulus
Also adds at least title/attribution to the scripts. Should probably get
a proper format for that if we get more of these bad boys.

[Fixes #6145]
2012-01-09 08:36:52 -06:00
HD Moore 5f72a0a092 Add -n <process.exe> argument for compatibility 2011-12-22 01:46:35 -06:00
Tod Beardsley e4d59f9e62 Adding some comment docs to run_all_post.rc
Adding some explanitory text to mubix's run_all_post.rc example script.
2011-12-12 10:34:33 -06:00
Rob Fuller b605f6affa resource file to run a post module against all sessions 2011-12-10 15:30:46 -05:00
Matt Buck 16f45fc894 Add empty directories from svn repo. 2011-11-09 18:41:40 -06:00
David Maloney 5704fbde90 Fixes #3772
git-svn-id: file:///home/svn/framework3/trunk@14109 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-29 00:21:16 +00:00
Joshua Drake 62c8c6ea9f big msftidy pass, ping me if there are issues
git-svn-id: file:///home/svn/framework3/trunk@14034 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-23 11:56:13 +00:00
Tod Beardsley 4a72be9bb2 Fixes #4603 thanks!
git-svn-id: file:///home/svn/framework3/trunk@14022 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-21 20:04:56 +00:00
Carlos Perez f948dab24a whitespaces and show help in case no option is provided
git-svn-id: file:///home/svn/framework3/trunk@13828 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-07 01:32:44 +00:00
Carlos Perez 7d7795eb46 Just to make sure they operate in a similar fashion until scripts are removed.
git-svn-id: file:///home/svn/framework3/trunk@13827 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-07 01:27:13 +00:00
Wei Chen 9a98edc651 Apply patch for bug #5543
git-svn-id: file:///home/svn/framework3/trunk@13801 4d416f70-5f16-0410-b530-b9f4589650da
2011-09-27 23:35:26 +00:00
HD Moore 4bb649a37c Remove wininit
git-svn-id: file:///home/svn/framework3/trunk@13706 4d416f70-5f16-0410-b530-b9f4589650da
2011-09-08 01:38:13 +00:00
James Lee 2b912e3b4a add rob and cg's awesome smartlocker (now known as lockout_keylogger) as a post module, fixes #5105
git-svn-id: file:///home/svn/framework3/trunk@13429 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-30 18:50:24 +00:00
HD Moore 9220506ba2 Merge in recent meterpreter work. These are not the commits you are looking for (more info on what all this is later this week).
git-svn-id: file:///home/svn/framework3/trunk@13053 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-28 21:26:43 +00:00
Carlos Perez 68e3691411 Change Post Mixin for Windows platform in its own separate class and minor fixes on modules and scripts
git-svn-id: file:///home/svn/framework3/trunk@12990 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-21 00:38:04 +00:00
Carlos Perez de931d51f0 fix var type problem
git-svn-id: file:///home/svn/framework3/trunk@12858 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-05 13:10:49 +00:00
HD Moore 8a69b464ec Merge an updated screenspy, fixes #3255
git-svn-id: file:///home/svn/framework3/trunk@12507 4d416f70-5f16-0410-b530-b9f4589650da
2011-05-02 16:10:09 +00:00
James Lee b87d943eeb updates for smartlocker, fixes #4216, fixes #3400, thanks mubix
git-svn-id: file:///home/svn/framework3/trunk@12434 4d416f70-5f16-0410-b530-b9f4589650da
2011-04-25 18:13:22 +00:00
HD Moore 4f8c166807 Merge typo fixes from Raphael Mudge
git-svn-id: file:///home/svn/framework3/trunk@12419 4d416f70-5f16-0410-b530-b9f4589650da
2011-04-24 02:25:20 +00:00
James Lee f4ca230d4b work when the session is on a non-default interface.
git-svn-id: file:///home/svn/framework3/trunk@12386 4d416f70-5f16-0410-b530-b9f4589650da
2011-04-21 04:22:49 +00:00
Carlos Perez 7aa21e7ef8 Qemu detection support, patch provided by Sergio Guzman.
git-svn-id: file:///home/svn/framework3/trunk@12217 4d416f70-5f16-0410-b530-b9f4589650da
2011-04-02 13:03:43 +00:00
Tod Beardsley 378c80b948 Adding a deprecation warning to the usage of script autoroute.rb pointing to the post module.
git-svn-id: file:///home/svn/framework3/trunk@12127 4d416f70-5f16-0410-b530-b9f4589650da
2011-03-24 16:37:04 +00:00
James Lee d1d4f9f798 fix logic errors introduced by is_system? changes. see r11998 and r12018
git-svn-id: file:///home/svn/framework3/trunk@12019 4d416f70-5f16-0410-b530-b9f4589650da
2011-03-18 21:15:31 +00:00
Carlos Perez db55db6a2e Changed logic in last update
git-svn-id: file:///home/svn/framework3/trunk@12018 4d416f70-5f16-0410-b530-b9f4589650da
2011-03-18 20:57:01 +00:00
Carlos Perez 89795f1784 Update Meterpreter scripts to use is_system? and make getgui script language independent thru the use of SID for group identification
git-svn-id: file:///home/svn/framework3/trunk@11998 4d416f70-5f16-0410-b530-b9f4589650da
2011-03-16 22:48:43 +00:00
Carlos Perez 584020eddb make getgui default to english if language not in list of supported languages.
git-svn-id: file:///home/svn/framework3/trunk@11780 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-19 16:08:42 +00:00
Matt Weeks 953630aa80 Eliminate error on Ctrl+C for webcam script. See #3663.
git-svn-id: file:///home/svn/framework3/trunk@11719 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-08 00:44:38 +00:00
Carlos Perez 64c5393a10 Corrected mispelled word
git-svn-id: file:///home/svn/framework3/trunk@11702 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-02 23:40:15 +00:00
HD Moore 3794ed35cc Apply patches from Matthew Weeks (scriptjunkie) to fix traversal flaws outlined in his Black Hat DC talk:
https://media.blackhat.com/bh-dc-11/Weeks/BlackHat_DC_2011_Weeks_Counterattack-wp.pdf
https://media.blackhat.com/bh-dc-11/Weeks/BlackHat_DC_2011_Weeks_Counterattack-Slides.pdf



git-svn-id: file:///home/svn/framework3/trunk@11636 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-25 02:24:37 +00:00
Joshua Drake cc5a1ef731 Fixes #3287, Catch an exception from a directory scan
git-svn-id: file:///home/svn/framework3/trunk@11615 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-21 17:06:36 +00:00
Carlos Perez 13f357fedb Fixed option parsing
git-svn-id: file:///home/svn/framework3/trunk@11608 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-20 14:29:22 +00:00
Joshua Drake 913cd6297c Fixes #3530, Properly extra the username as a string
git-svn-id: file:///home/svn/framework3/trunk@11587 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-17 18:08:16 +00:00
Joshua Drake f76d216cfe Fixes #3528, apply patch from chao-mu
git-svn-id: file:///home/svn/framework3/trunk@11586 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-17 18:00:21 +00:00
Jonathan Cran e8bf4118b1 awww, platfom =/= platform
git-svn-id: file:///home/svn/framework3/trunk@11583 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-16 05:23:57 +00:00
Carlos Perez 3365ca9d5e Removed early broken version of script that was renamed
git-svn-id: file:///home/svn/framework3/trunk@11573 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-13 17:58:32 +00:00
Carlos Perez 92c1510cba fix small syntax error
git-svn-id: file:///home/svn/framework3/trunk@11529 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-10 02:32:20 +00:00
Carlos Perez 1ebdc631b1 fixed problem with platform check on scripts
git-svn-id: file:///home/svn/framework3/trunk@11527 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-10 00:35:45 +00:00
HD Moore 1e6dac7b17 Add OSSEC support
git-svn-id: file:///home/svn/framework3/trunk@11502 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-07 15:42:47 +00:00
HD Moore 91e73f1714 Updated code for virusscan_bypass
git-svn-id: file:///home/svn/framework3/trunk@11478 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-05 20:58:32 +00:00
James Lee a83e6c7d8b whitespace
git-svn-id: file:///home/svn/framework3/trunk@11418 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-27 17:38:16 +00:00
HD Moore 16e5dde90a Slick script from Mert SARICA that silently kills McAfee VirusScan adds an excluded directory and restarts the service.
git-svn-id: file:///home/svn/framework3/trunk@11411 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-25 06:13:16 +00:00
HD Moore 5875fdb701 Two new SNMP community enumeration tools for Windows by tebo (local account list and SMB shares). Addition of a Meterpreter script for snagging the SNMP community from the registry
git-svn-id: file:///home/svn/framework3/trunk@11410 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-25 06:08:34 +00:00
Carlos Perez 78a62d33c5 scripts will now handle # for comments and empty lines in lists and resource files
git-svn-id: file:///home/svn/framework3/trunk@11339 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-15 01:24:27 +00:00
Joshua Drake de69a2b9bf fix error where commands was nil
git-svn-id: file:///home/svn/framework3/trunk@11335 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-14 19:28:44 +00:00
Joshua Drake 9b704bf349 note cve and ms bulletin
git-svn-id: file:///home/svn/framework3/trunk@11332 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-14 18:43:58 +00:00
cg 142ab85d04 smartlocker meterpreter script
git-svn-id: file:///home/svn/framework3/trunk@11315 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-13 01:22:01 +00:00
Carlos Perez be891889a5 Windows Service Management script, to control windows services and create new ones.
git-svn-id: file:///home/svn/framework3/trunk@11314 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-12 22:49:16 +00:00
Carlos Perez 7fc91a1895 sound recorder scrip using the new microphone recording API calls added by Scriptjunkie
git-svn-id: file:///home/svn/framework3/trunk@11312 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-12 22:16:51 +00:00
Carlos Perez cb65bf9163 forgot help message description
git-svn-id: file:///home/svn/framework3/trunk@11301 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-12 02:14:11 +00:00
Carlos Perez d706a215d3 Removed unused variables
git-svn-id: file:///home/svn/framework3/trunk@11293 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-11 16:18:03 +00:00
Carlos Perez 75fdbb814d full re-write of the persistence script, now support payload selection, installing as service and selection of a alternate executable template
git-svn-id: file:///home/svn/framework3/trunk@11292 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-11 15:51:36 +00:00
Carlos Perez c546cac029 give priv extension enough time to load
git-svn-id: file:///home/svn/framework3/trunk@11232 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-06 13:28:07 +00:00
Carlos Perez b89fc4badd Applied patch by Digininja (Robin Wood) thanks!
git-svn-id: file:///home/svn/framework3/trunk@11226 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-05 14:32:51 +00:00
Carlos Perez 0b29fda38a Screenspy Script contributed by Roni Bachar
git-svn-id: file:///home/svn/framework3/trunk@11164 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-29 14:08:29 +00:00
Matt Weeks 3812aa95f4 Add webcam support to GUI.
git-svn-id: file:///home/svn/framework3/trunk@11161 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-29 02:31:59 +00:00
Matt Weeks 8abdfe5ff2 Fix errors with ESET and bwd_table not defined, and add the ability to automatically generate a reverse meterpreter payload.
git-svn-id: file:///home/svn/framework3/trunk@11152 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-25 15:35:18 +00:00
Joshua Drake c8a04d8899 Fixes #3249: Bugs reported by Eric Romang, thx!
git-svn-id: file:///home/svn/framework3/trunk@11134 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-25 01:02:19 +00:00
James Lee 1a07889c53 revert r11058, unnecessary because of the check near the bottom of the file
git-svn-id: file:///home/svn/framework3/trunk@11097 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-22 17:46:06 +00:00
HD Moore 57f3008de5 Work with Ruby 1.8
git-svn-id: file:///home/svn/framework3/trunk@11090 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-22 05:25:13 +00:00
Joshua Drake db0a7978e6 update comments
git-svn-id: file:///home/svn/framework3/trunk@11089 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-22 02:39:53 +00:00
Joshua Drake 5092a8063c exclude wow64
git-svn-id: file:///home/svn/framework3/trunk@11088 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-22 02:35:50 +00:00
Matt Weeks 3c1af11268 Update header
git-svn-id: file:///home/svn/framework3/trunk@11085 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-22 00:23:56 +00:00
Joshua Drake 4be4c763c8 show cmd if -c is used, add quotes on cmdline
git-svn-id: file:///home/svn/framework3/trunk@11083 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-21 16:21:24 +00:00
Joshua Drake 66d0012200 error on platform mismatch separately
git-svn-id: file:///home/svn/framework3/trunk@11082 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-21 10:14:31 +00:00
Joshua Drake 0c4ea7908b pre-set winver
git-svn-id: file:///home/svn/framework3/trunk@11081 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-21 09:39:25 +00:00
Joshua Drake 03978e72b2 oops, raise not return
git-svn-id: file:///home/svn/framework3/trunk@11080 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-21 09:36:37 +00:00
Joshua Drake cb3b06f7ad add exploit for windows task scheduler 2.0
git-svn-id: file:///home/svn/framework3/trunk@11079 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-21 02:52:52 +00:00
Carlos Perez f5715cd310 Removed shebang and added keywords
git-svn-id: file:///home/svn/framework3/trunk@11060 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-18 02:02:08 +00:00
James Lee 2895dc409a make sure the session is a windows host
git-svn-id: file:///home/svn/framework3/trunk@11058 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-17 20:22:18 +00:00
Joshua Drake 77bc5cf6cd Big VNC update:
* Created Rex::Proto::RFB
 * Updated vnc_none_auth scanner to use Rex::Proto::RFB::Client
 * Added vnc_login (refactored from carstein)
 * Created an initial vnc_passwords.txt file
 * Removed cipher/des.rb - incompatible license
 * Updated getvncpw script to use new Rex::Proto::RFB::Cipher.decrypt




git-svn-id: file:///home/svn/framework3/trunk@11033 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-14 03:37:45 +00:00
Joshua Drake 3992eb7ef8 Mass RE-update: fix all framework URL references
git-svn-id: file:///home/svn/framework3/trunk@10998 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-11 22:43:22 +00:00
Matt Weeks 594a46bfc7 Merge webcam extension into stdapi.
git-svn-id: file:///home/svn/framework3/trunk@10997 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-11 22:36:54 +00:00
Joshua Drake 9fc6f2f3a3 Mass update: fix all framework URL references
git-svn-id: file:///home/svn/framework3/trunk@10996 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-11 22:25:13 +00:00
Matt Weeks db602dd478 Add functional in-memory webcam support.
git-svn-id: file:///home/svn/framework3/trunk@10954 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-09 02:24:28 +00:00
Carlos Perez 6c88228791 Commited test script I had by accident
git-svn-id: file:///home/svn/framework3/trunk@10943 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-08 01:53:59 +00:00
Carlos Perez 7f22b5296c Changes to client variable name in functions to make sure they work when called by AutoRunScript
git-svn-id: file:///home/svn/framework3/trunk@10942 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-08 01:21:42 +00:00
Carlos Perez 1042a75282 Changes to client variable name in functions to make sure they work when called by AutoRunScript
git-svn-id: file:///home/svn/framework3/trunk@10941 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-08 01:18:55 +00:00
Carlos Perez 13a93d41f6 Make sure that an IP is provided
git-svn-id: file:///home/svn/framework3/trunk@10901 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-04 18:42:36 +00:00
Carlos Perez 70c95265f1 Fixed formating and changed option for listing, will not list all events by defaults
git-svn-id: file:///home/svn/framework3/trunk@10880 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-03 04:40:44 +00:00
Carlos Perez aa02905564 Speeded up application list enumeration in winenum
git-svn-id: file:///home/svn/framework3/trunk@10879 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-03 04:39:43 +00:00
Carlos Perez 5d78620a27 Full re-write of packetrecorder script
git-svn-id: file:///home/svn/framework3/trunk@10860 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-02 02:05:12 +00:00
Joshua Drake e9fd935aa7 fix typo
git-svn-id: file:///home/svn/framework3/trunk@10856 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-01 22:07:30 +00:00
Matt Weeks ca21c6df15 Add service option to persistence to keep escalated privileges through a reboot.
git-svn-id: file:///home/svn/framework3/trunk@10847 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-30 19:27:43 +00:00
cg 3b6d0177fd delete meter_inject.rb by request of carlos in the chan
git-svn-id: file:///home/svn/framework3/trunk@10838 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-28 01:06:37 +00:00
Carlos Perez 5fc38f15bb Keywords and removed un-used variable
git-svn-id: file:///home/svn/framework3/trunk@10837 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-28 00:42:16 +00:00
Carlos Perez c20326b829 Renamed meter_inject to multi_meter_inject, for single inbjections to memory use duplicate script, for multiple injection to diferent hosts use this one.
git-svn-id: file:///home/svn/framework3/trunk@10836 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-28 00:36:39 +00:00
Carlos Perez fc3df2303a Improvements thanks to jcran and some changes when used with sessions -s and AutoRunScript
git-svn-id: file:///home/svn/framework3/trunk@10826 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-26 02:30:08 +00:00
Carlos Perez 4054a21ec9 forgot to take debug puts
git-svn-id: file:///home/svn/framework3/trunk@10825 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-26 02:01:04 +00:00
Carlos Perez 60dcbcaa45 can now specify different versions of Reverse Meterpreter, multiple IPs and PIDs for multiple connections back, handler creation is now optional. Thanks to scriptjunkie for his duplicate script, this script is based on his work.
git-svn-id: file:///home/svn/framework3/trunk@10824 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-26 01:30:58 +00:00
Matt Weeks da3f263f2f Fix bug in duplicate script. Specifying target by PID should work now.
git-svn-id: file:///home/svn/framework3/trunk@10823 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-26 00:32:50 +00:00