Commit Graph

359 Commits (003fa3e22c5feb31f72c65647a3c6dda6dc284f8)

Author SHA1 Message Date
James Lee 624e19fd8b Merge session-host-rework branch back to master
Squashed commit of the following:

commit 2f4e8df33c5b4baa8d6fd67b400778a3f93482aa
Author: James Lee <egypt@metasploit.com>
Date:   Tue Feb 28 16:31:03 2012 -0700

    Clean up some rdoc comments

    This adds categories for the various interfaces that meterpreter and
    shell sessions implement so they are grouped logically in the docs.

commit 9d31bc1b35845f7279148412f49bda56a39c9d9d
Author: James Lee <egypt@metasploit.com>
Date:   Tue Feb 28 13:00:25 2012 -0700

    Combine the docs into one output dir

    There's really no need to separate the API sections into their own
    directory.  Combining them makes it much easier to read.

commit eadd7fc136a9e7e4d9652d55dfb86e6f318332e0
Author: James Lee <egypt@metasploit.com>
Date:   Tue Feb 28 08:27:22 2012 -0700

    Keep the order of iface attributes the same accross rubies

    1.8 doesn't maintain insertion order for Hash keys like 1.9 does so we
    end up with ~random order for the display with the previous technique.
    Switch to an Array instead of a Hash so it's always the same.

commit 6f66dd40f39959711f9bacbda99717253a375d21
Author: James Lee <egypt@metasploit.com>
Date:   Tue Feb 28 08:23:35 2012 -0700

    Fix a few more compiler warnings

commit f39cb536a80c5000a5b9ca1fec5902300ae4b440
Author: James Lee <egypt@metasploit.com>
Date:   Tue Feb 28 08:17:39 2012 -0700

    Fix a type-safety warning

commit 1e52785f38146515409da3724f858b9603d19454
Author: James Lee <egypt@metasploit.com>
Date:   Mon Feb 27 15:21:36 2012 -0700

    LHOST should be OptAddress, not OptAddressRange

commit acef978aa4233c7bd0b00ef63646eb4da5457f67
Author: James Lee <egypt@metasploit.com>
Date:   Sun Feb 26 17:45:59 2012 -0700

    Fix a couple of warnings and a typo

commit 29d87f88790aa1b3e5db6df650ecfb3fb93c675b
Author: HD Moore <hdm@digitaloffense.net>
Date:   Mon Feb 27 11:54:29 2012 -0600

    Fix ctype vs content_type typo

commit 83b5400356c47dd1973e6be3aa343084dfd09c73
Author: Gregory Man <man.gregory@gmail.com>
Date:   Sun Feb 26 15:38:33 2012 +0200

    Fixed scripts/meterpreter/enum_firefox to work with firefox > 3.6.x

commit 49c2c80b347820d02348d694cc71f1b3028b4365
Author: Steve Tornio <swtornio@gmail.com>
Date:   Sun Feb 26 07:13:13 2012 -0600

    add osvdb ref

commit e18e1fe97b89c3a2b8c22bc6c18726853d2c2bee
Author: Matt Andreko <mandreko@gmail.com>
Date:   Sat Feb 25 18:02:56 2012 -0500

    Added aspx target to msfvenom.  This in turn added it to msfencode as well.
    Ref: https://github.com/rapid7/metasploit-framework/pull/188
    Tested on winxp with IIS in .net 1.1 and 2.0 modes

commit e6aa5072112d79bbf8a4d2289cf8d301db3932f5
Author: Joshua J. Drake <github.jdrake@qoop.org>
Date:   Sat Feb 25 13:00:48 2012 -0600

    Fixes #6308: Fall back to 127.0.0.1 when SocketError is raised from the resolver

commit b3371e8bfeea4d84f9d0cba100352b57d7e9e78b
Author: James Lee <egypt@metasploit.com>
Date:   Tue Feb 28 17:07:42 2012 -0700

    Simplify logic for whether an inner iface has the same address

commit 5417419f35a40d1c08ca11ca40744722692d3b0d
Author: James Lee <egypt@metasploit.com>
Date:   Tue Feb 28 16:58:16 2012 -0700

    Whitespace

commit 9036875c2918439ae23e11ee7b958e30ccc29545
Author: James Lee <egypt@metasploit.com>
Date:   Tue Feb 28 16:53:45 2012 -0700

    Set session info before worrying about address

    get_interfaces can take a while on Linux, grab uid and hostname earlier
    so we can give the user an idea of what they popped as soon as possible.

commit f34b51c6291031ab25b5bfb1ac6307a516ab0ee9
Author: James Lee <egypt@metasploit.com>
Date:   Tue Feb 28 16:48:42 2012 -0700

    Clean up rdoc

commit e61a0663454400ec66f59a80d18b0baff4cb8cd9
Author: HD Moore <hd_moore@rapid7.com>
Date:   Tue Feb 28 04:54:45 2012 -0600

    Ensure the architecture is only the first word (not the full WOW64
    message in some cases)

commit 4c701610976a92298c1182eecc9291a1b301e43b
Author: HD Moore <hd_moore@rapid7.com>
Date:   Tue Feb 28 04:49:17 2012 -0600

    More paranoia code, just in case RHOST is set to whitespace

commit c5ff89fe3dc9061e0fa9f761e6530f6571989d28
Author: HD Moore <hd_moore@rapid7.com>
Date:   Tue Feb 28 04:47:01 2012 -0600

    A few more small bug fixes to handle cases with an empty string target
    host resulting in a bad address

commit 462d0188a1298f29ac83b10349aec6737efc5b19
Author: HD Moore <hd_moore@rapid7.com>
Date:   Tue Feb 28 03:55:10 2012 -0600

    Fix up the logic (reversed by accident)

commit 2b2b0adaec2448423dbd3ec54d90a5721965e2df
Author: HD Moore <hd_moore@rapid7.com>
Date:   Mon Feb 27 23:29:52 2012 -0600

    Automatically parse system information and populate the db, identify and
    report NAT when detected, show the real session_host in the sessions -l
    listing

commit 547a4ab4c62dc3248f847dd5d305ad3b74157348
Author: HD Moore <hd_moore@rapid7.com>
Date:   Mon Feb 27 22:16:03 2012 -0600

    Fix typo introduced

commit 27a7b7961e61894bdecd55310a8f45d0917c5a5c
Author: HD Moore <hd_moore@rapid7.com>
Date:   Mon Feb 27 22:11:38 2012 -0600

    More session.session_host tweaks

commit e447302a1a9915795e89b5e29c89ff2ab9b6209b
Author: HD Moore <hd_moore@rapid7.com>
Date:   Mon Feb 27 22:08:20 2012 -0600

    Additional tunnel_peer changes

commit 93369fcffaf8c6b00d992526b4083acfce036bb3
Author: HD Moore <hd_moore@rapid7.com>
Date:   Mon Feb 27 22:06:21 2012 -0600

    Additional changes to session.session_host

commit c3552f66d158685909e2c8b51dfead7c240c4f40
Author: HD Moore <hd_moore@rapid7.com>
Date:   Mon Feb 27 22:00:19 2012 -0600

    Merge changes into the new branch
2012-02-28 18:29:39 -07:00
Gregory Man 93117e9b8a Fixed scripts/meterpreter/enum_firefox to work with firefox > 3.6.x 2012-02-26 15:38:33 +02:00
HD Moore 5f72a0a092 Add -n <process.exe> argument for compatibility 2011-12-22 01:46:35 -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