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

Use print_line instead of print #2252

Merged
merged 3 commits into from Aug 20, 2013
Merged

Conversation

wchen-r7
Copy link
Contributor

These modules should be using print_line instead of print.

I also decided to shove a vprint_status() to display where store_loot() saves a file in sap_mgmt_con_listlogfiles, figured the change is small enough I can just shove it in here.

@jvazquez-r7
Copy link
Contributor

  • Tables and info printed correctly after changes:
msf auxiliary(sap_mgmt_con_getprocesslist) > run

[*] 192.168.172.179:50013 [SAP] Connecting to SAP Management Console SOAP Interface 
[+] 192.168.172.179:50013 [SAP] 2 processes listed

[SAP] Process List
==================

   Name        Description    Status   StartTime  ElapsedTime
   ----        -----------    ------   ---------  -----------
   enserver    EnqueueServer  Stopped             
   msg_server  MessageServer  Stopped             


[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed

msf auxiliary(sap_mgmt_con_listlogfiles) > run

[*] [SAP] Connecting to SAP Management Console SOAP Interface on 192.168.172.179:50013
[+] 192.168.172.179:50013 [SAP] tracefile: 28 entries extracted
[*] sap_listlogfiles.xml stored in: /Users/juan/.msf4/loot/20130820110920_default_192.168.172.179_sap.tracefilefil_938365.xml

[SAP] Log Files
===============

   Filename            Size  Timestamp
   --------            ----  ---------
   available.log       6264  2013 08 20 17:08:55
   dev_enqadm          536   2013 03 06 12:21:18
   dev_enqadm.old      536   2013 03 06 06:18:46
   dev_enqio_0         646   2013 03 06 12:21:20
   dev_enqio_0.old     646   2013 03 06 06:18:49
   dev_enqlisten       616   2013 03 06 12:21:18
   dev_enqlisten.old   616   2013 03 06 06:18:46
   dev_enqsig          801   2013 03 06 12:21:17
   dev_enqsig.old      801   2013 03 06 06:18:45
   dev_enqsrv          1414  2013 05 10 17:43:33
   dev_enqsrv.old      1414  2013 03 06 12:03:27
   dev_enqwork         887   2013 05 10 17:43:33
   dev_enqwork.old     887   2013 03 06 12:03:27
   dev_ms              1917  2013 05 10 17:43:34
   dev_ms.old          2008  2013 03 06 12:03:28
   dev_sapstart        878   2013 05 10 17:43:31
   sapcpe_base.log     382   2013 03 06 12:21:16
   sapcpe_scs.log      6964  2013 03 06 12:21:16
   sapcpe_scs.old.log  6964  2013 03 06 06:18:43
   sapstart.log        2373  2013 05 10 17:43:35
   sapstart0.trc       149   2013 03 06 12:21:16
   sapstart1.trc       149   2013 03 06 12:21:16
   sapstartsrv.log     677   2013 05 10 17:45:08
   sapstartsrv.old     684   2013 03 06 12:21:15
   stderr0             575   2013 03 06 12:21:16
   stderr1             149   2013 03 06 12:21:16
   stdout0             0     2013 03 06 12:21:16
   stdout1             91    2013 05 10 17:43:33


[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed

Landing

@jvazquez-r7 jvazquez-r7 merged commit a8ca32a into rapid7:master Aug 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants