James Lee
|
b49c451cd7
|
derp, this is a string
git-svn-id: file:///home/svn/framework3/trunk@13104 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-07-06 00:19:29 +00:00 |
James Lee
|
d876b8d297
|
if the command we're running has spaces and we got no options for it, split it up correctly using Shellwords, fixes issues with running commands on java meterp
git-svn-id: file:///home/svn/framework3/trunk@13102 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-07-05 17:17:27 +00:00 |
James Lee
|
d68e855bb6
|
don't try to chomp nil when the command failed (happens when a session dies)
git-svn-id: file:///home/svn/framework3/trunk@13085 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-07-01 23:46:54 +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
|
ff7f68b470
|
Change Post Mixin for Solaris platform in its own separate class
git-svn-id: file:///home/svn/framework3/trunk@12988 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-20 23:33:59 +00:00 |
Carlos Perez
|
7a1c8d7bb2
|
Change Post Mixin for OSX platform in its own separate class
git-svn-id: file:///home/svn/framework3/trunk@12986 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-20 23:29:57 +00:00 |
Carlos Perez
|
5d3bb04ac0
|
Change Post Mixin for Linux platform in its own separate class
git-svn-id: file:///home/svn/framework3/trunk@12985 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-20 23:27:57 +00:00 |
Carlos Perez
|
cc04b538af
|
use the proper id command
git-svn-id: file:///home/svn/framework3/trunk@12942 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-14 20:39:37 +00:00 |
Carlos Perez
|
d99df297d8
|
Added Amazon Linux the version used with EC2 AMI
git-svn-id: file:///home/svn/framework3/trunk@12933 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-13 01:37:04 +00:00 |
Carlos Perez
|
30caa5b60c
|
remove hard coding of path for id command
git-svn-id: file:///home/svn/framework3/trunk@12902 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-10 11:14:57 +00:00 |
Carlos Perez
|
9a2f23bd61
|
bad indents
git-svn-id: file:///home/svn/framework3/trunk@12897 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-10 03:27:09 +00:00 |
Carlos Perez
|
2263e51cd2
|
Initial Solaris mixin
git-svn-id: file:///home/svn/framework3/trunk@12895 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-10 03:07:54 +00:00 |
Carlos Perez
|
dc7ba642b0
|
Added Oracle Linux and Arch Linux support and change the call to standardize it with other mixins
git-svn-id: file:///home/svn/framework3/trunk@12887 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-09 12:50:36 +00:00 |
Carlos Perez
|
4499aa543d
|
fix formating, replace spaces for tabs
git-svn-id: file:///home/svn/framework3/trunk@12833 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-02 23:17:52 +00:00 |
Carlos Perez
|
d62c65b11a
|
typo
git-svn-id: file:///home/svn/framework3/trunk@12829 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-02 22:26:13 +00:00 |
Carlos Perez
|
e1c8e9032b
|
Added calls to enumerate users and groups to linux post mixin
git-svn-id: file:///home/svn/framework3/trunk@12828 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-02 22:21:28 +00:00 |
Carlos Perez
|
46cb4954b5
|
OSX Post mixin lib
git-svn-id: file:///home/svn/framework3/trunk@12827 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-02 22:20:36 +00:00 |
Carlos Perez
|
ddcc9407dd
|
Linux initial post libraries
git-svn-id: file:///home/svn/framework3/trunk@12805 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-01 22:48:55 +00:00 |
Carlos Perez
|
e5a4dad237
|
Forgot to add handling for paths with spaced for when reading paths with spaces on post read_file command on nix sessions
git-svn-id: file:///home/svn/framework3/trunk@12777 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-30 22:16:19 +00:00 |
Carlos Perez
|
520760a899
|
File Post commands will execute the appropriate command and handle the different formats of issuing the commands depending on the OS for when executing against shell sessions.
git-svn-id: file:///home/svn/framework3/trunk@12776 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-30 22:14:11 +00:00 |
Carlos Perez
|
ec3e1efbc8
|
Expanded cmd_exec to work also on shell sessions and handle command time out.
git-svn-id: file:///home/svn/framework3/trunk@12775 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-30 22:11:43 +00:00 |
Carlos Perez
|
0dbe55c2ad
|
Fix use of wrong nix command writing data to a file
git-svn-id: file:///home/svn/framework3/trunk@12764 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-30 00:15:04 +00:00 |
Carlos Perez
|
0d984cdd81
|
Added calls to write and append to files in binary format for post modules and scripts.
git-svn-id: file:///home/svn/framework3/trunk@12677 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-21 16:24:34 +00:00 |
Carlos Perez
|
e49ab08e21
|
Add support to scripts for Meterpreter Accounts Mixin and add new method is_system? for checking if sessions is running as SYSTEM, uses SID so as at to ensure compatibility with multiple language versions of windows.
git-svn-id: file:///home/svn/framework3/trunk@11997 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-16 22:44:36 +00:00 |
James Lee
|
d7eecc9d67
|
make sure registry is there before including it, fixes #3806, fixes #3726
git-svn-id: file:///home/svn/framework3/trunk@11840 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-02-26 23:52:28 +00:00 |
James Lee
|
52d8e59b43
|
work around what i can only assume is a bizarre ruby bug where session_has_registry_ext?() never gets called and is assumed false, but session_has_registry_ext() works fine.
git-svn-id: file:///home/svn/framework3/trunk@11822 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-02-24 21:33:32 +00:00 |
James Lee
|
21ed434f24
|
better test for registry extension
git-svn-id: file:///home/svn/framework3/trunk@11819 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-02-24 19:36:22 +00:00 |
James Lee
|
4721fd4539
|
unbreak scripts that use is_uac_enabled?()
git-svn-id: file:///home/svn/framework3/trunk@11818 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-02-24 18:14:40 +00:00 |
James Lee
|
1cbadda8c0
|
add 2008 to the list of versions on which UAC is enabled
git-svn-id: file:///home/svn/framework3/trunk@11787 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-02-21 20:26:14 +00:00 |
James Lee
|
50614260f1
|
remove superfluous stuff from the test module, fix an ArgumentError in the mixin. see r11783 and r11784
git-svn-id: file:///home/svn/framework3/trunk@11785 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-02-21 19:22:19 +00:00 |
James Lee
|
e71cd9b524
|
add shell support for registry methdos, thanks kernelsmith!
git-svn-id: file:///home/svn/framework3/trunk@11784 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-02-21 19:13:11 +00:00 |
James Lee
|
974d9ad6c2
|
clean up comments
git-svn-id: file:///home/svn/framework3/trunk@11759 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-02-16 22:34:43 +00:00 |
Matt Weeks
|
eba4b05237
|
Make sure registry functions are always present (errors when rerunning post modules)
git-svn-id: file:///home/svn/framework3/trunk@11732 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-02-09 02:41:22 +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 |
Carlos Perez
|
05fd7b4e57
|
Patch for railgun and post mixin; and module from cha-mou to add capability to delete users on windows hosts.
git-svn-id: file:///home/svn/framework3/trunk@11638 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-01-25 13:02:35 +00:00 |
Joshua Drake
|
0af8915fd5
|
Fixes #1936, Add accounts mixin and accompanying post module
git-svn-id: file:///home/svn/framework3/trunk@11629 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-01-24 17:23:48 +00:00 |
James Lee
|
8bf60c6d11
|
carlos forgot to delete this, see r11550, r11551
git-svn-id: file:///home/svn/framework3/trunk@11624 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-01-22 00:56:37 +00:00 |
Carlos Perez
|
a237122869
|
for Java version of Meterpreter options can not be included with the command, they have to be given apart updating mixin for this behavior
git-svn-id: file:///home/svn/framework3/trunk@11581 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-01-15 05:08:42 +00:00 |
Carlos Perez
|
e48aa7856a
|
Migration of Meterpreter mixin to post module mixin
git-svn-id: file:///home/svn/framework3/trunk@11550 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-01-12 00:10:32 +00:00 |
James Lee
|
18ee35149a
|
move script mixin code into Post mixins and include them back in for backwards compatibility
git-svn-id: file:///home/svn/framework3/trunk@11544 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-01-11 17:53:24 +00:00 |
James Lee
|
de9c1286e6
|
missed file, makes post/hashdump work again
git-svn-id: file:///home/svn/framework3/trunk@11424 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-12-27 18:11:43 +00:00 |