Talk:Lace school
This article is rated Stub-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
|
External links modified
[edit]Hello fellow Wikipedians,
I have just modified one external link on Lace school. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
- Added archive https://web.archive.org/web/20060313162023/http://www.greensnortonvillage.co.uk/pages/historypt5.htm to http://www.greensnortonvillage.co.uk/pages/historypt5.htm
When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.
This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}}
(last update: 5 June 2024).
- If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
- If you found an error with any archives or the URLs themselves, you can fix them with this tool.
Cheers.—InternetArchiveBot (Report bug) 06:30, 15 December 2017 (UTC)
- import os
- def search_for_flag(directory):
- # Define the flag pattern to look for (common CTF flag format)
- flag_pattern = 'CTF{'
- # Walk through all files in the directory
- for root, dirs, files in os.walk(directory):
- for file in files:
- file_path = os.path.join(root, file)
- try:
- # Open each file and search for the flag pattern
- with open(file_path, 'r', encoding='utf-8') as f:
- content = f.read()
- if flag_pattern in content:
- print(f"Flag found in file: {file_path}")
- print(f"Flag: {content[content.find(flag_pattern):content.find(flag_pattern)+50]}")
- except Exception as e:
- # If there is an error opening or reading the file, skip it
- print(f"Error reading file {file_path}: {e}")
- Set the directory where the files are located (e.g., the directory you extracted)
- directory_to_search = '/path/to/extracted/files' # Replace this with the path to your extracted files
- Run the function to search for the flag
- search_for_flag(directory_to_search) 37.224.82.37 (talk) 13:12, 26 November 2024 (UTC)