8e2bbf8c57
Updated table and command help.
136 lines
2.7 KiB
Markdown
136 lines
2.7 KiB
Markdown
# Shogo
|
|
[![IRC](https://img.shields.io/badge/ircd.chat-%23tcpdirect-blue.svg)](ircs://ircd.chat:6697/#tcpdirect) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
|
|
|
|
Shogo is a Shodan CLI made in Go
|
|
|
|
### 🎯 Features:
|
|
+ Prettier printing
|
|
+ Faster JSON parsing
|
|
+ Faster HTTP requests
|
|
+ Multiple command arguments
|
|
|
|
## 📋 Requirements
|
|
|
|
```
|
|
go (1.20+)
|
|
```
|
|
|
|
## ⚙️ Installation
|
|
```
|
|
git clone https://git.tcp.direct/perp/shogo
|
|
cd shogo/cmd/shogo
|
|
go install .
|
|
```
|
|
|
|
## ❓ Commands
|
|
| Todo | Working | Broken |
|
|
| ------------ | ------- | ------ |
|
|
| convert | count | search |
|
|
| data(x) | domain | stats |
|
|
| download (x) | host | |
|
|
| init | info | |
|
|
| org (x) | myip | |
|
|
| radar (x) | alert | |
|
|
| stream (x) | scan | |
|
|
| | version | |
|
|
##### x = limited key
|
|
|
|
## ⚡️ Usage
|
|
```
|
|
Shodan CLI made in Go
|
|
|
|
Usage:
|
|
shogo [flags]
|
|
shogo [command]
|
|
|
|
Available Commands:
|
|
count Return number of results for a search
|
|
domain Return domain information
|
|
host Return host information
|
|
info Return your account information
|
|
myip Return your IP address
|
|
search Return a search result
|
|
version Return shogo version
|
|
alert Manage your network alerts
|
|
help Help about any command
|
|
|
|
Flags:
|
|
--no-color Disable color output
|
|
-h, --help help for shogo
|
|
|
|
Use "shogo [command] --help" for more information about a command.
|
|
|
|
```
|
|
```
|
|
Return number of results for a search
|
|
|
|
Usage:
|
|
shogo count [flags]
|
|
|
|
Flags:
|
|
-h, --help help for count
|
|
|
|
Global Flags:
|
|
--no-color Disable color output
|
|
```
|
|
```
|
|
```
|
|
Return your account information
|
|
|
|
Usage:
|
|
shogo info [flags]
|
|
|
|
Aliases:
|
|
info, information
|
|
|
|
Flags:
|
|
-p, --profile Show profile information
|
|
-h, --help help for info
|
|
|
|
Global Flags:
|
|
--no-color Disable color output
|
|
```
|
|
Manage your network alerts
|
|
|
|
Usage:
|
|
shogo alert [flags]
|
|
shogo alert [command]
|
|
|
|
Available Commands:
|
|
clear Clear all alerts
|
|
create Create an alert
|
|
delete Delete an alert
|
|
info Return alert information
|
|
list Return all the active alerts
|
|
|
|
Flags:
|
|
--no-color Disable color output
|
|
-h, --help help for alert
|
|
|
|
Use "shogo alert [command] --help" for more information about a command.
|
|
```
|
|
|
|
### Get key information
|
|
```
|
|
shogo info -a -p
|
|
```
|
|
|
|
### Get query count
|
|
```
|
|
shogo count "apache" "nginx"
|
|
```
|
|
|
|
### Get alert list
|
|
```
|
|
shogo alert list
|
|
```
|
|
|
|
### Show alert information
|
|
```
|
|
shogo alert show <alert-id>
|
|
```
|
|
|
|
## ⚠️ License
|
|
##### Shogo is provided under the [GNU General Public License v3.0](./LICENSE)
|
|
###### Developers are not responsible for any misuse
|