POEM
Poetry is a lovely thing author: cybereagle2001
Given Text File
Poetry is a lovely thing,
back in the early days
peoples used to share data
through poems is it the case?
Silent Trails Echo Gentle Air,
Night’s Owls In Moonlight Sing.
Over Waves, Serenity Awaits,
In Dreams, A Mind Ascends.
Zephyr Invites New Growth.
Amidst Zealous Inspirations,
Never-ending Gratitude.Solver
import re
def extract_majuscule(file_path):
with open(file_path, 'r') as file:
text = file.read()
majuscule = re.findall(r'\b[A-Z]*', text)
majuscule = [m for m in majuscule if m]
majuscule = ''.join(majuscule)
return "".join("Securinets{")+majuscule+"}"
print(extract_majuscule('poem.txt'))PS C:\Users\saleh\Downloads\CTFKareemSecurinetsTekup\poem> python.exe .\solver.py
Securinets{PSTEGANOIMSOWSAIDAMAZINGAZING}Needs cleaning ---> STEGANO IS AMAZING
Securinets{STEGANOISAMAZING}
Last updated
Was this helpful?