James Lee
|
bf105f48cb
|
massive removal of spaces at EOL and some bad tabs
|
2011-11-20 12:32:06 +11:00 |
James Lee
|
4ac21afcbc
|
more spaces at EOL
|
2011-11-20 11:59:28 +11:00 |
Tod Beardsley
|
d8b77564ef
|
Tidying up, fixing csh echo behavior
|
2011-11-17 16:29:02 -06:00 |
Tod Beardsley
|
9878517f80
|
Cleanup and light refactoring, deal with slowpoke linux telnet cmd_exec()
|
2011-11-17 13:19:13 -06:00 |
Tod Beardsley
|
93a133d5de
|
Always try both export and setenv. Fixups to allow for correct reading from echoy nix shells. Fixes is_root? to not treat an empty string as 0
|
2011-11-16 16:48:19 -06:00 |
James Lee
|
16f0d6cbee
|
Fix a misplaced comma in a comment
|
2011-11-14 16:06:45 +11:00 |
James Lee
|
8ac4479b13
|
Use railgun for deleting services.
The registry method will make Windows to delete it on reboot, but this
causes it to happen right away.
|
2011-11-13 21:05:40 -07:00 |
James Lee
|
f7ff350ebb
|
doesn't work without backslashes
|
2011-11-12 15:15:09 -07:00 |
James Lee
|
07e170f4e4
|
Add a server argument to the service management methods. Allows
creating/starting/stopping services on another machine using the current
session's token for authentication.
|
2011-11-12 14:40:15 -07:00 |
HD Moore
|
729cfe713c
|
Applies a patch from Kieth Faber that fixes #5080
git-svn-id: file:///home/svn/framework3/trunk@13951 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-10-16 09:58:18 +00:00 |
James Lee
|
c10e56dcc4
|
aaaaand commit the correct file. see #3745 and r13739
git-svn-id: file:///home/svn/framework3/trunk@13740 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-09-16 20:33:58 +00:00 |
James Lee
|
0e8e17a565
|
add shell/non-native support for is_admin? and is_system?, fixes #5235
git-svn-id: file:///home/svn/framework3/trunk@13539 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-08-12 00:01:55 +00:00 |
HD Moore
|
61228c046d
|
Gracefully handle Windows 2000
git-svn-id: file:///home/svn/framework3/trunk@13449 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-07-31 18:27:13 +00:00 |
Carlos Perez
|
6865c10662
|
Patch railgun entries for services
git-svn-id: file:///home/svn/framework3/trunk@13417 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-07-30 03:26:22 +00:00 |
Chao Mu
|
13b3fe841e
|
adds new mixin for enumerating windows profiles. fixes #4864 . Thank you David Maloney!
git-svn-id: file:///home/svn/framework3/trunk@13216 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-07-19 04:35:31 +00:00 |
James Lee
|
c64efb676b
|
don't raise RequestErrors that kill a whole module when we can't open a file
git-svn-id: file:///home/svn/framework3/trunk@13178 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-07-14 21:59:35 +00:00 |
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 |