Giter Club home page Giter Club logo

ctf-cryptotool's Introduction

CTF-CryptoTool

MIT License Twitter Follow GitHub followers

CTF-CryptoTool is a tool written in python, for breaking crypto text of CTF challenges. It tries to decode the cipher by bruteforcing it with all known cipher decoding methods easily. Also works for the cipher which does not have a key.

Known Ciphers Known Encodings Known Obfuscator
Affine Cipher Base64 Brainfuck
Ceaser Cipher Base32 JSFuck
Vigenere Cipher Base85 Ook
Autokey Cipher Binary
Atbash Cipher Octal
Gronsfeld Cipher Hex
Railfence Cipher Morse
Keyboard Shift Rot
Morbit Cipher Base58
Chuck Norris Unary Code Base91

Screenshots

CTF-CryptoTool

Installation

This tool will run on python3

git clone https://github.com/karma9874/CTF-CryptoTool.git
cd CTF-CryptoTool 
pip3 install -r requirements.txt

Usage

Just throw the cipher to it

python3 decoder.py 
Enter the text  : Feed the cipher text
Enter Key       : Enter key if you know any (optional)
Enter flag 	    : Enter some letters of the flag if you know (optional)
				Eg: While playing picoCTF you can enter the flag as picoCTF so it can match that text with the ouputs otherwise you may get much more bogus strings   	

Reference

python_cryptanalysis

ctf-cryptotool's People

Contributors

iqno avatar karma9874 avatar napuh avatar pyth3rex avatar r3yc0n1c avatar teamdarkarmy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ctf-cryptotool's Issues

Tool not working

Hello! I'm not getting anything when trying your example text "nGmni Tskcxipo esdskkxgmejve". The output is:

ic (0.043076923076923075, 26)
Traceback (most recent call last):
  File "/root/CTF-CryptoTool/decoder.py", line 74, in <module>
    if s[0] == s[4]:
IndexError: list index out of range

In decoder.py,

line 73:	s = string.split(' ')
line 74:	if s[0] == s[4]:

I think you should check the length first to avoid IndexError.

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.