fortiauth

command module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2025 License: MIT Imports: 16 Imported by: 0

README

fortiauth

A tiny CLI tool to automate the authentication and keepalive requests for IIT Kanpur's Fortinet captive portal.

Given a username and password this program automatically monitors the network and logs in to the Fortinet captive portal when needed. It also send keepalive requests periodically to maintain the login.

Installation

Either download a release directly from the releases page or use Go:

go install github.com/samiksome92/fortiauth@latest

Usage

fortiauth [options]

Options:

    --check_time int       Seconds to wait before re-checking state (default 10)
    --dns string           DNS server to use for connections
-h, --help                 Print this help
    --keepalive_time int   Seconds to wait before sending keepalive request (default 60)
-f, --pass_file string     File with credentials
-p, --password string      Password
    --retry_time int       Seconds to wait before retrying operations (default 1)
    --url string           URL to use for checking connection (default "http://google.com")
-u, --username string      Username

Documentation

Overview

A tiny CLI tool to automate the authentication and keepalive requests for IIT Kanpur's Fortinet captive portal.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL