Skip to content
/ gapu Public

Small, fast, simple tool for retrieving all users and their information for public ArcGIS Portal groups.

License

Notifications You must be signed in to change notification settings

Mirabis/gapu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Action Status Go Report Card

gapu

You feed GAPU (Get ArcGIS Portal Users) the base rest URL, it returns all users that can be retrieved from an anonymous principal.

This can be a useful way of finding usernames belonging to a company using ArcGIS Portal without requiring any credentials.

Installation

go get github.com/mirabis/gapu

or download a prebuilt binary from the Releases Page.

Usage

The most basic usage is to simply pass the rest portal URL to the -u parameter, for example:

mirabis~$ gapu -u https://maps.company.net/portal/sharing/rest/
ArcGIS group id, username, FullName, Join date timestamp
8f3e2a2430524f3ca47a03de7888e86e, [email protected], "renze.evert", 1567750584798 
8f3e2a2430524f3ca47a03de7888e86e, [email protected], "Rik.pauli", 1554116686967 
8f3e2a2430524f3ca47a03de7888e86e, [email protected], "Riva.ehyr", 1591080285396 
...

Parameters

mirabis~$ gomu -h

Usage:
  gapu [OPTIONS]

 ██████╗  █████╗ ██████╗ ██╗   ██╗
██╔════╝ ██╔══██╗██╔══██╗██║   ██║
██║  ███╗███████║██████╔╝██║   ██║
██║   ██║██╔══██║██╔═══╝ ██║   ██║
╚██████╔╝██║  ██║██║     ╚██████╔╝
 ╚═════╝ ╚═╝  ╚═╝╚═╝      ╚═════╝ 
                                  
Application Options: (/* windows, -* Unix)
  /t, /threads:   Number of concurrent threads (default: 20)
  /u, /url:       ArcGIS Portal REST URL
                  (https://maps.company.net/portal/sharing/rest/)
  /a, /agent:
  /v, /verbose    Turns on verbose logging
  /e, /esri       Will also print default ESRI users
      /insecure   Switches all HTTPS calls to HTTP

Help Options:
  /?              Show this help message
  /h, /help       Show this help message

Credits

  • hakluke my inspiration to start transitioning from Python/.NET to golang
  • tomnomnom my inspiration to start transitioning from Python/.NET to golang

Contribution & License

You can contribute in following ways:

  • Report bugs
  • Give suggestions to make it better (I'm new to golang)
  • Fix issues & submit a pull request

Do you want to have a conversation in private? Hit me up on my twitter, inbox is open :)

gapu is licensed under GPL v3.0 license

About

Small, fast, simple tool for retrieving all users and their information for public ArcGIS Portal groups.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages