Code Monkey home page Code Monkey logo

ctf-crpyto-part's Introduction

CTF-CRPYTO-PART

加密相关例题的学习过程记录分享

分析密文的的思路:

判断进制

  1. 是否值最大为7, 则为八进制编码 => 转ascii处理
  2. 最大127, 则为10进制 => 转ascii处理
  3. x 数字0-9 a-f, 则为16进制数

判断编码:

  1. unicode: \u002c
    (

=> \U[Hex] \U+[Hex] => 直接chr(int('002c', 16))解就好, 本身python3就是unicode编码

=> &$x[Hex]; &#[Dec]; => 放html打开 )

  1. base64 家族
  2. url编码 => 直接放浏览器输入栏中

判断加密

(单表替换加密)

  1. 摩斯密码 => 密码表
  2. 凯撒密码 => 正常选择, ROT-13, 变异凯撒(分析映射), 词频分析(工具软件)
  3. 培根加密 => 密码表

(多表替换加密)

  1. 维吉尼亚密码 => 会给密文 和 秘钥

分组

  1. 栅栏加密

hash

  1. MD5

技巧

  1. 图片文件可以下载下来, 然后用strings 去打开看内容, 一般末尾会有特别的值
  2. 网站题, 看html源码, 看请求响应的响应头, 注意会话信息
  3. 右键文件的属性可能会有一些信息

ctf-crpyto-part's People

Contributors

rao2701482 avatar

Watchers

James Cloos avatar  avatar

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.