elif amount > config.get("api_limit"):
raise HTTPException(status_code=500, detail=f"amount={amount} is to big")
- if mode in ("detection_mode", "software", "command"):
+ if mode in ("detection_mode", "software", "command", "origin"):
database.cursor.execute(
f"SELECT domain, origin, software, detection_mode, command, total_peers, total_blocks, first_seen, last_updated \
FROM instances \
[<a class="listlink" href="top?mode=domain&value={{domain}}" title="Search {{domain}}">D</a>]
[<a class="listlink" href="top?mode=reverse&value={{domain}}" title="Reverse search {{domain}}">R</a>]
[<a class="listlink" href="infos?domain={{domain}}" title="Information on domain {{domain}}">I</a>]
- <a href="https://{{domain}}" rel="nofollow noopener noreferrer">{{domain}}</a>
+ [<a class="listlink" href="list?mode=origin&value={{domain}}&amount=500" title="Instances from origin {{domain}}">O</a>]
+ <a href="https://{{domain}}" target="_blank" rel="nofollow noopener noreferrer" title="Visit website at {{domain}}">{{domain}}</a>
{% else %}
-
{% endif %}