File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -94,18 +94,21 @@ You can use `jq` to easily filter the JSON data:
94
94
95
95
## API
96
96
97
- * [ IP Lookup] ( https://risk.oxl.app/api/ip/ )
97
+ * [ IP Lookup] ( https://risk.oxl.app/api/ip/69.164.207.190 )
98
+ * [ Network Lookup] ( https://risk.oxl.app/api/net/205.210.31.48 )
98
99
* [ ASN Lookup] ( https://risk.oxl.app/api/asn/16509 )
99
100
100
101
``` bash
101
102
# check IP
102
103
curl https://risk.oxl.app/api/ip/< IP>
103
- # # example
104
104
curl https://risk.oxl.app/api/ip/69.164.207.190
105
105
106
+ # check network
107
+ curl https://risk.oxl.app/api/net/< IP>
108
+ curl https://risk.oxl.app/api/net/205.210.31.48
109
+
106
110
# check ASN/ISP
107
111
curl https://risk.oxl.app/api/asn/< ASN>
108
- # # example
109
112
curl https://risk.oxl.app/api/asn/16509
110
113
```
111
114
Original file line number Diff line number Diff line change 5
5
6
6
7
7
def load_reports () -> list [dict ]:
8
- filtered_reports = []
8
+ reports = []
9
9
last_hits = {}
10
10
11
11
with open (f'{ SRC_PATH } /example_reports.txt' , 'r' , encoding = 'utf-8' ) as f :
@@ -31,6 +31,6 @@ def load_reports() -> list[dict]:
31
31
32
32
last_hits [k ] = r ['time' ]
33
33
34
- filtered_reports .append (r )
34
+ reports .append (r )
35
35
36
- return filtered_reports
36
+ return reports
You can’t perform that action at this time.
0 commit comments