Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AabyssZG authored Nov 7, 2024
1 parent e470115 commit 4e90a8e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ python3 Shodan-API-Search.py -k <Shodan API Key>

### 3.1 查询指定语句并导出

比如想要查询 `port:22` 这个测绘语句,找到200个资产(一页是100个资产),并导出为 `output.txt`
比如想要查询 `port:22` 这个测绘语句,找到200个资产(一页是100个资产),并导出为 `output.txt``output.csv`

```
python3 Shodan-API-Search.py -k <Shodan API Key> -s port:22 -p 2 -o output.txt
python3 Shodan-API-Search.py -k <Shodan API Key> -s "port:22" -p 2 -o output
```

注:`csv` 文件内记录了所有获取到的IP/端口/组织/国家/端口数据, `txt` 文件里存储所有的资产IP

### 3.2 查询指定IP的信息

比如想要查询 `1.1.1.1` 这个IP的资产测绘信息:
Expand Down

0 comments on commit 4e90a8e

Please sign in to comment.