摘要: C#代码 using System; using System.IO; using System.Net; using System.Text; using System.Security.Cryptography; class Program { static void Main() { stri 阅读全文
posted @ 2023-12-30 15:21 KittySmith 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 假设计算机存取一个数用8位表示 按位取反要考虑符号位(最高位为0则正,反之则为负) 5=00000101 取反 11111010 但是符号位发生改变,计算机中数的存储都是用补码进行存储的,正数和0的补码是其本身 负数补码对应的负数的值是符号位不变,其余位置取反 再+1 进行+1操作会影响符号位的变化 阅读全文
posted @ 2022-12-27 17:21 KittySmith 阅读(466) 评论(0) 推荐(0) 编辑
摘要: 纯手写实现的md5信息摘要算法 github地址如下 https://github.com/kittysmith5/dgst/blob/main/md5 python3版本代码 #!/usr/bin/python3 # _*_ encoding: utf-8 _*_ """ @File : my_m 阅读全文
posted @ 2022-06-07 00:09 KittySmith 阅读(262) 评论(2) 推荐(0) 编辑
摘要: npm config set registry https://registry.npm.taobao.org npm config set disturl https://npm.taobao.org/dist npm config set electron_mirror https://npm. 阅读全文
posted @ 2022-03-21 20:48 KittySmith 阅读(234) 评论(0) 推荐(0) 编辑
摘要: package com.barry.iputil.util; public class IPFormat { public static String toIPStr(Long LongIP) { if (LongIP <= 4_294_967_295L && LongIP >= 0L) { lon 阅读全文
posted @ 2022-03-03 12:38 KittySmith 阅读(56) 评论(0) 推荐(0) 编辑
摘要: # Unity C#代码入门 ## 1. 脚本基本结构 ### 1.1 unity生成的模板 ```csharp using System.Collections; using System.Collections.Generic; using UnityEngine; public class T 阅读全文
posted @ 2022-01-02 19:12 KittySmith 阅读(828) 评论(0) 推荐(0) 编辑
摘要: # Unity 2D 记录 ## 1. 环境配置 ### 1.1 下载安装unity hub和vs code 搜索unity hub 进行下载 https://unity.com/download 安装vs code https://unity.com/download >安装对应的插件: C#和u 阅读全文
posted @ 2021-12-31 17:20 KittySmith 阅读(64) 评论(0) 推荐(0) 编辑
摘要: element-ui导航菜单使用vue-router刷新后高亮显示不一致 vue怎么修改title呢 水平垂直居中代码 .login{ position: absolute; top: 20%; left: 0; right: 0; width: 360px; height: 310px; marg 阅读全文
posted @ 2021-12-18 16:04 KittySmith 阅读(27) 评论(0) 推荐(0) 编辑
摘要: # Java Fastjson Unserialize 题目地址: https://ctf.bugku.com/challenges/detail/id/339.html ## 1. 查看网页源代码 ```html ``` 可以看到点击登陆按钮提交后post方式 跳转到 /login 界面 这就是我 阅读全文
posted @ 2021-12-16 22:26 KittySmith 阅读(598) 评论(0) 推荐(0) 编辑
摘要: # Log4j2 漏洞题目 题目地址 https://ctf.bugku.com/challenges/detail/id/340.html?page=1 ## 二、攻击环境准备 需要一台linux云服务器,把kali内网穿透出去也行。 ==本教程只演示在centos7云服务器下的操作,其它平台请自 阅读全文
posted @ 2021-12-15 22:06 KittySmith 阅读(1153) 评论(0) 推荐(0) 编辑