searchall3.5 Security Auditing Tool

repository·main3.5.6·Indexed 21 days ago

https://github.com/naturehi666/searchall

A security auditing tool used to scan servers and browsers for sensitive information such as credentials, passwords, and access keys. It features filesystem scanning, browser data extraction (passwords and cookies), Docker detection, and system log analysis. The tool supports custom file extension filtering via CLI flags and configurable limits for line counts and file sizes starting from version 3.5.10.

Tokens
507
Snippets
2
Records
5
Agent score
27%

What's inside searchall3.5

  1. Overview of searchall3.5

    main3.5.6

    searchall3.5 is a tool designed to quickly search servers for sensitive information, including usernames, passwords, accounts, and credentials. It also includes functionality to extract account passwords and cookies from web browsers.

    Key capabilities include:

    • Scanning for sensitive credentials (passwords, access keys, etc.) across the filesystem.
    • Extracting browser data (passwords, cookies) including support for recent Chrome versions.
    • Identifying installed software like Sunlogin (向日葵) and parsing connection history.
    • Detecting Docker installations.
    • Scanning system logs like /var/log/secure for successful login records.
    • Filtering results using a rule library for specific patterns like accessKeyId, accessKeySecret, and jdbc.
  2. Use CLI flags for custom file scanning

    main3.5.6

    The searchall CLI provides flags to refine the scanning process based on file extensions:

    • -e: Extends the scan to include custom file extensions (e.g., .java, .log).
    • -n: Restricts the scan to only specific file extensions.
    # Example: Scan only .log files
    searchall -n .log
    
    # Example: Include .java files in the scan
    searchall -e .java
  3. Run the searchall CLI

    main3.5.6

    The searchall tool is executed via the main package, which invokes flagsearch.FlagSearchall(). This entry point initializes the command-line interface and processes flags defined within the flagsearch package to perform search operations.

    # To run the tool, use the standard Go run command or build the binary
    go run main.go