veniware / OpenProtest

A management base for System Admins and IT professionals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pro-test

A management base for System Admins.

GitHub GitHub All Releases GitHub code size in bytes GitHub Release Date GitHub commits since latest release

Platform support

Windows Linux MacOs

This repository contains the source code for:

  • Protest: Front-end interface and back-end application.
  • Protest Agent: Tool to enable communication between the browser and the client-host, via a local protocol (protest://).

Overview:

Pro-test offers a comprehensive solution for creating and managing an inventory database of your network environment. It employs data gathering techniques through communication with Active Directory or local network scanning. The suite automatically populates the database by targeting the domain controller or specified IP ranges.

How to use:

Pro-test is portable and self-contained. You can access its web interface via the loopback address. If you wish to interface from a remote host, tweak the http_ip and http_port parameters in the protest.cfg file. Requests from IPs other than loopback require authentication. If Pro-test fails to bind to the configured endpoint, it will attempt to bind to a fallback endpoint (127.0.0.1:8080).

Pro-test inherits the access level of the user who runs it. In order to utilizes protocols like WMI and Active Directory services, it is required to run as a Network Administrator.

If you use a reverse proxy, for the authentication to work properly, you need to pass the "X-Forwarded-For" header from your proxy to the back-end.

Secure proxy server basic configuration:

Option A: netsh

netsh http add sslcert ipport=0.0.0.0:443 certhash=[thumbprint] appid=72f5bca3-7752-45e8-8027-2060ebbda456

Option B: nginx

worker_processes 16;

events {
    worker_connections 512;
}

http {
    #sendfile on;

    #https proxy server
    server {
        listen 443 ssl;
        ssl_certificate     ../ssl/[filename].crt;
        ssl_certificate_key ../ssl/[filename].crt;

        location / {
            proxy_pass http://127.0.0.1:80$request_uri;
            proxy_pass_header    Set-Cookie;
            proxy_set_header     Host $host:$server_port;
            proxy_set_header     Cookie $http_cookie;
            proxy_set_header     X-Forwarded-For $proxy_add_x_forwarded_for;
        }

        location /ws/ {
            proxy_pass http://127.0.0.1:80$request_uri;
            proxy_pass_header    Set-Cookie;
            proxy_http_version   1.1;
            proxy_set_header     Host $host:$server_port;
            proxy_set_header     Cookie $http_cookie;
            proxy_set_header     Connection "Upgrade";
            proxy_set_header     X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header     Upgrade $http_upgrade;
        }
    }
}

Make a donation

paypal

About

A management base for System Admins and IT professionals

License:GNU General Public License v3.0


Languages

Language:JavaScript 54.5%Language:C# 39.0%Language:CSS 5.8%Language:HTML 0.7%