会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bumper
Death is not the end, forgetting is.
博客园
首页
新随笔
联系
订阅
管理
2024年1月24日
SQL入门
摘要: SQL入门 基础结构 primary key (主键) 橙色 foreign key (外键) 绿色 创建资料库 CREATE DATABASE `sql_tutorial`; --创建资料库 SHOW DATABASES; --查看资料库 DROP DATABASE `sql_tutorial`;
阅读全文
posted @ 2024-01-24 21:37 bumper
阅读(108)
评论(0)
推荐(0)
2023年9月15日
加密通信
摘要: 加密通信 服务端: # 导入 socket 模块 import socket # 定义异或加密函数,输入明文和密钥,返回加密后的密文 def xor_encrypt(plaintext, key): # 将明文和密钥转换为二进制 plaintext = plaintext.encode() key
阅读全文
posted @ 2023-09-15 21:46 bumper
阅读(97)
评论(0)
推荐(0)
永恒之蓝漏洞的利用
摘要: 永恒之蓝漏洞的利用 一、实验前准备 首先关闭win7的防火墙,开启445端口,并且攻击机(kali)和靶机(win7)可以互相ping通。 二、实验过程 使用kali打开msfconsole,使用它先进行win7靶机的445端口扫描,检查其是否打开,然后我们搜索ms17-010模块。 这里我们可以得
阅读全文
posted @ 2023-09-15 18:39 bumper
阅读(530)
评论(0)
推荐(0)
2023年8月18日
python初阶语法
摘要: # python基础语法 长文警告!!!本文适合初学py的小白阅读(根据需要进行跳转)。 ### 输出函数print() ```python #输出数字 print (98.5) #输出字符串 print ("Hello, clovershrub") print('hello,world') #输出
阅读全文
posted @ 2023-08-18 12:22 bumper
阅读(614)
评论(2)
推荐(0)
2023年8月4日
动态内存分配
摘要: # 动态内存分配 ## 头文件 ```c #include #include #include #include #include ``` ### malloc ```c int main() { //像内存申请10个整形的空间 int* p =(int*)malloc(10*sizeof(int)
阅读全文
posted @ 2023-08-04 12:30 bumper
阅读(44)
评论(0)
推荐(0)
结构体
摘要: # 结构体 ## 头文件 ```c #include #include ``` ### 声明结构体 ```c //声明一个学生类型,是想过学生类型来创建学生变量 //描述学生:属性-名字+电话+性别+年龄 struct Stu { char name[20]; char tele[12]; char
阅读全文
posted @ 2023-08-04 12:20 bumper
阅读(31)
评论(0)
推荐(0)
指针进阶(C语言)
摘要: # 指针进阶 ## 头文件 ```c #include #include #include ``` ### 字符指针 ```c int main() { //字符指针 char arr1[]="abcdef"; char arr2[]="abcdef"; char* p1="abcdef"; cha
阅读全文
posted @ 2023-08-04 11:59 bumper
阅读(39)
评论(0)
推荐(0)
2023年7月31日
第一篇blog
摘要: 如题。
阅读全文
posted @ 2023-07-31 11:58 bumper
阅读(22)
评论(1)
推荐(1)
公告