Skip to content

Commit

Permalink
clarify interactsh polling error
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Jan 29, 2024
1 parent b77f878 commit edab5a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bbot/core/helpers/interactsh.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ async def poll(self):
r = await self.parent_helper.request(
f"https://{self.server}/poll?id={self.correlation_id}&secret={self.secret}", headers=headers
)
if r is None:
raise InteractshError("Error polling interact.sh: No response from server")

ret = []
data_list = r.json().get("data", None)
Expand Down

0 comments on commit edab5a8

Please sign in to comment.