Skip to content

Commit

Permalink
updated final message
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayush RoyChowdhury committed Nov 27, 2024
1 parent 4f518fc commit a7d947f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/powerpwn/copilot_studio/modules/deep_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ def query_using_pup(open_bots: List[str]):
import logging

pup_path = get_project_file_path("tools/pup_query_webchat", "query_chat.js")
bots_has_knowledge_path = get_project_file_path("final_results/", "chat_exists_output.xlsx")
bots_has_knowledge_path = get_project_file_path("final_results/", "extracted_knowledge.xlsx")

# Delete the existing Excel file to start fresh
if os.path.exists(bots_has_knowledge_path):
Expand Down Expand Up @@ -793,7 +793,7 @@ def run(self):
print("Done, results saved under final_results/chat_exists_output.txt")

self.bot_has_knowledge = query_using_pup(self.open_bots)
print("Done, extracted knowledge results saved under final_results/chat_exists_output.txt")
print("Done, extracted knowledge results saved under final_results/extracted_knowledge.xlsx")

else:
logging.error("Did not find a solution publisher prefix")
Expand Down Expand Up @@ -876,7 +876,7 @@ def run(self):
print("Done, results saved under final_results/chat_exists_output.txt")

self.bot_has_knowledge = query_using_pup(self.open_bots)
print("Done, extracted knowledge results saved under final_results/chat_exists_output.txt")
print("Done, extracted knowledge results saved under final_results/extracted_knowledge.xlsx")

else:
logging.error("Did not find a solution publisher prefix")
Expand Down Expand Up @@ -965,7 +965,7 @@ def run(self):
print("Done, results saved under final_results/chat_exists_output.txt")

self.bot_has_knowledge = query_using_pup(self.open_bots)
print("Done, extracted knowledge results saved under final_results/chat_exists_output.txt")
print("Done, extracted knowledge results saved under final_results/extracted_knowledge.xlsx")

else:
logging.error("Did not find a default solution publisher prefix")
Expand Down Expand Up @@ -1049,7 +1049,7 @@ def run(self):
print("Done, results saved under final_results/chat_exists_output.txt")

self.bot_has_knowledge = query_using_pup(self.open_bots)
print("Done, extracted knowledge results saved under final_results/chat_exists_output.txt")
print("Done, extracted knowledge results saved under final_results/extracted_knowledge.xlsx")

else:
logging.error("Did not find a solution publisher prefix")
Expand Down

0 comments on commit a7d947f

Please sign in to comment.