Skip to content

Commit

Permalink
forgot the cli checks also if noise put and get depend on each other
Browse files Browse the repository at this point in the history
  • Loading branch information
SirGankalot committed Jul 17, 2024
1 parent daee580 commit c6ee047
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions checker/src/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,11 @@ async def putnoise2(
client: AsyncClient,
logger: LoggerAdapter
) -> None:
print("this is so the checker does not crash -> needs a putnoise function for each vuln")
something = "something"
try:
await db.set("data_noise", (something))
except:
raise MumbleException("Could not set group data")

@checker.getnoise(2)
async def getnoise2(
Expand All @@ -660,8 +664,10 @@ async def getnoise2(
client: AsyncClient,
logger: LoggerAdapter,
) -> None:
print("this is so the checker does not crash -> needs a getnoise function for each vuln")

try:
something = await db.get("data_noise")
except KeyError:
raise MumbleException("Missing database entry from putflag")

"""
CHECKER FUNCTION Havoc
Expand Down

0 comments on commit c6ee047

Please sign in to comment.