Forwarded from mhdp23 پابلیک سیو مسیج
عجب ctfهایی اسماعیل. عجب ctfهایی!!!
توی این سوال باید دوتا عکس رو میگرفتی و با هم xor میکردی تا عکس اصلی و فلگ به دست بیاد
xor رو کسایی که مدار منطقی یا الگوریتم و امثالهم رو خوب خوندن باید به یاد بیارنش.
I've hidden two cool images by XOR with the same secret key so you can't see them! This challenge requires performing a visual XOR between the RGB bytes of the two images - not an XOR of all the data bytes of the files.
توی این سوال باید دوتا عکس رو میگرفتی و با هم xor میکردی تا عکس اصلی و فلگ به دست بیاد
xor رو کسایی که مدار منطقی یا الگوریتم و امثالهم رو خوب خوندن باید به یاد بیارنش.
I've hidden two cool images by XOR with the same secret key so you can't see them! This challenge requires performing a visual XOR between the RGB bytes of the two images - not an XOR of all the data bytes of the files.
Forwarded from mhdp23 پابلیک سیو مسیج
کد مربوط بهش. البته این شرط هم اندازه بودن عکسها رو هم داره ولی داخل این سوال نیازی نمیشد.
from PIL import Image
img1 = Image.open("img1.png")
img2 = Image.open("img2.png")
assert img1.size == img2.size
pixels1 = list(img1.getdata())
pixels2 = list(img2.getdata())
result_pixels = [
(r1 ^ r2, g1 ^ g2, b1 ^ b2)
for (r1, g1, b1) , (r2, g2, b2) in zip(pixels1, pixels2)
]
result_img = Image.new("RGB", img1.size)
result_img.putdata(result_pixels)
result_img.save("xor_result.png")
Forwarded from Bit Orbit 🪐 (Arya)
This media is not supported in your browser
VIEW IN TELEGRAM
این TUIOS خیلی جالب بود،
توی ترمینال میتونی یکسری window هایی درست کنی و روی هر کدوم یکسری کامند خاص ران کنی،
شبیه i3 هست ولی کلا توی ترمیناله.
https://github.com/Gaurav-Gosain/tuios
توی ترمینال میتونی یکسری window هایی درست کنی و روی هر کدوم یکسری کامند خاص ران کنی،
شبیه i3 هست ولی کلا توی ترمیناله.
https://github.com/Gaurav-Gosain/tuios
❤1🔥1
lab
Video
This media is not supported in your browser
VIEW IN TELEGRAM
اصل این ویدیو این بود
شلیک تیر اون وسطیارو نداره
شلیک تیر اون وسطیارو نداره
❤1