Git Product home page Git Product logo

ctf-chall's People

Contributors

zerobyte-id-bak avatar

Stargazers

 avatar  avatar

Forkers

qnetics

ctf-chall's Issues

#tool request ?

Tools for Crypto/MorseCode

script :

A='._'
B='_...'
C='_._.'
D='_..'
E='.'
F='.._.'
G='__.'
H='....'
I='..'
J='.___'
K='_._'
L='._..'
M='__'
N='_.'
O='___'
P='.__.'
Q='__._'
R='._.'
S='...'
T='_'
U='.._'
V='..._'
W='.__'
X='_.._'
Y='_.__'
Z='__..'
zero	='_____'
one		='.____'
two		='..___'
three	='...__'
four	='...._'
five	='.....'
six		='_....'
seven	='__...'
eight	='___..'
nine	='____.'
morse_code="_... . ._.. ._ .___ ._ ._. _._. _ .._. / _... ._ ._. . _. __. / __.. . ._. ___ _... _.__ _ . / .. _. .. / _. ._ __ ._ _. _.__ ._ / __ ___ ._. ... . / _._. ___ _.. ."
print("Encoded Morse : %s" % format(morse_code))
text=morse_code.split(" ")
morse_decode=""
for i in text:
	if i == A:
		morse_decode+='A'
	elif i == B:
		morse_decode+='B'
	elif i == C:
		morse_decode+='C'
	elif i == D:
		morse_decode+='D'
	elif i == E:
		morse_decode+='E'
	elif i == F:
		morse_decode+='F'
	elif i == G:
		morse_decode+='G'
	elif i == H:
		morse_decode+='H'
	elif i == I:
		morse_decode+='I'
	elif i == J:
		morse_decode+='J'
	elif i == K:
		morse_decode+='K'
	elif i == L:
		morse_decode+='L'
	elif i == M:
		morse_decode+='M'
	elif i == N:
		morse_decode+='N'
	elif i == O:
		morse_decode+='O'
	elif i == P:
		morse_decode+='P'
	elif i == Q:
		morse_decode+='Q'
	elif i == R:
		morse_decode+='R'
	elif i == S:
		morse_decode+='S'
	elif i == T:
		morse_decode+='T'
	elif i == U:
		morse_decode+='U'
	elif i == V:
		morse_decode+='V'
	elif i == W:
		morse_decode+='W'
	elif i == X:
		morse_decode+='X'
	elif i == Y:
		morse_decode+='Y'
	elif i == Z:
		morse_decode+='Z'
	elif i == zero:
		morse_decode+='0'
	elif i == one:
		morse_decode+='1'
	elif i == two:
		morse_decode+='2'
	elif i == three:
		morse_decode+='3'
	elif i == four:
		morse_decode+='4'
	elif i == five:
		morse_decode+='5'
	elif i == six:
		morse_decode+='6'
	elif i == seven:
		morse_decode+='7'
	elif i == eight:
		morse_decode+='8'
	elif i == nine:
		morse_decode+='9'
	else:
		morse_decode+=i
print("Decoded Morse : %s" % format(morse_decode))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.