User
Write something
Hack With Us: Weekly Stream is happening in 4 days
WEEKDAY CHALLENGE: Image Search
⚠️!!SPOILERS IN COMMENTS!!⚠️ ⚠️!!SPOILERS IN COMMENTS!!⚠️ ⚠️!!SPOILERS IN COMMENTS!!⚠️ 🔑 KEY RULE: Upload your answer in PDF only, raw spoilers will be deleted. PS: Don't forget to add comments in your code. ===== On November 4th, 2001, Google launched its image search, allowing people to find images using search terms. In this challenge, you will imitate the image search. Given an array of image names and a search term, return an array of image names containing the search term. - Ignore the case when matching the search terms. - Return the images in the same order they appear in the input array. Your Code Must Pass All 4 Tests: 1. image_search(["dog.png", "cat.jpg", "parrot.jpeg"], "dog") should return ["dog.png"]. 2. image_search(["Sunset.jpg", "Beach.png", "sunflower.jpeg"], "sun") should return ["Sunset.jpg", "sunflower.jpeg"]. 3. image_search(["Moon.png", "sun.jpeg", "stars.png"], "PNG") should return ["Moon.png", "stars.png"]. 4. image_search(["cat.jpg", "dogToy.jpeg", "kitty-cat.png", "catNip.jpeg", "franken_cat.gif"], "Cat") should return ["cat.jpg", "kitty-cat.png", "catNip.jpeg", "franken_cat.gif"]. ===== Goodluck. ~ aScriptKiddie
2
0
WEEKDAY CHALLENGE: Image Search
LIVESTREAM CHALLENGE: Symmetric Ciphers
⚠️!!SPOILERS IN COMMENTS!!⚠️ ⚠️!!SPOILERS IN COMMENTS!!⚠️ ⚠️!!SPOILERS IN COMMENTS!!⚠️ 🔑 KEY RULE: Upload your answer in PDF only, raw spoilers will be deleted. PS: Don't forget to add comments in your code. ===== For today's livestream we will be solving this Capture The Flag. This is a Cryptographic Challenge. We'll get into the details of how Symmetric Ciphers work and why it's important for you to learn to become an ethical hacker. HERE'S THE CAPTURE THE FLAG Your more then welcome to attempt solving it before the livestream. ===== Goodluck. ~ aScriptKiddie
LIVESTREAM CHALLENGE: Symmetric Ciphers
WEEKDAY CHALLENGE: P@ssw0rd Str3ngth!
⚠️!!SPOILERS IN COMMENTS!!⚠️ ⚠️!!SPOILERS IN COMMENTS!!⚠️ ⚠️!!SPOILERS IN COMMENTS!!⚠️ 🔑 KEY RULE: Upload your answer in PDF only, raw spoilers will be deleted. PS: Don't forget to add comments in your code. ===== Given a password string, return "weak", "medium", or "strong" based on the strength of the password. A password is evaluated according to the following rules: - It is at least 8 characters long. - It contains both uppercase and lowercase letters. - It contains at least one number. - It contains at least one special character from this set: !, @, #, $, %, ^, &, or *. Return "weak" if the password meets fewer than two of the rules. Return "medium" if the password meets 2 or 3 of the rules. Return "strong" if the password meets all 4 rules. HERE'S YOUR TERMINAL Your code should pass all this tests: 1. check_strength("123456") should return "weak". 2. check_strength("pass!!!") should return "weak". 3. check_strength("Qwerty") should return "weak". 4. check_strength("PASSWORD") should return "weak". 5. check_strength("PASSWORD!") should return "medium". 6. check_strength("PassWord%^!") should return "medium". 7. check_strength("qwerty12345") should return "medium". 8. check_strength("S3cur3P@ssw0rd") should return "strong". 9. check_strength("C0d3&Fun!") should return "strong". ===== Goodluck. ~ aScriptKiddie
WEEKDAY CHALLENGE: P@ssw0rd Str3ngth!
WEEKDAY CHALLENGE: Spam Detector
⚠️!!SPOILERS IN COMMENTS!!⚠️ ⚠️!!SPOILERS IN COMMENTS!!⚠️ ⚠️!!SPOILERS IN COMMENTS!!⚠️ 🔑 KEY RULE: Upload your answer in PDF only, raw spoilers will be deleted. PS: Don't forget to add comments in your code. ===== Given a phone number in the format "+A (BBB) CCC-DDDD", where each letter represents a digit as follows: - "A" represents the country code and can be any number of digits. - "BBB" represents the area code and will always be three digits. - "CCC" and "DDDD" represent the local number and will always be three and four digits long, respectively. Determine if it's a spam number based on the following criteria: - The country code is greater than 2 digits long or doesn't begin with a zero (0). - The area code is greater than 900 or less than 200. - The sum of first three digits of the local number appears within last four digits of the local number. - The number has the same digit four or more times in a row (ignoring the formatting characters). HERE'S YOUR TERMINAL Your Code Should Pass The Following Tests: 1. is_spam("+0 (200) 234-0182") should return False. 2. is_spam("+091 (555) 309-1922") should return True. 3. is_spam("+1 (555) 435-4792") should return True. 4. is_spam("+0 (955) 234-4364") should return True. 5. is_spam("+0 (155) 131-6943") should return True. 6. is_spam("+0 (555) 135-0192") should return True. 7. is_spam("+0 (555) 564-1987") should return True. 8. is_spam("+00 (555) 234-0182") should return False. ===== Goodluck. ~ aScriptKiddie
WEEKDAY CHALLENGE: Spam Detector
WEEKDAY CHALLENGE: RSA Modular Exponentiation
⚠️!!SPOILERS IN COMMENTS!!⚠️ ⚠️!!SPOILERS IN COMMENTS!!⚠️ ⚠️!!SPOILERS IN COMMENTS!!⚠️ 🔑 KEY RULE: Upload your answer in PDF only, raw spoilers will be deleted. PS: Don't forget to add comments in your code. ===== All operations in RSA involve modular exponentiation. Modular exponentiation is an operation that is used extensively in cryptography and is normally written like: 210mod 17210mod17 You can think of this as raising some number to a certain power (210=1024210=1024), and then taking the remainder of the division by some other number (1024mod 17=41024mod17=4). In Python there's a built-in operator for performing this operation: pow(base, exponent, modulus). In RSA, modular exponentiation, together with the problem of prime factorisation, helps us to build a "trapdoor function". This is a function that is easy to compute in one direction, but hard to do in reverse unless you have the right information. It allows us to encrypt a message, and only the person with the key can perform the inverse operation to decrypt it. To grab the flag, find the solution to 10117mod 2266310117mod22663 HERE'S YOUR TERMINAL (if applicable) ===== Goodluck. ~ aScriptKiddie
WEEKDAY CHALLENGE: RSA Modular Exponentiation
1-30 of 51
powered by
The Black Widow Community
skool.com/bree-1280
Get Paid To Hunt Bounties, Solve CTF's & Compete For Gadgets.
It's all here.
Want to become an ethical hacker? We built this community for you.
Build your own community
Bring people together around your passion and get paid.
Powered by