当前位置: 首页 > news >正文

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

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

cat flag

在这里插入图片描述
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

在这里插入图片描述
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

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

./warm -h

在这里插入图片描述
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

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

Decode it.

echo -n 'cGljb0NURnt0aGVfbTN0YWRhdGFfMXNfbW9kaWZpZWR9' | base64 -d

在这里插入图片描述
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

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

在这里插入图片描述

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.

相关文章:

  • 前端面试题之组件
  • 自己动手写编译器:词法解析的系统化研究
  • 【程序员面试金典】01.02. 判定是否互为字符重排
  • go实现剑指offer
  • 【Go-Lua】Golang嵌入Lua代码——gopher-lua
  • yolov5+shufflenet轻量化目标检测
  • 【BurpSuite】插件开发学习之J2EEScan(上)-被动扫描
  • java计算机毕业设计企业公开招聘系统源码+数据库+系统+lw文档+mybatis+运行部署
  • 赛事开源Baseline参考目录格式
  • C++设计模式之Bridge桥模式
  • Kibana-8.4.0-Linux安装
  • @hook扩展分析
  • 利用 zabbix 监控服务端口
  • FastAPI 学习之路(二十九)使用(哈希)密码和 JWT Bearer 令牌的 OAuth2
  • 【愚公系列】2022年08月 微信小程序-纵向和横向选项卡功能实现
  • -------------------- 第二讲-------- 第一节------在此给出链表的基本操作
  • 分享的文章《人生如棋》
  • 2017 年终总结 —— 在路上
  • Hibernate【inverse和cascade属性】知识要点
  • Java新版本的开发已正式进入轨道,版本号18.3
  • Spring Cloud Alibaba迁移指南(一):一行代码从 Hystrix 迁移到 Sentinel
  • 规范化安全开发 KOA 手脚架
  • 利用DataURL技术在网页上显示图片
  • 聊聊springcloud的EurekaClientAutoConfiguration
  • 爬虫进阶 -- 神级程序员:让你的爬虫就像人类的用户行为!
  • 前端js -- this指向总结。
  • 前端相关框架总和
  • 手机端车牌号码键盘的vue组件
  • 智能合约Solidity教程-事件和日志(一)
  • #我与Java虚拟机的故事#连载14:挑战高薪面试必看
  • #我与Java虚拟机的故事#连载15:完整阅读的第一本技术书籍
  • (16)UiBot:智能化软件机器人(以头歌抓取课程数据为例)
  • (pojstep1.3.1)1017(构造法模拟)
  • (差分)胡桃爱原石
  • (附源码)ssm考生评分系统 毕业设计 071114
  • (每日持续更新)jdk api之FileReader基础、应用、实战
  • (十八)devops持续集成开发——使用docker安装部署jenkins流水线服务
  • (转)Scala的“=”符号简介
  • (转)菜鸟学数据库(三)——存储过程
  • .dat文件写入byte类型数组_用Python从Abaqus导出txt、dat数据
  • .NET 6 在已知拓扑路径的情况下使用 Dijkstra,A*算法搜索最短路径
  • .NET Core 项目指定SDK版本
  • .Net Memory Profiler的使用举例
  • .net mvc部分视图
  • .NET使用HttpClient以multipart/form-data形式post上传文件及其相关参数
  • /etc/skel 目录作用
  • @synthesize和@dynamic分别有什么作用?
  • @Valid和@NotNull字段校验使用
  • [ Algorithm ] N次方算法 N Square 动态规划解决
  • [04]Web前端进阶—JS伪数组
  • [2015][note]基于薄向列液晶层的可调谐THz fishnet超材料快速开关——
  • [AMQP Connection 127.0.0.1:5672] An unexpected connection driver error occured
  • [Android]使用Git将项目提交到GitHub
  • [C++]AVL树怎么转
  • [flask] flask的基本介绍、flask快速搭建项目并运行