码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • picoCTF - Day 1 - Warm up


    Obedient Cat

    Overview

    • Category: General Skills
    • Points: 5

    在这里插入图片描述

    Solution

    First download the file, it has no extension associated.
    在这里插入图片描述
    Let’s see what kind of file it is using file command.

    file flag
    
    • 1

    It’s ascii.
    在这里插入图片描述
    cat to obtain flag.

    cat flag
    
    • 1

    在这里插入图片描述
    flag: picoCTF{s4n1ty_v3r1f13d_28e8376d}

    Mod 26

    Overview

    • Category: Cryptography
    • Points: 10
      在这里插入图片描述

    Solution

    Basic rot 13 cipher. Go to https://rot13.com/ to obtain flag.

    在这里插入图片描述
    flag: picoCTF{next_time_I'll_try_2_rounds_of_rot13_TLcKBUdK}

    Python Wrangling

    Overview

    • Category: General Skills
    • Points: 10
      在这里插入图片描述

    Solution

    First download all three files.

    在这里插入图片描述
    After checking the python code, it looks like the script can decode the encoded flag using the password file.

    Run the python script as there’s usage string.
    在这里插入图片描述
    Pretty straight forward now.

    # copy the password string
    cat pw.txt
    
    # run the script and paste in the password
    python ende.py -d flag.txt.en
    
    • 1
    • 2
    • 3
    • 4
    • 5

    在这里插入图片描述
    flag: picoCTF{4p0110_1n_7h3_h0us3_dbd1bea4}

    Wave a flag

    Overview

    • Category: General Skills
    • Points: 10
      在这里插入图片描述

    Solution

    First download the file.

    It’s elf executable.
    在这里插入图片描述
    Run it.

    chmod +x warm
    ./warm
    
    • 1
    • 2

    在这里插入图片描述
    Looks like the flag should be in the help info.

    ./warm -h
    
    • 1

    在这里插入图片描述
    flag: picoCTF{b1scu1ts_4nd_gr4vy_18788aaa}

    information

    Overview

    • Category: Forensics
    • Points: 10

    在这里插入图片描述

    Solution

    First download the file. It’s a jpg file. Must use one of the image meta data manipulation tools to check the file.

    exiftool cat.jpg
    
    • 1

    This License file looks suspicious. Might be base64 encoded string.
    在这里插入图片描述

    Decode it.

    echo -n 'cGljb0NURnt0aGVfbTN0YWRhdGFfMXNfbW9kaWZpZWR9' | base64 -d
    
    • 1

    在这里插入图片描述
    flag: picoCTF{the_m3tadata_1s_modified}

    Nice netcat…

    Overview

    • Category: General Skills
    • Points: 15

    在这里插入图片描述

    Solution

    Connect to the server using the command and see.

    nc mercury.picoctf.net 22902
    
    • 1

    Looks like ascii numbers. Do a string manipulation and convert them to letters.
    在这里插入图片描述
    Concatenate into one line. Good that they have extra space for us.

    nc mercury.picoctf.net 22902 | tr -d '\n' | tee flag.ascii
    
    • 1

    在这里插入图片描述

    Go to https://codebeautify.org/ascii-to-text to get the flag.

    在这里插入图片描述
    flag: picoCTF{g00d_k1tty!_n1c3_k1tty!_d3dfd6df}

    Summary

    Day 1 out. Pretty straight forward and easy, hence warm up. Tomorrow we’re going to be facing harder ones involving reverse engineering problems. Game’s on.

  • 相关阅读:
    JS高级(三):严格模式、闭包、递归、深拷贝和浅拷贝
    C#控制台连接Mysql数据库,有配置数据库连接字符串的配置文件
    【进程 进程表】页表通常存在PCB中
    【C++】STL——priority_queue的使用及模拟实现
    35-SpringBoot 短信验证码接口使用
    结构体、枚举、位段、联合体详解
    【PyTorchVideo教程02】快速安装PyTorchVideo 采用 yolov5、slowfast、deepsort对学生课堂行为进行检测
    基于微信电器家电商城小程序系统设计与实现 开题报告
    js如何显示input输入的文字的个数
    springboot 整合redis 延迟消息功能
  • 原文地址:https://blog.csdn.net/heisejiuhuche/article/details/126613822
  • 最新文章
  • 【JVM】编译执行与解释执行的区别是什么?JVM 使用哪种方式?
    用 Hashids 优雅解决 C 端自增 ID 暴露问题
    V8引擎 精品漫游指南--Ignition篇(上) 指令 栈帧 槽位 调用约定 内存布局 基础内容
    LLVM Pass快速入门(四):代码插桩
    milkup:桌面端 markdown AI续写和即时渲染
    基于项目工程构建SBOM(软件物料清单)的研究
    鸿蒙应用开发UI基础第二节:鸿蒙应用程序框架核心解析与实操
    .NET 中如何快速实现 List 集合去重?
    扣子Coze实战:从0到1打造抖音+小红书热点监控智能体
    浅谈数据访问层
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
小工具 小游戏
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1

京公网安备 11010502049817号