Skip to main content
Skip table of contents

How to Increase Detail Written to the Log for the PwnScan Service

In certain instances it may be necessary to increase the log detail for the PwnScan service.

To do so perform the following steps:

  1. Use SSH and login to the sensor with the pwnie user account.
  2. Type sudo su and press Enter, then re-type the password to become superuser.
  3. Next, type systemctl stop pwnscan and press Enter to stop the PwnScan service.
  4. Type vi /opt/pwnix/pwnix-config/pwnscan.json and press Enter to use "vi" to edit the config file.
  5. Locate the line referencing the log level and change it from "info" to "debug", then save the change and exit.
  6. Type systemctl start pwnscan and press Enter to start the PwnScan service.
  7. Lastly, type tail -f /var/log/pwnix/pwnscan.log and press Enter to validate the detail in the log has been increased. Use CTRL-C to abort the running output.

Important

Increasing the detail of events written to the pwnscan.log should only be be for short periods of time and only upon direction from Pwnie Support




Copyright

© 2024 Outpost24® All rights reserved. This document may only be redistributed unedited and unaltered. This document may be cited and referenced only if clearly crediting Outpost24® and this document as the source. Any other reproduction and redistribution in print or electronically is strictly prohibited without explicit permission.

Trademark

Outpost24® and OUTSCAN™ are trademarks of Outpost24® and its affiliated companies. All other brand names, product names or trademarks belong to their respective owners.



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.