Skip to content

Command line tool to authenticate fortigate, Written in C++

Notifications You must be signed in to change notification settings

ms-jagadeeshan/fortigate-authenticate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fortigate Authenticate

Command line tool to authenticate fortigate, Written in C++

Dependency

If you are compiling from source, then you need libcurl.
Install using

sudo apt-get install libcurl4-openssl-dev

Source Installation

git clone https://github.com/ms-jagadeeshan/fortigate-authenticate.git
cd fortigate-authenticate/src
g++ fauth.cpp util.cpp -o ../bin/fauth -lcurl

This will clone and compile the program. Binary program is stored under fortigate-authenticate/bin folder

Usage

# ./fauth username:password
$ ./fauth ma30c203:1234
# or to securely enter password, don't pass any argument, program will ask for username and password
$ ./fauth
> Enter username:
> Enter password: 

About

Command line tool to authenticate fortigate, Written in C++

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages