owefsad 的博客


  • Home

  • Tags

  • Categories

  • Archives

Java Jsch组件研究

Posted on 2022-06-30 | In 安全研究
Words count in article: 536 | Reading time ≈ 2

JSch 是 SSH2 协议在 Java 中的一种实现,通过 JSch 可以连接到任意一台 SSHD 服务器,实现远程命令执行、SSH会话、端口转发、X11 转发、文件操作等功能。

Read more »

从 0 开始在 Java 项目中使用 gRPC

Posted on 2022-02-07 | In 开发
Words count in article: 1.9k | Reading time ≈ 9

本文将使用 gRPC 作为集成技术,实现一个基于 Java 的数据采集与上报的解决方案。解决方案是一个模拟洞态 IAST Agent 上报采集数据的应用程序,它通过模拟生成相关的数据,然后上报至 Server 端。由于本文的重点是介绍 gRPC 如何在 Java 项目中使用,我们将不关注业务逻辑、数据持久性或客户端UI 等内容。

Read more »

Github Actions中元数据的语法.md

Posted on 2022-01-04 | In DevSecOps
Words count in article: 222 | Reading time ≈ 1

简介

Read more »

洞态IAST-自动检测S2-007

Posted on 2021-04-24 | In DevSecOps
Words count in article: 694 | Reading time ≈ 2

洞态IAST是一款交互式安全测试工具,关于IAST的介绍可以查看官方文档,本文为使用IAST进行漏洞复现系列的首篇。

Read more »

洞态IAST-自动检测S2-001

Posted on 2021-04-16 | In DevSecOps
Words count in article: 1.3k | Reading time ≈ 6

洞态IAST是一款交互式安全测试工具,关于IAST的介绍可以查看官方文档,本文为使用IAST进行漏洞复现系列的首篇。

Read more »

Django之优雅的使用分页

Posted on 2021-02-04 | In 开发
Words count in article: 1.3k | Reading time ≈ 5

Django提供了Paginator和ListView两个分页实现类,Paginator实现类支持设置每页大小、获取指定页码的数据,对页码的格式和范围做了容错处理,避免实现分页时编写重复的代码;ListView是对Paginator实现类的封装,使用queryset和paginate_by变量调用Paginator实现类,实现列表视图的分页。

Django中的默认分页可满足大部分的场景,但也存在一些不足,本文将分析Django中分页的实现原理、不足及改进方法。

Read more »

Django之优雅的使用logging

Posted on 2021-01-31 | In 开发
Words count in article: 1.6k | Reading time ≈ 6

Django默认使用python内置的logging模块来记录日志,其内置的日志处理模块实现了常用的日志处理功能,帮助开发者快速的使用日志功能,让开发者专注于编写业务逻辑代码,本文介绍如何在Django中优雅的处理日志。

Read more »

DjangoRestFramework认证之自定义TokenAuthentication实现CSRF防御

Posted on 2020-12-21 | In 开发
Words count in article: 626 | Reading time ≈ 2

DRF提供了BasicAuthentication、SessionAuthentication、SessionAuthentication、TokenAuthentication、RemoteUserAuthentication及自定义Authentication,用于API接口的身份验证。其中,SessionAuthentication默认带有CSRF防御,其他验证方法均未做CSRF防御,本文记录如何在其他验证方法中实现CSRF防御。

Read more »

【转载】持续集成服务Travis之github集成CI

Posted on 2020-10-19 | In DevSecOps
Words count in article: 1.1k | Reading time ≈ 3

软件开发中,编写代码只占很小的一部分,大部分时间是用来编译、测试和部署代码;为了提高软件开发的效率,出现了很多构建和测试的工具,Travis是众多工具中的一个,可以与github无缝集成实现构建、测试与部署。

Read more »

【持续更新】Java代码开发规范之重构

Posted on 2020-10-18 | In 开发
Words count in article: 752 | Reading time ≈ 2

编写高质量的代码是一种艺术,本文持续记录各种代码优化的思路,不断提高代码的质量

Read more »
123…10

owefsad

91 posts
6 categories
175 tags
GitHub E-Mail
© 2023 owefsad | Site words total count: 118.6k
Powered by Hexo
|
Theme — NexT.Mist v5.1.4
0%