Skip to content

Instantly share code, notes, and snippets.

View murachue's full-sized avatar
🔟
binary

murachue

🔟
binary
View GitHub Profile
#!/usr/bin/ruby
#
# Stringクラスにxor(^)を追加してみるテスト。主にCTF用?
#
class String
def ^(str)
sho = self
lon = str
sho, lon = lon, sho if sho.size > lon.size