Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include interactive channel logging #5575

Merged
merged 1 commit into from Aug 25, 2015

Conversation

Meatballs1
Copy link
Contributor

to log shell activities etc:

looks like:

[*] Logging started: 2015-06-21 17:03:36 +0100

load stdapiload priv��meterpreter�� > getuidServer username: User-PC\User
��meterpreter�� > shellProcess 1508 created.
Channel 1 created.
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\>whoami
user-pc\user

C:\>exit��meterpreter�� > sysinfoComputer        : USER-PC
OS              : Windows 7 (Build 7600).
Architecture    : x86
System Language : en_GB
Domain          : WORKGROUP
Logged On Users : 2
Meterpreter     : x86/win32

@Meatballs1
Copy link
Contributor Author

I tried changing the on_print_proc to Rex::Ui::Text::Shell's print_line method, but this caused the console to output everything twice.

@MSadek-r7 MSadek-r7 assigned wvu and unassigned MSadek-r7 Jul 6, 2015
@wvu wvu assigned MSadek-r7 and unassigned wvu Jul 10, 2015
@MSadek-r7 MSadek-r7 merged commit 65adb7a into rapid7:master Aug 25, 2015
MSadek-r7 added a commit that referenced this pull request Aug 25, 2015
@Meatballs1 Meatballs1 deleted the channel_logging branch August 26, 2015 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants